Raised This Month: $12 Target: $400
 3% 

Can't use Sys_* functions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 01-26-2023 , 15:23   Can't use Sys_* functions
Reply With Quote #1

Hello, I need to load/unload modules in the way it is done in the engine:
PHP Code:
CreateInterfaceFn createTestFn Sys_GetFactory("test"); 
But I can't use any function from tier1 interface as there is a conflict:

PHP Code:
/usr/bin/ld: /home/d/alliedmodders/hl2sdk-csgo/lib/linux/tier1_i486.a(interface.o): in function `CreateInterface':
interface.cpp:(.text+0x0): multiple definition of 
`CreateInterface'; _public_smsdk_ext.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: /home/d/alliedmodders/hl2sdk-csgo/lib/linux/tier1_i486.a(convar.o): warning: relocation in read-only section `.text'
/usr/bin/ldwarningcreating DT_TEXTREL in a shared object
clang
errorlinker command failed with exit code 1 (use -v to see invocation
Can somebody give me a tip how I can bypass this problem?
kadet.89 is offline
Send a message via Skype™ to kadet.89
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode