This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Q: problem with 001206 version on HP-UX 11


Another problem during linking as-new:

make[3]: Entering directory
`/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/gas'
/bin/sh ./libtool --mode=link gcc -W -Wall -O2  -o as-new  app.o as.o
atof-generic.o bignum-copy.o cond.o depend.o dwarf2dbg.o ecoff.o ehopt.o expr.o
flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o
input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o sb.o
stabs.o subsegs.o symbols.o write.o tc-hppa.o obj-som.o atof-ieee.o
../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a
./../intl/libintl.a
libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `as-new' will be relinked during installation
gcc -W -Wall -O2 -o .libs/as-new app.o as.o atof-generic.o bignum-copy.o cond.o
depend.o dwarf2dbg.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o
flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o
macro.o messages.o output-file.o read.o sb.o stabs.o subsegs.o symbols.o
write.o tc-hppa.o obj-som.o atof-ieee.o  ../opcodes/.libs/libopcodes.sl
../bfd/.libs/libbfd.sl ../libiberty/libiberty.a ./../intl/libintl.a -Wl,+b
-Wl,/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/opcodes/.libs:/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd/.libs:/opt/binutils-001206/lib

/usr/bin/ld: Unsatisfied symbols:
   frexp (code)
   ldexp (code)
collect2: ld returned 1 exit status
make[3]: *** [as-new] Error 1
make[3]: Leaving directory
`/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/gas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/gas'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/gas'
make: *** [all-gas] Error 2

I added "-lm" to the LIBS definition in gas/Makefile to make it link.

Heiko Nardmann wrote:

> I tried to compile the 001206 version on HP-UX 11 using gcc 2.95.2.
> I ran configure as follows:
> ./configure --prefix=/opt/binutils-001206 --enable-targets=all
> --enable-commonbfdlib --enable-shared
>
> After running make I get an error ... :
>
> make[1]: Entering directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/libiberty'
> make[2]: Entering directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/libiberty/testsuite'
>
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/libiberty/testsuite'
>
> make[1]: Leaving directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/libiberty'
> make[1]: Entering directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/intl'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/intl'
> make[1]: Entering directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd'
> make  all-recursive
> make[2]: Entering directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd'
> Making all in doc
> make[3]: Entering directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd/doc'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd/doc'
> Making all in po
> make[3]: Entering directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd/po'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd/po'
> make[3]: Entering directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd'
> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
> -D_GNU_SOURCE -DHOST_HPPAHPUX -DHPUX_CORE   -I. -I. -I./../include
> -I./../intl -I../intl   -W -Wall -O2 -c hpux-core.c
> gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DHOST_HPPAHPUX
> -DHPUX_CORE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -O2 -c
> hpux-core.c  -fPIC -DPIC -o .libs/hpux-core.o
> In file included from hpux-core.c:64:
> /usr/include/sys/user.h:334: parse error before `physical'
> /usr/include/sys/user.h:376: parse error before `}'
> hpux-core.c: In function `hpux_core_core_file_matches_executable_p':
> hpux-core.c:330: warning: unused parameter `core_bfd'
> hpux-core.c:330: warning: unused parameter `exec_bfd'
> make[3]: *** [hpux-core.lo] Error 1
> make[3]: Leaving directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory
> `/home/4GB-Platte/depotarchive/Sourcen/binutils-001202/bfd'
> make: *** [all-bfd] Error 2
>
> I don't know what /usr/include/sys/user.h is for but commenting it out
> compiles hpux-core.c fine with me.
> What about it?
>
> --
> Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development
>
> secunet Security Networks AG - Sicherheit in Netzwerken
> (www.secunet.de),
> Weidenauer Str. 223-225, D-57076 Siegen
> Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

--
Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]