Compile "error 1705"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux