• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling The Forgotten Server on debian, problem with compilation

majkel93q

New Member
Joined
Oct 17, 2010
Messages
4
Reaction score
0
When the compilation ends, this error is displayed:
Code:
/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_getspecific@@GLIBC_2.0'
/usr/bin/ld: note: 'pthread_getspecific@@GLIBC_2.0' is defined in DSO //lib/libpthread.so.0 so try adding it to the linker command line
//lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/root/trunk.r3840'
make: *** [all] Error 2
I reinstalled the system (debian 5) many times, but it doesn't give any effect and I searched in google, but google doesn't like me :(

What should I do?
 
Code:
/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_getspecific@@GLIBC_2.0'
/usr/bin/ld: note: 'pthread_getspecific@@GLIBC_2.0' is defined in DSO //lib/libpthread.so.0 so try adding it to the linker command line
//lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/root/trunk.r3840'
make: *** [all] Error 2

I did what you wrote, but still not working.

Wait...
When I added -lpthread in Makefile and next 'make' in terminal, -lpthread in makefile dissappear.


Holy shit its working. Thank you Fallen!!
 
Last edited:
Back
Top