Hi,

during the build of libtool-1.5.22, cc is invoked with "-b" (probably
instead of "-Wl,-b").

$ ./config.guess
hppa2.0w-hp-hpux11.00

$ CC=cc ./configure --prefix=/usr/local/ && make
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk  
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name... 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... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking for grep that handles long lines and -e... /usr/local/bin/ggrep
checking for egrep... /usr/local/bin/ggrep -E
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
[..]
config.status: executing depfiles commands
No suffix list.
Making all in .
No suffix list.
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: executing depfiles commands
        CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating libtoolize
config.status: executing depfiles commands
        chmod +x libtoolize
Making all in libltdl
        make  all-am
        /bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -I. 
-I.      -g -c -o ltdl.lo ltdl.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I. -g -c ltdl.c  +Z -DPIC -o .libs/ltdl.o
cc: "ltdl.c", line 3758: warning 604: Pointers are not assignment-compatible.
cc: "ltdl.c", line 3758: warning 563: Argument #4 is not the correct type.
cc: "ltdl.c", line 3764: warning 604: Pointers are not assignment-compatible.
cc: "ltdl.c", line 3764: warning 563: Argument #4 is not the correct type.
cc: "ltdl.c", line 3768: warning 604: Pointers are not assignment-compatible.
cc: "ltdl.c", line 3768: warning 563: Argument #4 is not the correct type.
cc: "ltdl.c", line 3775: warning 604: Pointers are not assignment-compatible.
cc: "ltdl.c", line 3775: warning 563: Argument #4 is not the correct type.
cc: "ltdl.c", line 3782: warning 604: Pointers are not assignment-compatible.
cc: "ltdl.c", line 3782: warning 563: Argument #4 is not the correct type.
 cc -DHAVE_CONFIG_H -I. -I. -I. -g -c ltdl.c -o ltdl.o >/dev/null 2>&1
        /bin/sh ./libtool --tag=CC    --mode=link cc  -g  -no-undefined 
-version-info 4:4:1  -o libltdl.la -rpath /usr/local//lib ltdl.lo
cc -b -Wl,+h -Wl,libltdl.sl.4 -Wl,+b -Wl,/usr/local//lib -o 
.libs/libltdl.sl.4.4  .libs/ltdl.o  -lc
cc: warning 422: Unknown option "b" ignored.
/usr/ccs/bin/ld: Unsatisfied symbols:
   main (Not referenced yet! Probably due to -u option)
*** Error exit code 1
[..]

What to do?

Regards,
Johannes Abt
-- 
Johannes Abt                      science + computing ag
Software Solutions                    Hagellocher Weg 73
phone +49 7071 9457 234         72070 Tuebingen, Germany
fax   +49 7071 9457 211         www.science-computing.de


_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to