Has anyone successfully compiled Sablotron (I'm using 0.36) on any BSD 
OS?  On OpenBSD 2.6 (x86) I get compile errors in the expat sources, which 
I've attached below.

This is probably a makefile-related issue, since the distribution of expat 
from jclark.com compiles just fine using BSD make (I have to use GNU make 
to use the Linux makefiles for Sablotron.)

Are the Sablotron expat sources substantially different from the original 
distribution, i.e., could I just plug in the expat that I can compile to 
get around this problem?  Is anyone working on a BSD port for Sablotron?

Thanks,
Mike Dewberry


gmake[1]: Entering directory `/home/dewb/Sablot-0.36/Expat/Linux'
cc -O2 -I../xmltok -I../xmlparse -I../xmlwf -DXML_NS -fPIC -c -o 
../xmltok/xmltok.o ../xmltok/xmltok.c
In file included from ../xmltok/xmltok.c:32:
../xmltok/xmltok.h:267: syntax error before `XmlParseXmlDecl'
../xmltok/xmltok.h:277: syntax error before `XmlInitEncoding'
../xmltok/xmltok.h:278: syntax error before `*'
../xmltok/xmltok.h:279: syntax error before `*'
../xmltok/xmltok.h:280: syntax error before `XmlUtf8Encode'
../xmltok/xmltok.h:281: syntax error before `XmlUtf16Encode'
../xmltok/xmltok.h:283: syntax error before `XmlSizeOfUnknownEncoding'
../xmltok/xmltok.h:284: syntax error before `*'
../xmltok/xmltok.h:290: syntax error before `XmlParseXmlDeclNS'
../xmltok/xmltok.h:299: syntax error before `XmlInitEncodingNS'
../xmltok/xmltok.h:300: syntax error before `*'
../xmltok/xmltok.h:301: syntax error before `*'
../xmltok/xmltok.h:302: syntax error before `*'


Reply via email to