Re: libxml1 vs. libxml2 (Gnumeric 1.0.2 unable to read XML files)



On Mon, Jan 21, 2002 at 09:56:11PM +0000, Nicholas Piper wrote:

But by fiddling Makefiles if I remove libxml2 I get build errors:

gui-clipboard.o: In function `x_selection_handler':
/tmp/gnumeric-1.0.2/src/gui-clipboard.c:292: undefined reference to `xmlFree'
plugin-service.o: In function `plugin_service_file_opener_read':
/tmp/gnumeric-1.0.2/src/plugin-service.c:410: undefined reference to `xmlFree'
plugin-service.o: In function `plugin_service_file_saver_read':
/tmp/gnumeric-1.0.2/src/plugin-service.c:684: undefined reference to `xmlFree'
plugin-service.o: In function `plugin_service_function_group_read':
/tmp/gnumeric-1.0.2/src/plugin-service.c:814: undefined reference to `xmlFree'
/tmp/gnumeric-1.0.2/src/plugin-service.c:828: undefined reference to `xmlFree'
plugin.o:/tmp/gnumeric-1.0.2/src/plugin.c:751: more undefined references to `xmlFree' follow
collect2: ld returned 1 exit status

And I can't seem to persuade the gnumeric binary to not link against
libxml1, even when I alter the last call to GCC by hand and remove all
references to xml1. I see that libxml1 DOES contain a function called
xmlFree, so I'm a little confused here.


Is it possible my problems stem from some other libraries dependences?
Which libraries are possible culprits?

All Gnumerics < 1.1.x require libxml1.  The configure script is
pretty explicit about it.  I've had to make several changes in the
gnome2 port to make things work with libxml2.  The problem here is
that you have stale libxml2 headers lying around in places they
should no longer be.  Make sure that you have an up to date libxml1
and make sure that there are no files in
    <prefix>/include/libxml

current libxml1 uses
    <prefix>/include/gnome-xml
current libxml2 uses
    <prefix>/include/libxml2



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