[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
installing binutils on HPUX 10.20
From: |
Chris Kollner |
Subject: |
installing binutils on HPUX 10.20 |
Date: |
Mon, 12 Aug 2002 17:53:38 -0400 |
I am trying to build the programs from the binutils-2.11.2.tar.gz source
tarball on an HPUX 10.20 system, but am receiving compilation errors.
Specifically, it's having problems with some of the system include files.
After running the 'configure' script (which correctly recognizes that it's HPUX
10.20) and launching make, I get the following error(s):
----------------------------------------------------------------------------------------------
In file included from /usr/include/sys/stat.h:28,
from fdmatch.c:53:
/usr/include/sys/_stat_body.h:22: parse error before `blkcnt_t'
/usr/include/sys/_stat_body.h:22: warning: no semicolon at end of struct or
union
/usr/include/sys/_stat_body.h:23: parse error before `:'
/usr/include/sys/_stat_body.h:24: parse error before `:'
/usr/include/sys/_stat_body.h:25: parse error before `:'
/usr/include/sys/_stat_body.h:52: parse error before `st_spare4'
/usr/include/sys/_stat_body.h:52: ANSI C forbids data definition with no type
or storage class
/usr/include/sys/_stat_body.h:53: parse error before `}'
/usr/include/sys/_stat_body.h:53: warning: ANSI C does not allow extra `;'
outside of a function
fdmatch.c: In function `fdmatch':
fdmatch.c:59: storage size of `sbuf1' isn't known
fdmatch.c:60: storage size of `sbuf2' isn't known
fdmatch.c:60: warning: unused variable `sbuf2'
fdmatch.c:59: warning: unused variable `sbuf1'
make[1]: *** [fdmatch.o] Error 1
make[1]: Leaving directory `/wms/tmp/binutils-2.11.2/libiberty'
make: *** [all-libiberty] Error 2
---------------------------------------------------------------------------------------------------------
Even though the type 'blkcnt_t', and the type in the field prior, 'ad_long_t',
are clearly defined, the compiler can't seem to resolve them.
Even when I hack together a local version of stat.h just to try to get passed
this error, it chokes on some typedefs in other .h files.
Has anyone else encountered this problem? Should I be passing some argument to
the 'configure' script? Even though it recognizes my operating system version,
is it possible it just won't compile on HPUX?
--Chris
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- installing binutils on HPUX 10.20,
Chris Kollner <=