[Expat-bugs] [Bug #125689] expat compile fails in ld on HPUX B.10.20

noreply@sourceforge.net noreply@sourceforge.net
Wed, 13 Dec 2000 09:43:48 -0800


Bug #125689, was updated on 2000-Dec-13 09:43
Here is a current snapshot of the bug.

Project: Expat XML Parser
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: expat compile fails in ld on HPUX B.10.20

Details: I may be missing something here, but I can't figure out what

% configure
loading cache ./config.cache
checking host system type... hppa2.0-hp-hpux10.20
checking build system type... hppa2.0-hp-hpux10.20
checking for ranlib... (cached) ranlib
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/intel/97r1/lib/gcc-lib/hppa1.1-hp-hpux10.20/cygnus-2.7-96q4/ld
checking if the linker (/usr/intel/97r1/lib/gcc-lib/hppa1.1-hp-hpux10.20/cygnus-2.7-96q4/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ucb/nm -p
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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 if gcc static flag -static works... -static
checking if the linker (/usr/intel/97r1/lib/gcc-lib/hppa1.1-hp-hpux10.20/cygnus-2.7-96q4/ld) is GNU ld... no
checking whether the linker (/usr/intel/97r1/lib/gcc-lib/hppa1.1-hp-hpux10.20/cygnus-2.7-96q4/ld) supports shared libraries... yes
checking command to parse /usr/ucb/nm -p output... ok
checking how to hardcode library paths into programs... relink
checking for /usr/intel/97r1/lib/gcc-lib/hppa1.1-hp-hpux10.20/cygnus-2.7-96q4/ld option to reload object files... -r
checking dynamic linker characteristics... hpux10.20 dld.sl
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 gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/intel/bin/ginstall -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... (cached) yes
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for memmove... (cached) yes
checking for bcopy... (cached) yes
creating ./config.status
creating Makefile
creating lib/Makefile
creating xmlwf/Makefile
creating examples/Makefile
creating config.h
config.h is unchanged
fhc2269[19]% make
        autoconf
Make: Cannot load autoconf.  Stop.
*** Error exit code 1

Stop.


% make install
        /bin/sh ../libtool --mode=link  gcc -version-info 0:1:0 -g -O2  -o libexpat.la -rpath /usr/local/lib  xmlparse.lo xmltok.lo xmlrole.lo
rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.*
/usr/intel/97r1/lib/gcc-lib/hppa1.1-hp-hpux10.20/cygnus-2.7-96q4/ld -b +h libexpat.sl.0 +b /usr/local/lib -o .libs/libexpat.sl.0.1  xmlparse.lo xmltok.lo xmlrole.lo  -lc 
collect2: unable to open dynamic dependency '         static branch'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=125689&group_id=10127