This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 2.95 under HP-UX11
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: gcc 2.95 under HP-UX11
- From: "Grammes, Carsten" <cg at dialogika dot de>
- Date: Tue, 24 Jul 2001 18:14:37 +0200
I installed the gcc-2.95.3 binary distribution on a HP-UX 11 machine
which previously only had the HP K&R C compiler. In detailed I
downloaded and installed
bison-1.28
flex-2.5.4a
binutils-2.11
gcc-2.95.3
all from the official HP-UX porting site. All packages (*.depot files)
installed w/o problems using the sd installer. However when trying to
use gcc e.g. to build GNU make (similar with other packages) I get
problems which refer to conflicting include files:
# make
make all-recursive
Making all in glob
Making all in i18n
/usr/local/bin/gcc -DALIASPATH=\"/usr/local/share/locale:.\"
-DLOCALEDIR
=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\"
-DINCLUDEDIR=\"/usr/loc
al/include\" -DHAVE_CONFIG_H -I. -I. -I./glob -D__STDC_EXT__ -g -O2
-c ar.c
In file included from make.h:89,
from ar.c:20:
/usr/include/ctype.h:26: warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: t
his is the location of the previous definition
In file included from /usr/include/wchar.h:41,
from /usr/include/inttypes.h:509,
from make.h:311,
from ar.c:20:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:112:
conflict
ing types for `free'
make.h:250: previous declaration of `free'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:156:
conflict
ing types for `malloc'
make.h:248: previous declaration of `malloc'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:157:
conflict
ing types for `realloc'
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
#
What do you think, what went wrong?
Thanks,
Carsten.