public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 2.95 under HP-UX11
@ 2001-07-24  9:14 Grammes, Carsten
  2001-07-26 16:20 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Grammes, Carsten @ 2001-07-24  9:14 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc 2.95 under HP-UX11
  2001-07-24  9:14 gcc 2.95 under HP-UX11 Grammes, Carsten
@ 2001-07-26 16:20 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2001-07-26 16:20 UTC (permalink / raw)
  To: Grammes, Carsten; +Cc: 'gcc-help@gcc.gnu.org'

On Jul 24, 2001, "Grammes, Carsten" <cg@dialogika.de> wrote:

> I installed the gcc-2.95.3 binary distribution on a HP-UX 11 machine

GCC 2.95.3 doesn't support HP-UX 11.  The errors you're running into
are exactly the symptoms of the lack of support for this platform.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-26 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-24  9:14 gcc 2.95 under HP-UX11 Grammes, Carsten
2001-07-26 16:20 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).