RE: [hlds_linux] Linking Problem

2003-03-21 Thread Brian Davenport
You could also install the backwards compatablity files and it should work.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Udo Held
Sent: Friday, March 21, 2003 13:02
To: [EMAIL PROTECTED]
Subject: [hlds_linux] Linking Problem


Hi!

I'm currently working on getting the linux server running for Wormshl
3.0 (http://www.wormshl.com/).

I'm compiling the source on my homebox and I want to run it on another
box thats permanently online. I guess I linked it somehow against glibc
2.3. When I try to start the server I get the following error:


[EMAIL PROTECTED] hlds_l]$ ./hlds_run -game wormshl +port 27016 -norestart
Host_Init
Added packfile /home/anybody/wormshl/hlds_l/valve/pak0.pak (985 files)
Protocol version 46
Exe version 3.1.1.0
Exe build: 14:46:34 Jun 11 2002 (2056)
WON Auth Server
couldn't exec language.cfg
Server IP address 62.159.211.134:27016
LoadLibrary failed on
/home/anybody/wormshl/hlds_l/wormshl/dlls/wormshl_i386.so:
/lib/libc.so.6: version `GLIBC_2.3' not found (required by
/home/anybody/wormshl/hlds_l/wormshl/dlls/wormshl_i386.so)
Host_Error: Couldn't get DLL API from
/home/anybody/wormshl/hlds_l/wormshl/dlls/wormshl_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from
/home/anybody/wormshl/hlds_l/wormshl/dlls/wormshl_i386.so!


Could on help me please out and tell me how I have to change the
standard makefile for getting it work?

Regards
Udo Held
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Linking Problem

2003-03-21 Thread Udo Held
On Fri, Mar 21, 2003 at 04:31:19PM -0500, Brian Davenport wrote:
 You could also install the backwards compatablity files and it should work.

I don't know how I should do that. As for the Wormshl 2.1 Mod we are
planning to release it and the mod should run on all servers without any
extra installation. Here the current makefile(cut by the cpp..)

DLLNAME=wormshl
ARCH=i386
CC=gcc-2.91.66
DLL_SRCDIR=.
WPN_SHARED_SRCDIR=./wpn_shared
PM_SHARED_SRCDIR=../pm_shared
DLL_OBJDIR=$(DLL_SRCDIR)/obj
WPN_SHARED_OBJDIR=$(WPN_SHARED_SRCDIR)/obj
PM_SHARED_OBJDIR=$(PM_SHARED_SRCDIR)/obj
BASE_CFLAGS=-lm -Dstricmp=strcasecmp -D_strnicmp=strncasecmp
-Dstrnicmp=strncasecmp
CFLAGS=$(BASE_CFLAGS) -w -m486 -O1
CFLAGS=$(BASE_CFLAGS) -g
INCLUDEDIRS=-I. -I../engine -I../common -I../pm_shared
LDFLAGS=
SHLIBEXT=so
SHLIBCFLAGS=-fPIC
SHLIBLDFLAGS=-shared
DO_CC=$(CC) $(CFLAGS) $(SHLIBCFLAGS) $(INCLUDEDIRS) -o $@ -c $
$(DLL_OBJDIR)/%.o: $(DLL_SRCDIR)/%.cpp
$(DO_CC)
$(WPN_SHARED_OBJDIR)/%.o: $(WPN_SHARED_SRCDIR)/%.cpp
$(DO_CC)
$(PM_SHARED_OBJDIR)/%.o: $(PM_SHARED_SRCDIR)/%.c
$(DO_CC)
OBJ = \
$(DLL_OBJDIR)/animating.o \
loads of other objects
$(PM_SHARED_OBJDIR)/pm_shared.o
$(DLLNAME)_$(ARCH).$(SHLIBEXT) : neat $(OBJ)
$(CC) $(CFLAGS) $(SHLIBLDFLAGS) $(LDFLAGS) -o $@ $(OBJ)
neat:
-mkdir $(DLL_OBJDIR)
-mkdir $(WPN_SHARED_OBJDIR)
-mkdir $(PM_SHARED_OBJDIR)
clean:
-rm -f $(OBJ)
-rm -f $(DLLNAME)_$(ARCH).$(SHLIBEXT)
spotless: clean
-rm -r $(DLL_OBJDIR)
-rm -r $(WPN_SHARED_OBJDIR)
-rm -r $(PM_SHARED_OBJDIR)


I compiled it with debug infos and with the command clean.

TIA
Udo Held

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Udo Held
 Sent: Friday, March 21, 2003 13:02
 To: [EMAIL PROTECTED]
 Subject: [hlds_linux] Linking Problem


 Hi!

 I'm currently working on getting the linux server running for Wormshl
 3.0 (http://www.wormshl.com/).

 I'm compiling the source on my homebox and I want to run it on another
 box thats permanently online. I guess I linked it somehow against glibc
 2.3. When I try to start the server I get the following error:


 [EMAIL PROTECTED] hlds_l]$ ./hlds_run -game wormshl +port 27016 -norestart
 Host_Init
 Added packfile /home/anybody/wormshl/hlds_l/valve/pak0.pak (985 files)
 Protocol version 46
 Exe version 3.1.1.0
 Exe build: 14:46:34 Jun 11 2002 (2056)
 WON Auth Server
 couldn't exec language.cfg
 Server IP address 62.159.211.134:27016
 LoadLibrary failed on
 /home/anybody/wormshl/hlds_l/wormshl/dlls/wormshl_i386.so:
 /lib/libc.so.6: version `GLIBC_2.3' not found (required by
 /home/anybody/wormshl/hlds_l/wormshl/dlls/wormshl_i386.so)
 Host_Error: Couldn't get DLL API from
 /home/anybody/wormshl/hlds_l/wormshl/dlls/wormshl_i386.so!
 FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from
 /home/anybody/wormshl/hlds_l/wormshl/dlls/wormshl_i386.so!


 Could on help me please out and tell me how I have to change the
 standard makefile for getting it work?

 Regards
 Udo Held
 ___
 To unsubscribe, edit your list preferences, or view the list archives, please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux

 ___
 To unsubscribe, edit your list preferences, or view the list archives, please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux