This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HP-UX 11 porting error: PARSE ERROR in malloc.h
- From: stefan dot marquardt at hagebau dot de
- To: "M. Lavasani" <mehdi dot lavasani at connectinternetsolutions dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Mon, 3 Mar 2003 18:36:53 +0100
- Subject: Re: HP-UX 11 porting error: PARSE ERROR in malloc.h
Hi,
changes in config.h:
/* Define to 1 if you have the ANSI C header files. */
/*#define STDC_HEADERS 1*/
#undef STDC_HEADERS
Same error :-(
Stefan
"M. Lavasani"
<mehdi dot lavasani at connectinternetsolu An: stefan dot marquardt at hagebau dot de
tions.com> Kopie: gcc at gcc dot gnu dot org
Thema: Re: HP-UX 11 porting error: PARSE ERROR
03.03.03 17:21 in malloc.h
Hi
Undefine "STDC_HEADERS" in config.h. that may solve the problem.
__Mehdi
>
> Hello,
>
> i try to compile ntop under HP-UX 11 and get parsing error in the
> gcc-header files :
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include
> -I/usr/local/include -I
> /home/src/ntop-current/gdchart0.94c
> -I/home/src/ntop-current/gdchart0.94c/gd-1.8
> .3 -I/home/src/ntop-current/gdchart0.94c/gd-1.8.3/libpng-1.2.4 -DHPUX -g
> -O2 -Ws
> hadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-exter
> ns -fPIC -DHPUX -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes
> -Wmissing-d
> eclarations -Wnested-externs -fPIC -MT webInterface.lo -MD -MP -MF
> .deps/webInte
> rface.Tpo -c webInterface.c -fPIC -DPIC -o .libs/webInterface.lo
> cc1: warning: changing search order for system directory
> "/usr/local/include"
> cc1: warning: as it has already been specified as a non-system
directory
> In file included from webInterface.c:29:
> /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/malloc.h:80:
parse
> error before '(' token
> /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/malloc.h:99:
parse
> error before string constant
> /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/malloc.h:100:
> parse error before string constant
> /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include/malloc.h:101:
> parse error before string constant
> webInterface.c:3311: warning: no previous prototype for `initWeb'
> *** Error exit code 1
>
> I took the gcc 3.1 (3.2 has the same problem) from hpux.asknet.de
>
> Why do i get errors in the header files delivered in the ported gcc ?
>
> S.Marquardt
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> www.mimesweeper.com
> **********************************************************************
>
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************