Quoting Stefan <[EMAIL PROTECTED]>:
hi
i am trying to compile a new binary for the linux build of our mod but
stumble over an error while compiling which i cannot seem to get rid of.
the two boxes i use are both running suse linux (10.1 and 9.3) with gcc
3.4.4 and 4, i tried both on both boxes but couldnt get rid of the error.
seeing i couldnt get the new sdk code, merged with our own code, to work,
i tried the latest vanilla sdk code, which you get when creating a source
code only mod. yet this gave me the exact same error.
/usr/bin/gcc -o ./vcpm ./obj/vcpm/makefilecreator.o
./obj/vcpm/vprojtomake.o ./obj/vcpm/vcprojconvert.o
./obj/vcpm/public/characterset.o ./obj/vcpm/public/interface.o
./obj/vcpm/public/KeyValues.o ./obj/vcpm/public/utlbuffer.o
./obj/vcpm/public/utlsymbol.o
/usr/lib/gcc/i386-redhat-linux/3.4.3/libstdc++.a
/usr/lib/gcc/i386-redhat-linux/3.4.3/libgcc_eh.a -lm -ldl
-L/home/stefan/xerces/lib -lxerces-c ./bin/tier0_i486.so
./bin/vstdlib_i486.so
./obj/vcpm/public/utlsymbol.o(.text+0xad): In function
`CUtlFilenameSymbolTable::FindOrAddFileName(char const*)':
utlsymbol.cpp: undefined reference to `g_CountedStringPool'
./obj/vcpm/public/utlsymbol.o(.text+0xb2):utlsymbol.cpp: undefined
reference to `CCountedStringPool::ReferenceStringHandle(char const*)'
./obj/vcpm/public/utlsymbol.o(.text+0xc4):utlsymbol.cpp: undefined
reference to `g_CountedStringPool'
./obj/vcpm/public/utlsymbol.o(.text+0xc9):utlsymbol.cpp: undefined
reference to `CCountedStringPool::ReferenceStringHandle(char const*)'
./obj/vcpm/public/utlsymbol.o(.text+0x18d): In function
`CUtlFilenameSymbolTable::FindFileName(char const*)':
utlsymbol.cpp: undefined reference to `g_CountedStringPool'
./obj/vcpm/public/utlsymbol.o(.text+0x192):utlsymbol.cpp: undefined
reference to `CCountedStringPool::FindStringHandle(char const*)'
./obj/vcpm/public/utlsymbol.o(.text+0x1a4):utlsymbol.cpp: undefined
reference to `g_CountedStringPool'
./obj/vcpm/public/utlsymbol.o(.text+0x1a9):utlsymbol.cpp: undefined
reference to `CCountedStringPool::FindStringHandle(char const*)'
./obj/vcpm/public/utlsymbol.o(.text+0x207): In function
`CUtlFilenameSymbolTable::String(void* const&, char*, int)':
utlsymbol.cpp: undefined reference to `g_CountedStringPool'
./obj/vcpm/public/utlsymbol.o(.text+0x210):utlsymbol.cpp: undefined
reference to `CCountedStringPool::HandleToString(unsigned short)'
./obj/vcpm/public/utlsymbol.o(.text+0x231):utlsymbol.cpp: undefined
reference to `g_CountedStringPool'
./obj/vcpm/public/utlsymbol.o(.text+0x23a):utlsymbol.cpp: undefined
reference to `CCountedStringPool::HandleToString(unsigned short)'
collect2: ld returned 1 exit status
make[1]: *** [vcpm] Error 1
make[1]: Leaving directory `/home/stefan/srcds/src/linux_sdk'
make: *** [vcpm] Error 2
i checked the code and found an extern g_CountedStringPool declaration,
but this one is not being defined anywhere in the sdk, yet it's being used.
any idea what that could be?
thx in advance
Stefan Bermig
You must only compile with GCC 3.4.1 and GCC Library 3.4.1 !
You may be compile GCC 3.4.1 from source. It's simple.
I can help you if you want.
Bombela.
(French)
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders