There i sno need for original expat files.
You try to link your own code with Sablotron. OK?
Note, that Sablotron has unresolved links to Expat API, in other words,
expat libs are *not* given with -l switch while linking Sablotron.
All programs using sablotron have to specify:
-lsablot -lxmlparse -lxmltok
It may look like an obsolete complication, but we managed linking in
this way to enable linking of another Expat installations (possibly renamed)
regards
Pavel
Sterling Hughes wrote:
> Hi,
>
> Sorry for the bad post, after trying a million things I finally got it to
> work...
>
> Here's what I had to do.
>
> Install the Expat libs with sablot
> *then*
> go to www.jclark.com and add the following rule to the Expat Makefile to build
> libexpat.a:
>
> libexpat.a: $(OBJS)
> ar -rc $@ $(OBJS)
> ranlib $@
>
> Finally I had to copy libexpat.a into /usr/local/lib and then everything worked
> fine.
>
> Again, I'm Sorry for the unneccessary traffic.
>
> -Sterling
>
>
>
> > Hi,
> > I've been trying to work with the Sablotron v0.43, and everything in my
> code
> > works and compiles fine, but when I get to the linking phase I get the
> following
> > errors:
> >
> > /usr/local/lib/libsablot.so: undefined reference to 'XML_ParserCreateNS'
> > /usr/local/lib/libsablot.so: undefined reference to 'XML_SetElementHandler'
> > ...
> > ...
> >
> > I've installed Sablot v0.43 like so:
> >
> > 1) Download the Sablot and the Related Expat packages from gingerall.com
> > 2) unpack them,
> > Expat in /Expat
> > Sablot in /Sablot-0.43
> > 3)
> > # cp -rf Expat Sablot-0.43/
> >
> > 4)
> > # cd Sablot-0.43
> > # ./configure
> > # make
> > # make install
> >
> >
> > No errors occur, and Sablot reports that its been installed correctly, the
> libs
> > are in the correct place /usr/local/lib and the header files are in
> > /usr/local/include/ but I can't seem to make this work. Does anyone know why?
> >
> >
> > Thank you,
> > Sterling Hughes
> > [EMAIL PROTECTED]
> >
> >
>
--
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic