primax: Thread: compile error primaxd-0.5


[<<] [<] Page 1 of 1 [>] [>>]
Subject: compile error primaxd-0.5
From: Ed Kapitein ####@####.####
Date: 31 Jan 2002 21:28:23 -0000
Message-Id: <02013122241902.01155@pced>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I have been off the list for a while, but tried to compile primaxd-0.5
today
and ended up with a:

/SOURCES/primaxd-0.5/primaxd/config_file.c:125: undefined reference to 
`xmlSaveFormatFile'

error. I am not a programmer but can someone  point me in the right direction 
?
All help is greatly apreciated.

Kind regards,
@

PS could not find anything in the mailing list...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjxZthMACgkQVwrfxh5tffotwQCff9rl78wT1j6Mk697vKMw+ceP
6J8AoKdYsHZzK9k1ifva9crJ87IfXElG
=f6Qm
-----END PGP SIGNATURE-----
Subject: Re: compile error primaxd-0.5
From: Andre Herms ####@####.####
Date: 31 Jan 2002 21:38:35 -0000
Message-Id: <200201312133.g0VLXhX17723@sunny.urz.uni-magdeburg.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, 31. Januar 2002 22:24 schrieben Sie:
> Hi there,
>
> I have been off the list for a while, but tried to compile primaxd-0.5
> today
> and ended up with a:
>
> /SOURCES/primaxd-0.5/primaxd/config_file.c:125: undefined reference to
> `xmlSaveFormatFile'
You have to install libxml2. Maybe you have libxml installed. This is not 
enough. Please install the package for your distribution or get it directly 
from www.xmlsoft.org.

It should work with this.

Bye
	Andre

- -- 
Andre Herms                   ####@####.####
                              http://www.cs.uni-magdeburg.de/~aherms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8WbiEK/HaDUFBducRAgYvAJ4uGdkiLjJYZhD+jC3t9gfjaK39BACcCAqE
XI3mgVeI5QXkpOH5e1PO1I4=
=ZvD0
-----END PGP SIGNATURE-----
Subject: compile error primaxd-0.5
From: "Mike Rothon" ####@####.####
Date: 4 Feb 2002 16:53:53 -0000
Message-Id: <01b301c1ad9b$dfa4f330$7d01a8c0@mike>

> I have been off the list for a while, but tried to compile primaxd-0.5
> today and ended up with a:

> /SOURCES/primaxd-0.5/primaxd/config_file.c:125: undefined reference to
> `xmlSaveFormatFile'

> error. I am not a programmer but can someone  point me in the right
direction ?

I had the same problem, it was a broken symbolic link in /usr/lib which
occurred when I updated libxml2 (part of an Ogle installation).

If you ls -l /usr/lib/libxml2*.* you should have a link from libxml2.o to
whatever version of libxml2 you have (i.e. libxml2.4.13.o).

Mike.

Subject: Re: compile error primaxd-0.5
From: Ed Kapitein ####@####.####
Date: 24 Feb 2002 09:55:37 -0000
Message-Id: <02022410430200.00942@pced>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

So there is my symlink and the file it is pointing to.
(i removed the permissions and date for readability)

Has anybody else some good suggestions?

Kind regards,
@

On Monday 04 February 2002 17:49, Mike Rothon wrote:
> > I have been off the list for a while, but tried to compile primaxd-0.5
> > today and ended up with a:
> >
> > /SOURCES/primaxd-0.5/primaxd/config_file.c:125: undefined reference to
> > `xmlSaveFormatFile'
> >
> > error. I am not a programmer but can someone  point me in the right
>
> direction ?
>
> I had the same problem, it was a broken symbolic link in /usr/lib which
> occurred when I updated libxml2 (part of an Ogle installation).
>
> If you ls -l /usr/lib/libxml2*.* you should have a link from libxml2.o to
> whatever version of libxml2 you have (i.e. libxml2.4.13.o).
>
> Mike.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

- -- 
<!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

iEYEARECAAYFAjx4ta8ACgkQVwrfxh5tffpVFwCgtXxiORvtwRyO7tltF5wwz86Y
8SoAn1C8IU4zmSzuCTmC4blmgO8xAbJz
=/4I9
-----END PGP SIGNATURE-----
Subject: Re: compile error primaxd-0.5
From: Michal Kostrzewa ####@####.####
Date: 24 Feb 2002 17:40:31 -0000
Message-Id: <20020224173529.E4F6FD1DAD@mail.astercity.net>

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
####@####.####

Subject: Re: compile error primaxd-0.5
From: Ed Kapitein ####@####.####
Date: 24 Feb 2002 18:32:46 -0000
Message-Id: <02022419201400.00944@pced>

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>
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.