Hi,

I am trying to compile analog 6.0 on our IBM webserver. It is AIX version 5.3 with the IBM XL C Compiler version 7.0.0.6. A bunch of files compile, but I a bunch of errors once it tries to compile outxml.c. Here is the log:

% make
       cc             -O2      -DUNIX          -c alias.c
       cc             -O2      -DUNIX          -c analog.c
       cc             -O2      -DUNIX          -c cache.c
       cc             -O2      -DUNIX          -c dates.c
       cc             -O2      -DUNIX          -c globals.c
       cc             -O2      -DUNIX          -c hash.c
       cc             -O2      -DUNIX          -c init.c
       cc             -O2      -DUNIX          -c init2.c
       cc             -O2      -DUNIX          -c input.c
       cc             -O2      -DUNIX          -c macinput.c
       cc             -O2      -DUNIX          -c macstuff.c
       cc             -O2      -DUNIX          -c output.c
       cc             -O2      -DUNIX          -c output2.c
       cc             -O2      -DUNIX          -c outcro.c
       cc             -O2      -DUNIX          -c outhtml.c
       cc             -O2      -DUNIX          -c outlatex.c
       cc             -O2      -DUNIX          -c outplain.c
       cc             -O2      -DUNIX          -c outxhtml.c
       cc             -O2      -DUNIX          -c outxml.c
"outxml.c", line 12.1: 1506-046 (S) Syntax error.
"outxml.c", line 12.4: 1506-166 (S) Definition of function outxml requires parentheses. "outxml.c", line 13.44: 1506-191 (E) The character @ is not a valid C source character. "/usr/include/stdio.h", line 161.3: 1506-273 (E) Missing type in declaration of FILE. "/usr/include/stdio.h", line 167.8: 1506-166 (S) Definition of function FILE requires parentheses. "/usr/include/stdio.h", line 167.17: 1506-276 (S) Syntax error: possible missing '{'? "/usr/include/sys/inttypes.h", line 59.9: 1506-045 (S) Undeclared identifier intmax_t. "/usr/include/sys/inttypes.h", line 61.3: 1506-273 (E) Missing type in declaration of imaxdiv_t. "/usr/include/sys/inttypes.h", line 64.8: 1506-166 (S) Definition of function intmax_t requires parentheses. "/usr/include/sys/inttypes.h", line 64.17: 1506-276 (S) Syntax error: possible missing '{'? "/usr/include/sys/inttypes.h", line 68.30: 1506-045 (S) Undeclared identifier __nptr. "/usr/include/sys/inttypes.h", line 68.38: 1506-045 (S) Undeclared identifier __endptr. "/usr/include/sys/inttypes.h", line 68.48: 1506-045 (S) Undeclared identifier __base. "/usr/include/sys/inttypes.h", line 89.8: 1506-166 (S) Definition of function intmax_t requires parentheses. "/usr/include/sys/inttypes.h", line 89.17: 1506-276 (S) Syntax error: possible missing '{'? "/usr/include/sys/types.h", line 316.3: 1506-273 (E) Missing type in declaration of sigset_t.
"/usr/include/sys/types.h", line 328.9: 1506-046 (S) Syntax error.
"/usr/include/sys/types.h", line 363.9: 1506-046 (S) Syntax error.
"/usr/include/sys/vm_types.h", line 36.9: 1506-166 (S) Definition of function ulong_t requires parentheses. "/usr/include/sys/vm_types.h", line 36.25: 1506-276 (S) Syntax error: possible missing '{'? "/usr/include/sys/vm_types.h", line 138.9: 1506-045 (S) Undeclared identifier vmhandle_t. "/usr/include/sys/vm_types.h", line 139.9: 1506-045 (S) Undeclared identifier caddr_t. "/usr/include/sys/vm_types.h", line 144.3: 1506-273 (E) Missing type in declaration of vmaddr_t.
"/usr/include/sys/vm_types.h", line 154.9: 1506-046 (S) Syntax error.
"/usr/include/sys/vm_types.h", line 246.9: 1506-166 (S) Definition of function vmhandle_t requires parentheses. "/usr/include/sys/vm_types.h", line 246.25: 1506-276 (S) Syntax error: possible missing '{'? "/usr/include/sys/m_types.h", line 52.27: 1506-275 (S) Unexpected text iar encountered. "/usr/include/sys/m_types.h", line 52.9: 1506-045 (S) Undeclared identifier ulong_t. "/usr/include/sys/m_types.h", line 53.27: 1506-275 (S) Unexpected text stack encountered. "/usr/include/sys/m_types.h", line 54.27: 1506-275 (S) Unexpected text toc encountered. "/usr/include/sys/m_types.h", line 55.27: 1506-275 (S) Unexpected text cr encountered. "/usr/include/sys/m_types.h", line 56.27: 1506-275 (S) Unexpected text intpri encountered. "/usr/include/sys/m_types.h", line 57.27: 1506-277 (S) Syntax error: possible missing ';' or ','? "/usr/include/sys/m_types.h", line 67.3: 1506-273 (E) Missing type in declaration of label_t. "/usr/include/sys/m_types.h", line 69.9: 1506-166 (S) Definition of function int32long64_t requires parentheses. "outxml.h", line 13.44: 1506-191 (E) The character @ is not a valid C source character. "outxml.h", line 22.3: 1506-191 (E) The character # is not a valid C source character. "outxml.h", line 36.52: 1506-209 (S) Character constants must end before the end of a line. "outxml.h", line 36.33: 1506-076 (W) Character constant 't have strptime().' has more than 4 characters. No more than rightmost 4 characters are used. "outxml.h", line 57.3: 1506-191 (E) The character # is not a valid C source character. "outxml.c", line 31.36: 1506-1118 (W) Character constant 'outf' has more than 1 character. "outxml.c", line 32.7: 1506-076 (W) Character constant 't have an ' has more than 4 characters. No more than rightmost 4 characters are used. "outxml.c", line 32.61: 1506-209 (S) Character constants must end before the end of a line. "outxml.c", line 32.23: 1506-076 (W) Character constant ' argument can use XML_TRACE() anyway.' has more than 4 characters. No more than rightmost 4 characters are used. "outxml.c", line 103.50: 1506-209 (S) Character constants must end before the end of a line. "outxml.c", line 103.25: 1506-076 (W) Character constant 't upset the compiler :-)' has more than 4 characters. No more than rightmost 4 characters are used. "outxml.c", line 191.66: 1506-1118 (W) Character constant 'back' has more than 1 character. "outxml.c", line 231.20: 1506-189 (S) Floating point constant 5.90b1 is not valid. "outxml.c", line 231.74: 1506-209 (S) Character constants must end before the end of a line. "outxml.c", line 231.32: 1506-076 (W) Character constant 's something funky going on with subsortby' has more than 4 characters. No more than rightmost 4 characters are used. "outxml.c", line 232.20: 1506-189 (S) Floating point constant 5.90b2 is not valid. "outxml.c", line 443.80: 1506-209 (S) Character constants must end before the end of a line. "outxml.c", line 443.18: 1506-076 (W) Character constant 't care, but by testing it we avoid printing the column twice.' has more than 4 characters. No more than rightmost 4 characters are used. "outxml.c", line 844.84: 1506-209 (S) Character constants must end before the end of a line. "outxml.c", line 844.6: 1506-076 (W) Character constant 's a bit of a kludge, but will have to do till Stephen implements a method for' has more than 4 characters. No more than rightmost 4 characters are used. "outxml.c", line 872.91: 1506-189 (S) Floating point constant 0..6 is not valid. "outxml.c", line 994.15: 1506-076 (W) Character constant 're used in the output, they' has more than 4 characters. No more than rightmost 4 characters are used.
make: 1254-004 The error code from the last command is 1.


Stop.
%

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to