[analog-help] Solaris / cc
make is failing when running on our Solaris system cc -O2 -DNODNS -DNEED_STRCMP -DUNIX -c alias.c "./analhea2.h", line 410: warning: signed is a keyword in ANSI C "./analhea2.h", line 410: undefined or not a type: signed "./analhea2.h", line 410: warning: "typedef" valid only for function declaration "./analhea2.h", line 410: parameter not in identifier list: choice "./analhea2.h", line 411: warning: only "register" valid as formal parameter storage class "./analhea2.h", line 412: warning: only "register" valid as formal parameter storage class "./analhea2.h", line 414: warning: only "register" valid as formal parameter storage class "./analhea2.h", line 415: warning: only "register" valid as formal parameter storage class "./analhea2.h", line 415: warning: dubious tag declaration: struct hashindex "./analhea2.h", line 416: syntax error before or at: choice "./analhea2.h", line 416: warning: undefined or missing type for: choice "./analhea2.h", line 417: warning: only "register" valid as formal parameter storage class "./analhea2.h", line 418: warning: only "register" valid as formal parameter storage class "./analhea2.h", line 418: syntax error before or at: * "./analhea2.h", line 418: function cannot return function or array "./analhea2.h", line 422: warning: only "register" valid as formal parameter storage class "./analhea2.h", line 422: warning: dubious struct declaration; use tag only: unnamed "./analhea2.h", line 428: warning: only "register" valid as formal parameter storage class "./analhea2.h", line 428: warning: dubious struct declaration; use tag only: unnamed "./analhea2.h", line 431: syntax error before or at: inputfnp "./analhea2.h", line 431: cannot recover from previous errors *** Error code 10 make: Fatal error: Command failed for target `alias.o' any suggestions ? Pete Wileman Systems , Jaguar Cars , B/4/015 +44 2476 203609 email: [EMAIL PROTECTED] 8726-3609 (PWILEMAN) This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe analog-help" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] Solaris / cc
- Original Message - From: Wileman, Peter (P.) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 25, 1999 8:00 AM Subject: [analog-help] Solaris / cc make is failing when running on our Solaris system cc -O2 -DNODNS -DNEED_STRCMP -DUNIX -c alias.c "./analhea2.h", line 410: warning: signed is a keyword in ANSI C "./analhea2.h", line 410: undefined or not a type: signed I use the Sun WorkShop C compiler in /opt/SUNWspro/bin/cc . If anyone has successfully compiled this stuff with /usr/ucb/cc , I'm curious to know how you did it! In fact, reading from the man page: DESCRIPTION /usr/ucb/cc is the interface to the BSD Compatibility Pack- age C compiler. It is a script that looks for the link /usr/ccs/bin/ucbcc to the C compiler. /usr/ccs/bin/ucbcc is available only with the SPROcc package, whose default loca- tion is /opt/SUNWspro. /usr/ucb/cc is identical to /usr/ccs/bin/ucbcc, except that BSD headers are used and BSD libraries are linked before base libraries.The /opt/SUNWspro/man/man1/acc.1 man page is available only with the SPROcc package. Doing a man of acc and looking through the options, maybe you could try adding one of -X[a|c|s|t] cheers, Simon This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe analog-help" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] Solaris / cc
Wileman, Peter (P.) wrote: make is failing when running on our Solaris system ... lots of stuff cut any suggestions ? As far as I remember, Solaris cc is not ANSI standard (at least it wasn't some versions ago). If the analog code is, it may be better to grab a copy of gcc and compile with that. That's what we did. I only had one problem when compiling with gcc, and that was because of a missing double quote in the analhead file. Wallace. -- == Wallace Nicoll [EMAIL PROTECTED] City of Edinburgh Council IT Services, Chesser House, 500 Gorgie Road,Phone : 0131 469 5343 Edinburgh, EH11 3YJ, ScotlandFax : 0131 469 5335 [From overseas [P]+441314695343 [F]+441314695335 ] == This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe analog-help" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/