|*hello maintainers,
I am trying to build apache-2.2.8 on a solaris 10 machine and facing the following linking error in the build stage.

********
make[2]: Entering directory `/users/mhalder/Documents/httpd-2.2.8/support'
/users/mhalder/Documents/httpd-2.2.8/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/include -I/users/mhalder/Documents/httpd-2.2.8/srclib/pcre -I. -I/users/mhalder/Documents/httpd-2.2.8/os/unix -I/users/mhalder/Documents/httpd-2.2.8/server/mpm/prefork -I/users/mhalder/Documents/httpd-2.2.8/modules/http -I/users/mhalder/Documents/httpd-2.2.8/modules/filters -I/users/mhalder/Documents/httpd-2.2.8/modules/proxy -I/users/mhalder/Documents/httpd-2.2.8/include -I/users/mhalder/Documents/httpd-2.2.8/modules/generators -I/users/mhalder/Documents/httpd-2.2.8/modules/mappers -I/users/mhalder/Documents/httpd-2.2.8/modules/database -I/users/mhalder/Documents/httpd-2.2.8/srclib/apr/include -I/users/mhalder/Documents/httpd-2.2.8/srclib/apr-util/include -I/users/mhalder/Documents/httpd-2.2.8/srclib/apr-util/xml/expat/lib -I/users/mhalder/Documents/httpd-2.2.8/modules/proxy/../generators -I/users/mhalder/Documents/httpd-2.2.8/modules/ssl -I/users/mhalder/Documents/httpd-2.2.8/modules/dav/main -prefer-non-pic -static -c htpasswd.c && touch htpasswd.lo /users/mhalder/Documents/httpd-2.2.8/srclib/apr/libtool --silent --mode=link gcc -g -O2 -o htpasswd htpasswd.lo -lm /users/mhalder/Documents/httpd-2.2.8/srclib/pcre/libpcre.la /users/mhalder/Documents/httpd-2.2.8/srclib/apr-util/libaprutil-1.la /users/mhalder/Documents/httpd-2.2.8/srclib/apr-util/xml/expat/lib/libexpat.la /users/mhalder/Documents/httpd-2.2.8/srclib/apr/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]' /users/mhalder/Documents/httpd-2.2.8/srclib/apr/.libs/libapr-1.so: undefined reference to [EMAIL PROTECTED]'

**************
MY MACHINE DETAILS:

csbu061 [mhalder] 794: uname -X
System = SunOS
Node = csbu061
Release = 5.10
KernelID = Generic_118833-24
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1




***********


the gcc i am using is gcc-4.2.2 build on the same machine using binutils-2.16.1
csbu061 [mhalder] 784: gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: /users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/configure --prefix=/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/V3 --disable-nls --enable-shared --enable-threads=posix --with-ld=/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/bin/ld --with-gnu-ld --with-as=/tools/openbin/binutils/2.16.1/sparc-sun-solaris10/bin/as --with-gnu-as --enable-languages=c,c++
Thread model: posix
gcc version 4.2.2


***********

the gcc and binutils is in my path and also i have updated LD_LIBRARY_PATH

moreover it appeared to me that it is a linking problem to the sysytem thread library so i included in my LD_LIBRARY_PATH the directories /lib and /usr/lib where resides the libraries:--llib-lpthread, libpthread.so, libpthread.so.1


but still the same error is coming

please help me .. and let me know if you need any more info for debugging

any suggestions will be well appreciated

thanks in advance
malay halder
*|

Reply via email to