Hello! When I compile naviserver-4.99.4 the following error occures:
gcc -shared -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -pipe -fvisibility=hidden -m64 -I../include -I"/home/feri/tanul/include" -DHAVE_CONFIG_H -L../nsthread -L../nsd -L../nsdb -o libnsthread.so error.o master.o memory.o mutex.o cslock.o rwlock.o reentrant.o sema.o thread.o tls.o time.o pthread.o fork.o signal.o winthread.o -L/home/feri/tanul/lib -ltcl8.6 -ldl -lgcc_s -lieee -lm -Wl,--export-dynamic -L/home/feri/tanul/lib -Wl,-rpath,:/home/feri/tanul/lib gcc -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -pipe -fvisibility=hidden -m64 -I../include -I"/home/feri/tanul/include" -DHAVE_CONFIG_H -c -o nsthreadtest.o nsthreadtest.c /bin/rm -Rf nsthreadtest gcc -L../nsthread -L../nsd -L../nsdb -o nsthreadtest nsthreadtest.o -lpthread libnsthread.so -L/home/feri/tanul/lib -ltcl8.6 -ldl -lgcc_s -lieee -lm -Wl,--export-dynamic -L/home/feri/tanul/lib -Wl,-rpath,:/home/feri/tanul/lib nsthreadtest.o: In function `Pthread': nsthreadtest.c:(.text+0x19): undefined reference to `Ns_TlsSet' nsthreadtest.c:(.text+0x25): undefined reference to `Ns_MutexLock' nsthreadtest.c:(.text+0x47): undefined reference to `Ns_CondWait' nsthreadtest.c:(.text+0x5d): undefined reference to `Ns_MutexUnlock' nsthreadtest.c:(.text+0x67): undefined reference to `Ns_MasterLock' ...... The compilation environment is: $ uname -a Linux archlap.aneder.bel 3.2.5-1-ARCH #1 SMP PREEMPT Tue Feb 7 08:34:36 CET 2012 x86_64 Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz GenuineIntel GNU/Linux Archlinux $ ./configure --prefix=/home/feri/tanul --enable-threads --enable-shared --with-tcl=/home/feri/tanul/lib --enable-dependency-tracking $ make -v GNU Make 3.82 Built for x86_64-unknown-linux-gnu $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /build/src/gcc-4.6-20120120/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --enable-checking=release Thread model: posix gcc version 4.6.2 20120120 (prerelease) (GCC) glibc-2.15 Any help is appreciated. TIA feri ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel