This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Q: problem with 001206 version on HP-UX 11
- To: BinUtils <binutils at sourceware dot cygnus dot com>
- Subject: Q: problem with 001206 version on HP-UX 11
- From: Heiko Nardmann <h dot nardmann at secunet dot de>
- Date: Fri, 08 Dec 2000 16:50:06 +0100
- Organization: secunet Security Networks AG
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