Re: [AOLSERVER] Problem with the compile
Perhaps you are linking with a tcl library that was not built with threads enabled? (need to specify --enable-threads when running the configure script when building tcl) -Elizabeth
[AOLSERVER] Problem with the compile
Hi all, I have problem with the compiling of Aolserver Version 3.5.1 on Suse 8.1: After typing make to compile the source code I get the output as following: nsthreadtest.o: In function `DumperThread': nsthreadtest.o(.text+0x7a6): undefined reference to `Tcl_GetMemoryInfo' nsthreadtest.o: In function `main': nsthreadtest.o(.text+0xb03): undefined reference to `pthread_create' nsthreadtest.o(.text+0xb6f): undefined reference to `pthread_join' libnsthread.so: undefined reference to `pthread_getspecific' libnsthread.so: undefined reference to `pthread_detach' libnsthread.so: undefined reference to `pthread_key_create' libnsthread.so: undefined reference to `pthread_attr_setstacksize' libnsthread.so: undefined reference to `pthread_sigmask' libnsthread.so: undefined reference to `pthread_mutex_trylock' libnsthread.so: undefined reference to `pthread_cond_timedwait' libnsthread.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status make[1]: *** [nsthreadtest] Error 1 make[1]: Leaving directory `/usr/local/src/aolserver/nsthread' make: *** [all] Error 1 Can please anybody tell me how to solve the problem? cheers Damon
Re: [AOLSERVER] Problem with the compile
What Tcl version do you have installed? You will need 8.4 I believe. If you have multiple versions of Tcl installed, also make sure you are picking up the correct version. --brett On Sun, 2002-12-29 at 17:01, Damon wrote: Hi all, I have problem with the compiling of Aolserver Version 3.5.1 on Suse 8.1: After typing make to compile the source code I get the output as following: nsthreadtest.o: In function `DumperThread': nsthreadtest.o(.text+0x7a6): undefined reference to `Tcl_GetMemoryInfo' nsthreadtest.o: In function `main': nsthreadtest.o(.text+0xb03): undefined reference to `pthread_create' nsthreadtest.o(.text+0xb6f): undefined reference to `pthread_join' libnsthread.so: undefined reference to `pthread_getspecific' libnsthread.so: undefined reference to `pthread_detach' libnsthread.so: undefined reference to `pthread_key_create' libnsthread.so: undefined reference to `pthread_attr_setstacksize' libnsthread.so: undefined reference to `pthread_sigmask' libnsthread.so: undefined reference to `pthread_mutex_trylock' libnsthread.so: undefined reference to `pthread_cond_timedwait' libnsthread.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status make[1]: *** [nsthreadtest] Error 1 make[1]: Leaving directory `/usr/local/src/aolserver/nsthread' make: *** [all] Error 1 Can please anybody tell me how to solve the problem? cheers Damon -- Brett Schwarz brett_schwarz AT yahoo.com