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

Reply via email to