[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
compile error primaxd-0.5 IS OVER !
From: Ed Kapitein ####@####.#### Date: 26 Feb 2002 21:09:46 -0000 Message-Id: <02022621562100.01896@pced> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks all, I upgraded to: libxml2-devel-2.4.16-1.i386.rpm libxml2-2.4.16-1.i386.rpm And all works just fine now ! Thanks a lot and happy scanning, @ On Sunday 24 February 2002 19:20, Ed Kapitein wrote: > Thanks, > > The entry > int xmlSaveFormatFile (const char *filename, > xmlDocPtr cur, int format); > > Is completly missing in my (2.3.6) version ! > /usr/include/libxml/tree.h > > So upgrading seems to be the way to go. > > Il; try that later. thanks a lot and keep on mailing. > Kind regards, > @ > > On Sunday 24 February 2002 18:32, Michal Kostrzewa wrote: > > Hello, > > > > > Thanks for the advice, but the problem stays the same. > > > I have: > > > > > > ed@pced:~ > ls -l /usr/lib/libxml2*.* > > > /usr/lib/libxml2.so.2 -> libxml2.so.2.3.6 > > > /usr/lib/libxml2.so.2.3.6 > > > > I think, that your problem is not about dynamic libraries. You've said, > > that you have compilation error saying that there is no function like > > > > xmlSaveFormatFile Your error is: > > > > /SOURCES/primaxd-0.5/primaxd/config_file.c:125: undefined reference > > > > to `xmlSaveFormatFile' > > > > so, the problem is, that you have broken/invalid header files of libxml. > > Check if in header file tree.h, from libxml (for me its > > /usr/include/libxml2/libxml/tree.h) there is a declaration of > > xmlSaveFormatFile (I have that, it looks like that:) > > > > int xmlSaveFormatFile (const char *filename, > > xmlDocPtr cur, > > int format); > > > > I think, that you have header files of libxml (because compiler didn't > > say "can't open parser.h" or something like that), but you have too old > > version of libxml, or your header files versions don't match library (it > > could happen if you have Mandrake/Redhat and install different versions > > of libxml2 and libxml2-devel). I have version 2.4.16, it has > > xmlSaveFormatFile and it's working for me :-) > > > > If you have Mandrake/Redhat, run > > rpm -qa | grep libxml2 > > > > My results are: > > libxml2-devel-2.4.16-1mdk > > libxml2-2.4.16-1mdk > > libxml2-utils-2.4.16-1mdk > > > > > > hope this helps > > best regards > > Michal Kostrzewa > > ####@####.#### - -- <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.16-SMP i686) [Netscape]"> </head> <body> <hr WIDTH="100%"> <br>Ed Kapitein <br><a ####@####.#### <br><a href="http://www.ed.kapitein.net">www.ed.kapitein.net</a> </body> </html> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjx79n0ACgkQVwrfxh5tffpcmgCfScefwOAINn4JUIR2UyE/lcEj EHAAoJadpTqy21wxogcEoVYFQn3Kckpw =gCiJ -----END PGP SIGNATURE----- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |