libtool
[Top][All Lists]
Advanced

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

Re: libtool 2.4.2 fails to compile on Solaris 10


From: Peter Rosin
Subject: Re: libtool 2.4.2 fails to compile on Solaris 10
Date: Tue, 06 Nov 2012 12:45:08 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

Hi Dennis!

On 2012-11-06 04:08, Dennis Clarke wrote:
> 
> Firstly, I am willingto look at a git clone but I would prefer to work with a 
> version that is considered "stable" and "released" and not alpha or beta 
> grade. However, having said that : 
> 
> $ uname -a 
> SunOS node002 5.10 Generic_147440-23 sun4v sparc SUNW,T5240
> $ cc -V
> cc: Sun C 5.12 SunOS_sparc 2011/11/16
> $ psrinfo -pv 
> The physical processor has 64 virtual processors (0-63)
>   UltraSPARC-T2+ (chipid 0, clock 1582 MHz)
> The physical processor has 64 virtual processors (64-127)
>   UltraSPARC-T2+ (chipid 1, clock 1582 MHz)
> 
> 
> $ pwd
> /usr/local/build
> $ ls $SRC/libt*
> /usr/local/src/libtasn1-2.13.tar.gz                 
> /usr/local/src/libtool-2.4.2.tar.gz
> /usr/local/src/libtasn1-2.14.tar.gz                 
> /usr/local/src/libtool_git_Mon_Nov_05_2012.star.gz
> 
> $ /usr/sfw/bin/openssl dgst -sha1 /usr/local/src/libtool-2.4.2.tar.gz
> SHA1(/usr/local/src/libtool-2.4.2.tar.gz)= 
> 22b71a8b5ce3ad86e1094e7285981cae10e6ff88
> $ /usr/sfw/bin/openssl dgst -md5 /usr/local/src/libtool-2.4.2.tar.gz
> MD5(/usr/local/src/libtool-2.4.2.tar.gz)= d2f3b7d4627e69e13514a40e72a24d50
> 
> 
> $ gzip -dc /usr/local/src/libtool-2.4.2.tar.gz | tar -xf - 
> $ date 
> Tue Nov  6 01:53:02 GMT 2012
> $ mv libtool-2.4.2 libtool-2.4.2_Nov_06_0153_SunOS5.10_sparcv9
> $ cd libtool-2.4.2_Nov_06_0153_SunOS5.10_sparcv9
> 
> $ env | sort  
> AR=/usr/ccs/bin/ar
> AS=/usr/ccs/bin/as
> BUILD=/usr/local/build
> CC=/opt/solarisstudio12.3/bin/cc
> CFLAGS=-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 
> -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g 
> -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 
> -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO 
> -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
> COLUMNS=124
> CONFIG_SHELL=/bin/bash
> CPPFLAGS=-I/usr/local/include -I/usr/sfw/include
> CXX=/opt/solarisstudio12.3/bin/CC
> CXXFLAGS=-dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 
> -mc -xunroll=1 -xbuiltin=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 
> -xdepend=no -xnolibmopt -xlinkopt=0 -xnolibmil -xregs=no%appl -xs 
> -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO
> EDITOR=/usr/xpg4/bin/vi
> HOME=/export/home/dclarke
> LANG=C
> LC_ALL=C
> LC_COLLATE=C
> LC_CTYPE=C
> LC_MESSAGES=C
> LC_MONETARY=C
> LC_NUMERIC=C
> LC_TIME=C
> LD=/usr/ccs/bin/ld
> LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib/sparcv9:/opt/mysql/mysql/lib
> LD_OPTIONS=-R/usr/local/lib/$ISALIST:/usr/sfw/lib/$ISALIST:/usr/local/lib:/usr/sfw/lib:/opt/mysql/mysql/lib
>  
> -L/usr/local/lib/$ISALIST:/usr/sfw/lib/$ISALIST:/usr/local/lib:/usr/sfw/lib:/opt/mysql/mysql/lib
> LD_RUN_PATH=/usr/local/lib/$ISALIST:/usr/sfw/lib/$ISALIST:/opt/mysql/mysql/lib
> LINES=44
> LOGNAME=dclarke
> M4=/usr/local/bin/gm4
> MACHTYPE=sparc-sun-solaris
> MAIL=/usr/mail/dclarke
> MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/X11/share/man
> NM=/usr/ccs/bin/nm
> OSTYPE=solaris
> PAGER=/usr/xpg4/bin/more
> PATH=/usr/local/bin:/usr/local/sbin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin:/usr/local/texlive/2012/bin/sparc-solaris
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
> PWD=/usr/local/build/libtool-2.4.2_Nov_06_0153_SunOS5.10_sparcv9
> SED=/usr/local/bin/gsed
> SHELL=/bin/ksh
> SRC=/usr/local/src
> TERM=vt100
> TZ=GMT0
> USER=dclarke
> VISUAL=/usr/xpg4/bin/vi
> WINDOW=3
> _=/usr/xpg4/bin/env
> 
> Whic is a bit noisey but works real well with building php and apache etc etc 
> 
> 
> $ ./configure --enable-dependency-tracking --enable-ltdl-install
> ## ------------------------- ##
> ## Configuring libtool 2.4.2 ##
> ## ------------------------- ##
> 
> checking for a BSD-compatible install... libltdl/config/install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... libltdl/config/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking build system type... sparc-sun-solaris2.10
> checking host system type... sparc-sun-solaris2.10
> configure: autobuild project... GNU Libtool
> configure: autobuild revision... 2.4.2 ()
> configure: autobuild hostname... node002
> configure: autobuild mode... default
> configure: autobuild timestamp... 20121106T015422Z
> checking for gcc... /opt/solarisstudio12.3/bin/cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... no
> checking whether /opt/solarisstudio12.3/bin/cc accepts -g... yes
> checking for /opt/solarisstudio12.3/bin/cc option to accept ISO C89... none 
> needed
> checking for style of include used by make... GNU
> checking dependency style of /opt/solarisstudio12.3/bin/cc... dashXmstdout
> checking whether /opt/solarisstudio12.3/bin/cc and cc understand -c and -o 
> together... yes
> checking how to run the C preprocessor... /opt/solarisstudio12.3/bin/cc -E
> checking how to print strings... printf
> checking for a sed that does not truncate output... /usr/local/bin/gsed
> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
> checking for egrep... /usr/xpg4/bin/grep -E
> checking for fgrep... /usr/xpg4/bin/grep -F
> checking for non-GNU ld... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm
> checking the name lister (/usr/ccs/bin/nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 786240
> checking whether the shell understands some XSI constructs... no
> checking whether the shell understands "+="... no
> checking how to convert sparc-sun-solaris2.10 file names to 
> sparc-sun-solaris2.10 format... func_convert_file_noop
> checking how to convert sparc-sun-solaris2.10 file names to toolchain 
> format... func_convert_file_noop
> checking for /usr/ccs/bin/ld option to reload object files... -r
> checking for objdump... no
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for archiver @FILE support... no
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/ccs/bin/nm output from 
> /opt/solarisstudio12.3/bin/cc object... failed
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> 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... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking for /opt/solarisstudio12.3/bin/cc option to produce PIC... -KPIC 
> -DPIC
> checking if /opt/solarisstudio12.3/bin/cc PIC flag -KPIC -DPIC works... yes
> checking if /opt/solarisstudio12.3/bin/cc static flag -Bstatic works... yes
> checking if /opt/solarisstudio12.3/bin/cc supports -c -o file.o... yes
> checking if /opt/solarisstudio12.3/bin/cc supports -c -o file.o... (cached) 
> yes
> checking whether the /opt/solarisstudio12.3/bin/cc linker (/usr/ccs/bin/ld 
> -64) supports shared libraries... yes
> checking dynamic linker characteristics... solaris2.10 ld.so
> checking how to hardcode library paths into programs... immediate
> checking for shl_load... no
> checking for shl_load in -ldld... no
> checking for dlopen... yes
> checking whether a program can dlopen itself... yes
> checking whether a statically linked program can dlopen itself... yes
> checking whether stripping libraries is possible... no
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking which extension is used for runtime loadable modules... .so
> checking which variable specifies run-time module search path... 
> LD_LIBRARY_PATH
> checking for the default library search path... /lib /usr/lib
> checking for library containing dlopen... none required
> checking for dlerror... yes
> checking for shl_load... (cached) no
> checking for shl_load in -ldld... (cached) no
> checking for dld_link in -ldld... no
> 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_add... no
> checking for argz_append... no
> checking for argz_count... no
> checking for argz_create_sep... no
> checking for argz_insert... no
> checking for argz_next... no
> checking for argz_stringify... no
> checking whether libtool supports -dlopen/-dlpreopen... no
> checking for unistd.h... (cached) yes
> checking for dl.h... no
> checking for sys/dl.h... yes
> checking for dld.h... no
> checking for mach-o/dyld.h... no
> checking for dirent.h... yes
> checking for closedir... yes
> checking for opendir... yes
> checking for readdir... yes
> checking for strlcat... yes
> checking for strlcpy... yes
> checking whether we are using the GNU C++ compiler... no
> checking whether /opt/solarisstudio12.3/bin/CC accepts -g... yes
> checking dependency style of /opt/solarisstudio12.3/bin/CC... dashXmstdout
> checking how to run the C++ preprocessor... /opt/solarisstudio12.3/bin/CC -E
> checking whether the /opt/solarisstudio12.3/bin/CC linker (/usr/ccs/bin/ld 
> -64) supports shared libraries... yes
> checking for /opt/solarisstudio12.3/bin/CC option to produce PIC... -KPIC 
> -DPIC
> checking if /opt/solarisstudio12.3/bin/CC PIC flag -KPIC -DPIC works... yes
> checking if /opt/solarisstudio12.3/bin/CC static flag -Bstatic works... yes
> checking if /opt/solarisstudio12.3/bin/CC supports -c -o file.o... yes
> checking if /opt/solarisstudio12.3/bin/CC supports -c -o file.o... (cached) 
> yes
> checking whether the /opt/solarisstudio12.3/bin/CC linker (/usr/ccs/bin/ld 
> -64) supports shared libraries... yes
> checking dynamic linker characteristics... solaris2.10 ld.so
> checking how to hardcode library paths into programs... immediate
> checking for g77... no
> checking for xlf... no
> checking for f77... f77
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether f77 accepts -g... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for f77 option to produce PIC... -KPIC
> checking if f77 PIC flag -KPIC works... yes
> checking if f77 static flag -Bstatic works... yes
> checking if f77 supports -c -o file.o... yes
> checking if f77 supports -c -o file.o... (cached) yes
> checking whether the f77 linker (/usr/ccs/bin/ld -64) supports shared 
> libraries... yes
> checking dynamic linker characteristics... solaris2.10 ld.so
> checking how to hardcode library paths into programs... immediate
> checking for gfortran... no
> checking for g95... no
> checking for xlf95... no
> checking for f95... f95
> checking whether we are using the GNU Fortran compiler... no
> checking whether f95 accepts -g... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for f95 option to produce PIC... -KPIC
> checking if f95 PIC flag -KPIC works... yes
> checking if f95 static flag -Bstatic works... yes
> checking if f95 supports -c -o file.o... yes
> checking if f95 supports -c -o file.o... (cached) yes
> checking whether the f95 linker (/usr/ccs/bin/ld -64) supports shared 
> libraries... yes
> checking dynamic linker characteristics... solaris2.10 ld.so
> checking how to hardcode library paths into programs... immediate
> checking for gccgo... no
> checking for gcj... no
> checking for windres... no
> checking whether make supports order-only prerequisites... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: executing tests/atconfig commands
> config.status: executing depfiles commands
> config.status: executing libtool commands
> 
> 
> I don't see any show stoppers there. 

You have this line in there:

checking command to parse /usr/ccs/bin/nm output from 
/opt/solarisstudio12.3/bin/cc object... failed

which...

> $ gmake --version 

*snip*

> /bin/bash ./libtool --tag=CC   --mode=link /opt/solarisstudio12.3/bin/cc  
> -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 
> -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g 
> -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 
> -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO 
> -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -module -avoid-version  -o 
> libltdl/dlopen.la  libltdl/loaders/dlopen.lo  
> libtool: link: /usr/ccs/bin/ar cru libltdl/.libs/dlopen.a 
> libltdl/loaders/.libs/dlopen.o 
> libtool: link: ranlib libltdl/.libs/dlopen.a
> libtool: link: ( cd "libltdl/.libs" && rm -f "dlopen.la" && ln -s 
> "../dlopen.la" "dlopen.la" )
> source='libltdl/argz.c' object='libltdl/argz.lo' libtool=yes \
> DEPDIR=.deps depmode=dashXmstdout /bin/bash ./libltdl/config/depcomp \
> /bin/bash ./libtool --tag=CC   --mode=compile /opt/solarisstudio12.3/bin/cc 
> -DHAVE_CONFIG_H -I.  -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl 
> -I./libltdl -I./libltdl/libltdl -I/usr/local/include -I/usr/sfw/include  
> -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 
> -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g 
> -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 
> -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO 
> -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -c -o libltdl/argz.lo 
> libltdl/argz.c
> libtool: compile:  /opt/solarisstudio12.3/bin/cc -DHAVE_CONFIG_H -I. 
> "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl 
> -I./libltdl/libltdl -I/usr/local/include -I/usr/sfw/include -errfmt=error 
> -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s 
> -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none 
> -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 
> -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS 
> -D_LARGEFILE64_SOURCE -c libltdl/argz.c  -KPIC -DPIC -o libltdl/.libs/argz.o
> libtool: compile:  /opt/solarisstudio12.3/bin/cc -DHAVE_CONFIG_H -I. 
> "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl 
> -I./libltdl/libltdl -I/usr/local/include -I/usr/sfw/include -errfmt=error 
> -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s 
> -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none 
> -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 
> -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS 
> -D_LARGEFILE64_SOURCE -c libltdl/argz.c -o libltdl/argz.o >/dev/null 2>&1
> /bin/bash ./libtool --tag=CC   --mode=link /opt/solarisstudio12.3/bin/cc  
> -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 
> -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g 
> -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 
> -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO 
> -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -no-undefined -version-info 
> 10:0:3 -dlpreopen libltdl/dlopen.la   -o libltdl/libltdl.la -rpath 
> /usr/local/lib libltdl/loaders/libltdl_libltdl_la-preopen.lo 
> libltdl/libltdl_libltdl_la-lt__alloc.lo 
> libltdl/libltdl_libltdl_la-lt_dlloader.lo 
> libltdl/libltdl_libltdl_la-lt_error.lo libltdl/libltdl_libltdl_la-ltdl.lo 
> libltdl/libltdl_libltdl_la-slist.lo libltdl/argz.lo 
> libtool: link: not configured to extract global symbols from dlpreopened files
> libtool: link: (cd libltdl/.libs/libltdl.lax/dlopen.a && /usr/ccs/bin/ar x 
> "/usr/local/build/libtool-2.4.2_Nov_06_0153_SunOS5.10_sparcv9/libltdl/.libs/dlopen.a")
> libtool: link: /opt/solarisstudio12.3/bin/cc -G -z defs -h libltdl.so.7 -o 
> libltdl/.libs/libltdl.so.7.3.0  
> libltdl/loaders/.libs/libltdl_libltdl_la-preopen.o 
> libltdl/.libs/libltdl_libltdl_la-lt__alloc.o 
> libltdl/.libs/libltdl_libltdl_la-lt_dlloader.o 
> libltdl/.libs/libltdl_libltdl_la-lt_error.o 
> libltdl/.libs/libltdl_libltdl_la-ltdl.o 
> libltdl/.libs/libltdl_libltdl_la-slist.o libltdl/.libs/argz.o   
> libltdl/.libs/libltdl.lax/dlopen.a/dlopen.o   -lc  -m64 -mc -xtarget=ultraT2  
> Undefined                       first referenced
>  symbol                             in file
> lt_libltdl_LTX_preloaded_symbols    libltdl/.libs/libltdl_libltdl_la-ltdl.o
> ld: fatal: symbol referencing errors. No output written to 
> libltdl/.libs/libltdl.so.7.3.0
> gmake[2]: *** [libltdl/libltdl.la] Error 2
> gmake[2]: Leaving directory 
> `/usr/local/build/libtool-2.4.2_Nov_06_0153_SunOS5.10_sparcv9'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/local/build/libtool-2.4.2_Nov_06_0153_SunOS5.10_sparcv9'
> gmake: *** [all] Error 2
> $ 
> 
> 
> 
> That definately is a show stopper. 
> 
> So things come to a grand halt because of : 
> 
> 
> /bin/bash ./libtool --tag=CC   --mode=link /opt/solarisstudio12.3/bin/cc  
> -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 
> -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g 
> -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 
> -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO 
> -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -no-undefined -version-info 
> 10:0:3 -dlpreopen libltdl/dlopen.la   -o libltdl/libltdl.la -rpath 
> /usr/local/lib libltdl/loaders/libltdl_libltdl_la-preopen.lo 
> libltdl/libltdl_libltdl_la-lt__alloc.lo 
> libltdl/libltdl_libltdl_la-lt_dlloader.lo 
> libltdl/libltdl_libltdl_la-lt_error.lo libltdl/libltdl_libltdl_la-ltdl.lo 
> libltdl/libltdl_libltdl_la-slist.lo libltdl/argz.lo 
> libtool: link: not configured to extract global symbols from dlpreopened files

...is the direct cause of this diagnostic.

> libtool: link: (cd libltdl/.libs/libltdl.lax/dlopen.a && /usr/ccs/bin/ar x 
> "/usr/local/build/libtool-2.4.2_Nov_06_0153_SunOS5.10_sparcv9/libltdl/.libs/dlopen.a")
> libtool: link: /opt/solarisstudio12.3/bin/cc -G -z defs -h libltdl.so.7 -o 
> libltdl/.libs/libltdl.so.7.3.0  
> libltdl/loaders/.libs/libltdl_libltdl_la-preopen.o 
> libltdl/.libs/libltdl_libltdl_la-lt__alloc.o 
> libltdl/.libs/libltdl_libltdl_la-lt_dlloader.o 
> libltdl/.libs/libltdl_libltdl_la-lt_error.o 
> libltdl/.libs/libltdl_libltdl_la-ltdl.o 
> libltdl/.libs/libltdl_libltdl_la-slist.o libltdl/.libs/argz.o   
> libltdl/.libs/libltdl.lax/dlopen.a/dlopen.o   -lc  -m64 -mc -xtarget=ultraT2  
> Undefined                       first referenced
>  symbol                             in file
> lt_libltdl_LTX_preloaded_symbols    libltdl/.libs/libltdl_libltdl_la-ltdl.o
> ld: fatal: symbol referencing errors. No output written to 
> libltdl/.libs/libltdl.so.7.3.0
> 
> So that looks like a linkage issue with some public symbol that *could* be in 
> libltdl. 

The lt_libltdl_LTX_preloaded_symbols symbol is supposed to be in an 
automatically
generated file, which isn't generated because configure does not recognize the
$NM output. Libtool wants BSD style output.

<hex address> <symbol type> <symbol name>

e.g.
00000118 T _foobar

Try to set NM to something that outputs lines as above when given object files
from your compiler.

BTW, does config.log provide any hint as to what went wrong in the above
configure test?

> Not sure really. 
> 
> Now then let's try again with an up to date git clone : 

*snip*

I will leave that part of the message for someone more capable.

Cheers,
Peter




reply via email to

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