[XML-SIG] build problems: xml-0.5

George J McNinch George McNinch <George.J.McNinch.1@nd.edu>
11 Dec 1998 09:47:42 -0500


This is a MIME multipart message.  If you are reading
this, you shouldn't.

--=-=-=

Hi--

I have not been able to build xml-0.4 or xml-0.5

gmcninch@galois 7% uname -a
IRIX galois 6.2 03131015 IP22

I'm _not_ using gcc, but IRIX cc.

Find attached the compile log.

Best,
George McNinch


--=-=-=
Content-Disposition: inline;
 filename="~/lib/python/xml-0.5/compile_outcome.txt"

cd /usr/people/gmcninch/lib/python/xml-0.5/
make -k 
	cd expat ; make libexpat.a CC="cc -n32" CFLAGS=" -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse"
	cc -n32 -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse -o gennmtab/gennmtab gennmtab/gennmtab.c
	rm -f xmltok/nametab.h
	gennmtab/gennmtab >xmltok/nametab.h
	cc -n32 -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse -c -o xmltok/xmltok.o xmltok/xmltok.c
	cc -n32 -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse -c -o xmltok/xmlrole.o xmltok/xmlrole.c
	cc -n32 -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse -c -o xmlwf/xmlwf.o xmlwf/xmlwf.c
	cc -n32 -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse -c -o xmlwf/codepage.o xmlwf/codepage.c
	cc -n32 -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse -c -o xmlparse/xmlparse.o xmlparse/xmlparse.c
"xmlparse/xmlparse.c", line 723: error(1131): expected a field name
    int tok = XmlContentTok(encoding, start, end, &next);
              ^

"xmlparse/xmlparse.c", line 723: error(1131): expected a field name
    int tok = XmlContentTok(encoding, start, end, &next);
              ^

"xmlparse/xmlparse.c", line 754: error(1131): expected a field name
    int tok = XmlContentTok(encoding, start, end, &next);
              ^

"xmlparse/xmlparse.c", line 754: error(1131): expected a field name
    int tok = XmlContentTok(encoding, start, end, &next);
              ^

"xmlparse/xmlparse.c", line 1510: error(1131): expected a field name
      int tok = XmlPrologTok(encoding, s, end, &next);
                ^

"xmlparse/xmlparse.c", line 1510: error(1131): expected a field name
      int tok = XmlPrologTok(encoding, s, end, &next);
                ^

"xmlparse/xmlparse.c", line 1807: error(1131): expected a field name
      int tok = XmlPrologTok(encoding, s, end, &next);
                ^

"xmlparse/xmlparse.c", line 1807: error(1131): expected a field name
      int tok = XmlPrologTok(encoding, s, end, &next);
                ^

"xmlparse/xmlparse.c", line 1925: warning(1110): statement is unreachable
        break;
        ^

"xmlparse/xmlparse.c", line 2007: error(1131): expected a field name
      int tok = XmlEntityValueTok(encoding, entityTextPtr, entityTextEnd, &next);
                ^

"xmlparse/xmlparse.c", line 2007: error(1131): expected a field name
      int tok = XmlEntityValueTok(encoding, entityTextPtr, entityTextEnd, &next);
                ^

10 errors detected in the compilation of "xmlparse/xmlparse.c".
*** Error code 2 (bu21)
	cc -n32 -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse -c -o xmlparse/hashtable.o xmlparse/hashtable.c
	cc -n32 -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse -c -o xmlwf/unixfilemap.o xmlwf/unixfilemap.c
`libexpat.a' not remade because of errors (bu14)
	cc -n32  -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H  -Iexpat/xmlparse -c ./pyexpat.c
"./pyexpat.c", line 297: warning(1164): argument of type "void (*)()" is
          incompatible with parameter of type "XML_StartElementHandler"
  	XML_SetElementHandler(self->itself, my_StartElementHandler,
  	                                    ^

"./pyexpat.c", line 298: warning(1164): argument of type "void (*)()" is
          incompatible with parameter of type "XML_EndElementHandler"
  			      my_EndElementHandler);
  			      ^

"./pyexpat.c", line 299: warning(1164): argument of type "void (*)()" is
          incompatible with parameter of type "XML_CharacterDataHandler"
  	XML_SetCharacterDataHandler(self->itself, my_CharacterDataHandler);
  	                                          ^

"./pyexpat.c", line 301: warning(1164): argument of type "void (*)()" is
          incompatible with parameter of type
          "XML_ProcessingInstructionHandler"
  					    my_ProcessingInstructionHandler);
  					    ^

	ld -n32 -shared -all  pyexpat.o  expat/libexpat.a -o pyexpat.so
ld32: FATAL 9: I/O error (expat/libexpat.a): No such file or directory
*** Error code 32 (bu21)
	cc -n32  -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H  -c ./sgmlop.c
	ld -n32 -shared -all  sgmlop.o  -o sgmlop.so
	cc -n32  -O -I/usr/freeware/include/python1.5 -I/usr/freeware/include/python1.5 -DHAVE_CONFIG_H  -c ./wstrop.c
"./wstrop.c", line 417: warning(1164): argument of type "char *" is
          incompatible with parameter of type "const unsigned char *"
      l1=from_utf8(string+i,&wtmp);
                   ^

"./wstrop.c", line 426: warning(1164): argument of type "char *" is
          incompatible with parameter of type "const unsigned char *"
      tmp+=from_utf8(tmp,wstr->string+i);
                     ^

"./wstrop.c", line 627: warning(1164): argument of type "char *" is
          incompatible with parameter of type "unsigned char *"
      str+=to_utf8(self->string[i],str);
                                   ^

"./wstrop.c", line 807: warning(1164): argument of type "char *" is
          incompatible with parameter of type "unsigned char *"
    utf7_to_ucs2(PyString_AsString(ucs2),string,len,flags);
                 ^

"./wstrop.c", line 829: warning(1164): argument of type "char *" is
          incompatible with parameter of type "unsigned char *"
    len=ucs2_to_utf7(0,PyString_AsString(ucs2),PyObject_Length(ucs2),
                       ^

"./wstrop.c", line 838: warning(1164): argument of type "char *" is
          incompatible with parameter of type "unsigned char *"
    ucs2_to_utf7(PyString_AsString(utf7),PyString_AsString(ucs2),
                                         ^

"./wstrop.c", line 892: warning(1515): a value of type "char *" cannot be
          assigned to an entity of type "unsigned char *"
    s=PyString_AsString(result);
     ^

	ld -n32 -shared -all  wstrop.o  -o wstrop.so
`default' not remade because of errors (bu14)

Compilation finished at Fri Dec 11 09:29:57

--=-=-=--