Re: [xslt] Tutorial compile problem...

On Wed, Nov 14, 2001 at 11:36:11AM -0600, Christopher Farley wrote:
> 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>

  Fixed in CVS, add


before the first occurence,


Daniel Veillard      | Red Hat Network  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

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