bug-libtool
[Top][All Lists]
Advanced

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

Build failure on Solaris


From: Scott Herod
Subject: Build failure on Solaris
Date: 10 Jan 2003 09:31:24 -0700

Hello,

I'm getting build failure on Solaris with a missing library.  Details
are below.  libtool is version 1.4.3 downloaded from ftp.gnu.org on
1/10/2003.

[libtool-1.4.3]$ uname -a
SunOS codv02 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-60

[libtool-1.4.3]$ autoconf > ~/logs/autoconf.out

[libtool-1.4.3]$ ./configure --prefix=$HOME &> ~/logs/make.out

[libtool-1.4.3]$ more ~/logs/configure.out
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD-compatible nm...
/opt/QNXsdk/host/solaris/sparc/usr/bin/nm -B
checking whether ln -s works... yes
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for a sed that does not truncate output... /usr/xpg4/bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /opt/QNXsdk/host/solaris/sparc/usr/bin/nm -B
output...
 ok
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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
creating libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
configure: configuring in libltdl
configure: running /bin/bash './configure' --prefix=/devel/home/sherod 
'--prefi
x=/devel/home/sherod' --enable-ltdl-install --cache-file=/dev/null
--srcdir=.
loading cache /dev/null
checking for a BSD compatible install... ./../install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for working const... yes
checking for inline... inline
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm...
/opt/QNXsdk/host/solaris/sparc/usr/bin/nm -B
checking for a sed that does not truncate output... /usr/xpg4/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /opt/QNXsdk/host/solaris/sparc/usr/bin/nm -B
output...
 ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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
creating libtool
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether gcc supports assert without backlinking... yes
checking for assert.h... yes
checking which extension is used for shared libraries... .so
checking which variable specifies run-time library path...
LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_append... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking for errno.h... yes
checking for malloc.h... yes
checking for memory.h... yes
checking for stdlib.h... yes
checking for stdio.h... yes
checking for ctype.h... yes
checking for unistd.h... yes
checking for dl.h... no
checking for sys/dl.h... yes
checking for dld.h... no
checking for string.h... yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
updating cache /dev/null
creating ./config.status
creating Makefile
creating config.h

[libtool-1.4.3]$ make &> ~/logs/make.out
[libtool-1.4.3]$ more ~/logs/make.out
Making all in .
make[1]: Entering directory `/devel/home/sherod/tools/libtool-1.4.3'
CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/bash ./config.status
config.status: creating libtoolize
chmod +x libtoolize
make[1]: Leaving directory `/devel/home/sherod/tools/libtool-1.4.3'
Making all in libltdl
make[1]: Entering directory
`/devel/home/sherod/tools/libtool-1.4.3/libltdl'
/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    
-g -O2 -c
 ltdl.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o
.libs/ltdl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null
2>&1
mv -f .libs/ltdl.lo ltdl.lo
/bin/bash ./libtool --mode=link gcc  -g -O2  -o libltdl.la -rpath
/devel/home/sh
erod/lib -no-undefined -version-info 4:0:1 ltdl.lo -ldl
rm -fr .libs/libltdl.la .libs/libltdl.* .libs/libltdl.*
/usr/ccs/bin/ld -G -z defs -h libltdl.so.3 -o .libs/libltdl.so.3.1.0 
ltdl.lo  -
ldl -lc
Undefined                       first referenced
 symbol                             in file
__eprintf                           ltdl.lo
ld: fatal: Symbol referencing errors. No output written to
.libs/libltdl.so.3.1.
0
make[1]: *** [libltdl.la] Error 1
make[1]: Leaving directory
`/devel/home/sherod/tools/libtool-1.4.3/libltdl'
make: *** [all-recursive] Error 1






reply via email to

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