Subject: | 1.56 Won't Compile On Solaris8 With libxml2-2.6.0 |
Using Solaris8, gcc 3.3.x, libxml2-2.6.0
Compilation dies with:
gcc -B/usr/ccs/bin/ -c -I/usr/local/include/libxml2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.56\" -DXS_VERSION=\"1.56\" -fPIC "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" -DHAVE_UTF8 -DHAVE_BLANK LibXML.c
In file included from LibXML.xs:31:
/usr/local/include/libxml2/libxml/DOCBparser.h:16:2: warning: #warning "The DOCBparser module has been deprecated in libxml2-2.6.0"
LibXML.xs:73: error: duplicate `extern'
LibXML.xs:74: error: duplicate `extern'
LibXML.xs:76: error: duplicate `extern'
LibXML.xs:77: error: duplicate `extern'
LibXML.xs:78: error: duplicate `extern'
LibXML.xs:79: error: duplicate `extern'
make: *** [LibXML.o] Error 1
To fix:
remove "extern" string from LibXML.xs, lines 73,74, 76-79