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 ...