This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compile "error 1705"
- From: Ingo Krabbe <ikrabbe dot ask at web dot de>
- To: gcc-help at gcc dot gnu dot org
- Cc: "Marco Borsani" <m dot borsani at it dot net>
- Date: Tue, 6 Dec 2005 10:35:41 +0100
- Subject: Re: Compile "error 1705"
- References: <006501c5fa47$295bc7f0$0900d40a@intranet.it.net>
Am Dienstag, 6. Dezember 2005 10:26 schrieb Marco Borsani:
> Hi all!
>
> I need to compile on HP-UX 11.00, but as soon as I run "gmake" I receive
> these error messages:
> gmake install
> cd src && gmake -
> gmake[1]: Entering directory `/var/DEPOT/smstools-1/src'
> cc -D NOSTATS -c -o extras.o extras.c
> (Bundled) cc: "extras.h", line 21: warning 5: "const" will become keyword.
> (Bundled) cc: "extras.h", line 21: error 1000: Unexpected symbol:"char".
> (Bundled) cc: "extras.h", line 21: warning 5: "const" will become keyword.
> ............................................................
>
> If I delete alla "const" strings (like someone suggest me) I will receive:
> gmake install
> cd src && gmake -
> gmake[1]: Entering directory `/var/DEPOT/smstools-1/src'
> cc -D NOSTATS -c -o extras.o extras.c
> Bundled) cc: "extras.h", line 21: error 1705: Function prototypes are an
> ANSI feature.
> Bundled) cc: "extras.h", line 27: error 1705: Function prototypes are an
> ANSI feature.
> ...........................................
>
> My releases are:
> gmake -v
> GNU Make 3.80
> gcc -v
> gcc version 4.0.0
>
> Any idea?
> Regards
> Marco
I might be wrong but this doesn't look like gcc output !
Please set CC="gcc", remove your cc from your path or configure the build
process in the makefile to use the compiler of your choice. Look also at
'which cc' and 'which gcc' and if you don't have 'which' compile gnu
coreutils and/or bash ...