bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


From: David Sugar
Subject: Re: (no subject)
Date: Wed, 15 May 2002 21:45:13 -0400 (EDT)

If I were to make a guess, I think it is a problem in the 
autoconf/configure script, in that it cannot seem to identify object 
symbols in libraries or perform the standard "linker" tests.

One thing you might try is this:

./reconfig
./configure

if you have or install automake, you can use reconfig to regenerate the 
"configure" script, and if your autoconf is more correct for Solaris, it 
may work better...

On Wed, 15 May 2002, chao deng wrote:

> The problem is when I tried to run configure script 
> as follow,
> 
> env CC=/vox/tools/SUNWspro/bin/../WS6U1/bin/cc
> CC=/vox/tools/SUNWspro/bin/../WS6U1/bin/CC configure
> -prefix=../usr_local
> 
> I got dumped configure results like 
> 
> creating cache ./config.cache
> checking host system type... sparc-sun-solaris2.8
> checking target system type... sparc-sun-solaris2.8
> checking build system type... sparc-sun-solaris2.8
> checking for gcc...
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> checking whether the C compiler
> (/vox/tools/SUNWspro/bin/../WS6U1/bin/CC  ) works...
> yes
> checking whether the C compiler
> (/vox/tools/SUNWspro/bin/../WS6U1/bin/CC  ) is a
> cross-compiler... no
> checking whether we are using GNU C... no
> checking whether
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts -g...
> yes
> checking how to run the C preprocessor...
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC -E
> checking for POSIXized ISC... no
> checking for minix/config.h... no
> checking for MSC environment... ./configure: cl: not
> found
> no
> checking for a BSD compatible install...
> config/install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... missing
> checking for working autoconf... found
> checking for working automake... missing
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking for ranlib... ranlib
> checking for non-GNU ld... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld...
> no
> checking for BSD-compatible nm... /usr/ccs/bin/nm -p
> checking whether ln -s works... yes
> updating cache ./config.cache
> checking whether we are using GNU C... no
> checking for object suffix... o
> checking for executable suffix... no
> checking for /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> option to produce PIC... -KPIC
> checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> PIC flag -KPIC works... yes
> checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> supports -c -o file.o... yes
> checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> supports -c -o file.lo... yes
> checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> static flag -Bstatic works... -Bstatic
> checking if the linker (/usr/ccs/bin/ld) is GNU ld...
> no
> checking whether the linker (/usr/ccs/bin/ld) supports
> shared libraries... yes
> checking command to parse /usr/ccs/bin/nm -p output...
> ok
> checking how to hardcode library paths into
> programs... immediate
> checking for /usr/ccs/bin/ld option to reload object
> files... -r
> checking dynamic linker characteristics... solaris2.8
> ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> loading cache ./config.cache
> checking for genorated automake files... found
> checking whether to enable maintainer-specific
> portions of Makefiles... no
> checking for Win32 gnu environment... no
> checking whether system meets Posix.1... yes
> checking for endian.h... no
> checking for fcntl.h... yes
> checking for sys/fcntl.h... yes
> checking for sys/types.h... yes
> checking for sigaction... no
> checking for setitimer... no
> checking for bsd/signal.h... no
> checking return type of signal handlers... void
> checking whether sigwait has 2 arguments... yes
> checking for strcasecmp... no
> checking for strdup... no
> checking for snprintf... no
> checking for memmove... no
> checking for strings.h... yes
> checking for getopt.h... no
> checking for getopt_long in -lgnugetopt... no
> checking for getopt_long... no
> checking for dlfcn.h... yes
> checking for dlopen in -ldl... no
> checking for dlopen in -lc... no
> checking whether time.h and sys/time.h may both be
> included... yes
> checking for sys/time.h... yes
> checking for features.h... no
> checking for pthread.h... yes
> checking for sys/atomic.h... yes
> checking for atomic_t... no
> checking for thread.h... yes
> checking whether
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts
> -pthread... no
> checking whether
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts
> -mthreads... no
> checking for pthread_self in -lc_r... no
> checking for pthread_self in -lpthread... no
> checking for pthread_kill in -lpthread... no
> checking for pthread_self in -lpthreads... no
> checking for pthread_self in -lthread... no
> checking for pthread_self in -lgthreads... no
> checking for pthread_self in -lcma... no
> checking for pthread_self in -lc... no
> configure: error: no library for posix threads found!
> 
> Sounds like it can't find posix threads library, I
> tried to modify the configure script and got no luck
> at all. I also tried to build my own make files from
> scratch and that needs more work. I hope to port this
> in 1-2 days effort. Would anyone let me know what I
> should start to save time?
> 
> Regards,
> 
> Chao
> 
> 
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
> 
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]