Our mod has three linux .so's in its distribution, compiled with various
dependencies. The answer to your question is yes, you are using too new
of a gcc ;). I believe the valve sdk was originally said to compile with
some form of EGCS. Hey, look on the bright side, your server dlls will
use much less processing power than before... Just require denziens to
update their glib c :)
_____________________________________
Jeff 'Kuja' Katz
Leader, Digital Paintball
http://www.digitalpaintball.net
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Fisher
Sent: Saturday, July 12, 2003 9:48 AM
To: [EMAIL PROTECTED]
Subject: [hlcoders] Compiling and running dll (.so)
I am using the following:
SDK 2.3
gcc 2.95.2 with glibc-2.2 patch
RH 8.0
I am compiling the Ricochet dll with minor changes. I first compiled on
Windows, tested it and then prepared to port it over to Linux. After
compiling the ricochet dll and putting it on my own linux server, it
worked fine. Next, I put it on a friend's hosted server running on a
machine with SuSE 7.3. Upon game startup he received the following error
message:
L 07/07/2003 - 09:05:37: [META] ERROR: dll: Couldn't load game DLL
/home/hlserv2/hlds_l/ricochet/dlls/ricochet_i386.so: /lib/libc.so.6:
version `GLIBC_2.3' not found (required by
/home/hlserv2/hlds_l/ricochet/dlls/ricochet_i386.so)
L 07/07/2003 - 09:05:37: [META] ERROR: Failure to load game DLL;
exiting...
It was suggested by botman that I may be using '-static' argument when
linking the shared libraries but here is the section of the Makefile for
linking the shared libraries:
LDFLAGS=
SHLIBEXT=so
SHLIBCFLAGS=-fPIC
SHLIBLDFLAGS=-shared
DO_CC=$(CC) $(CFLAGS) $(SHLIBCFLAGS) $(INCLUDEDIRS) -o $@ -c $<
Anyone have any ideas? Am I using a too new version of gcc?
Thanks,
desNotes
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders