error using hpux 11 "ld"

From: Dieter Montanez (dieter_at_plantcomputers.com)
Date: 12/21/03


Date: Sun, 21 Dec 2003 01:33:43 -0500

I'm geting the following error compiling libsigc++

nazca:root:libsigc++-1.0.4/tests/handles>gmake
/bin/sh ../../libtool --mode=link c++ -g -O2 -o ctor ctor.o
../../sigc++/libsigc.la
libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `ctor' will be relinked during installation
c++ -g -O2 -o .libs/ctor ctor.o
/usr/local/src/libsigc++-1.0.4/sigc++/.libs/libsigc.sl -Wl,+b
-Wl,/usr/local/src/libsigc++-1.0.4/sigc++/.libs:/usr/local/lib
/usr/ccs/bin/ld: Unrecognized argument: +init
/usr/ccs/bin/ld: Usage: /usr/ccs/bin/ld flags... files...
collect2: ld returned 1 exit status
gmake: *** [ctor] Error 1
nazca:root:libsigc++-1.0.4/tests/handles>

where can I look for the flags set for ld ?

regards

Dieter



Relevant Pages

  • FreeBSD 5.1 BETA 2 make cvsup-without-gui fails
    ... checking if the linker is GNU ld... ... checking whether the linker supports shared libraries... ... checking if libtool supports shared libraries... ...
    (freebsd-current)
  • Re: orphaned port?
    ... > updating cache ./config.cache ... > checking if libtool supports shared libraries... ...
    (freebsd-questions)
  • GNU Libtool 1.5.22 released.
    ... The Libtool Team is pleased to announce the release of GNU Libtool ... which hides the complexity of loading dynamic runtime libraries ... * Fix file ownership for BSD `ranlib'. ...
    (gnu.announce)
  • cant compile kcmpureftpd : tag name "CXX" already exists
    ... appending configuration tag "CXX" to libtool ... checking whether the g++ linker supports shared libraries... ...
    (comp.unix.bsd.freebsd.misc)
  • error compiling php4-domxml
    ... checking for C compiler default output... ... checking if the linker is GNU ld... ... checking whether the linker supports shared libraries... ... checking if libtool supports shared libraries... ...
    (freebsd-questions)