-- [ Picked text/plain from multipart/alternative ] hello, managed to install glibc2.3 and then reinstall glibc2.2 now hlds will run in RH 7.3 yet the code compiled with egcs no longer works? hlds quits with an error like could not get dll from hl_i386.so
forward to gcc 2.95 had to go back and read the wavelength tutorial again. "HL SDK v2.3 is not ANSI-C compliant, but GCC 2.95 is" using gcc-2.95.3 means hundred of errors like the one below. It is possible that someone has already worked through the HL SDK v2.3making it ANSI-C compliant? What I would give for a download link. Maybe if I start with SDK v2.2 and apply botmans ansi-c SDK_2_2_patches. Wonder is there a patch to go from HL SDK v2.2 to HL SDK v2.3 On 5/10/07, edman747 <[EMAIL PROTECTED]> wrote: > > Hi Jorge, thanks for your reply. > Found you wavelength article helpful. > > Am unable to install hlds on RH 7.3 > ./steam -command update -game valve -dir . > complains about not having glibc2.3 or above. > > Do I not need hlds installed? > > Cannot figure out how to install glibc2.3 without removing glibc2.2 and > that breaks the compiler. > > RH 7.3 is best for compiling HL But I will need another Linux VM to run > it? Like RH 9. > > RH 7.3 does not come with gcc2.95 > I think you are telling me I should google for a gcc2.95.x.xx.i386.rpmthat > installs to /usr/local. > and g++2.95 > or just download the sources and build it in /usr/local > > and update the Makefile > CC=g++295 > LDFLAGS=/usr/local/gcc295/ path to /2.95.3/libstdc++.a -lm > > Does this mean any 2.95 will work? ( 2.95.1 2.95.2 2.95.3) > Why choose a particular OS. IF any 2.95 works. > Debian 2.2 comes with 2.95.2 > Debian (WOODY) has 2.95.4 > http://www.voxgratia.org/docs/compilers.html > Yet all will have the problem with glibc2.3 and not be able to install > HLDS. > > ----------------------- > have installed gcc-2.95.3 here is the error I get compiling the unmodified > SDK/multiplayer/dlls > > /usr/local/gcc-2.95.3/bin/g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp > -Dstrnicmp=strncasecmp -DCLIENT_WEAPONS -w -mcpu=i486 -O1 -fPIC -I. > -I../engine -I../common -I../pm_shared -I../game_shared -o obj/airtank.o -c > airtank.cpp > In file included from weapons.h:18, > from airtank.cpp:19: > effects.h: In method `void CSprite::AnimateAndDie(float)': > effects.h:82: static_cast from `{unknown type}' to `void > (CBaseEntity::*)()' > effects.h: In method `void CBeam::LiveForTime(float)': > effects.h:171: object-dependent reference `SUB_Remove' can only be used in > a call > effects.h:171: to form a pointer to member function, say > `&CBaseEntity::SUB_Remove' > airtank.cpp: In method `void CAirtank::Spawn()': > airtank.cpp:61: static_cast from `{unknown type}' to `void > (CBaseEntity::*)(CBaseEntity *)' > airtank.cpp:62: static_cast from `{unknown type}' to `void > (CBaseEntity::*)()' > gmake: *** [obj/airtank.o] Error 1 > > any ideas? > > > On 5/8/07, Jorge Rodriguez < [EMAIL PROTECTED]> wrote: > > > > -- > > [ Picked text/plain from multipart/alternative ] > > http://articles.thewavelength.net/617/ > > > > Also, I recommend RH 7.3 for building HL1 binaries. You can find RH > > 7.3here: > > http://fr.rpmfind.net/linux/redhat/7.3/en/iso/i386/ 7.3 comes installed > > with > > GCC 2.96 by default. I used it to build TS just a short time ago and it > > worked like magic. Magic, I say. What made it even easier is that I > > installed it in a VM so I didn't actually have to ever burn a CD or even > > get > > out of my chair to mess with a computer. > > > > I wouldn't bother with egcs, that is an old fork of gcc and I think you > > will > > get better results with gcc 2.95. (They are ABI compatible.) You can get > > an > > unofficial, but clean-building (on Linux) version of HLSDK 2.3 here: > > http://metamod.sourceforge.net/files/sdk/ > > > > GL > > > > -- > > Jorge "Vino" Rodriguez > > -- > > > > _______________________________________________ > > 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

