[xslt] Tutorial compile problem...



Since I updated to libxslt-1.0.7 and libxml-2.4.10, programs linked
against libxslt have not been compiling. This includes the libxslt
tutorial in the doc directory of the libxslt release.

I'm running FreeBSD4.4-STABLE, and here is the output of my failed
tutorial compilation:


seward:/tmp> gcc -o libxslt_tutorial -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/libxslt -L/usr/local/lib -lxml2 -lxslt libxslt_tutorial.c
In file included from libxslt_tutorial.c:31:
/usr/local/include/libxslt/xslt.h:51: syntax error before `extern'
/usr/local/include/libxslt/xslt.h:58: syntax error before `extern'
/usr/local/include/libxslt/xslt.h:65: syntax error before `extern'
/usr/local/include/libxslt/xslt.h:72: syntax error before `extern'
seward:/tmp>

-- 
Christopher Farley
www.northernbrewer.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]