Re: Gnumeric 1.0.0



From: "J.H.M. Dassen (Ray)" <dm zensunni demon nl>

On Wed, Jan 02, 2002 at 17:49:21 -0500, Dave Reed wrote:
What version of libxml is required for gnumeric-1.0.0?

I've built the current Debian package against 1.8.16 .

gui-clipboard.o: In function `x_selection_handler':
/usr/local/src/gnumeric-1.0.0/src/gui-clipboard.c:292: undefined reference to `xmlFree'

On Debian, /usr/include/gnome-xml/xmlmemory.h (from libxml-dev 1.8.16-1) has

#define NO_DEBUG_MEMORY
[...]
#ifdef NO_DEBUG_MEMORY
[...]
#define xmlFree(x) free((x))
[...]
#else /* ! NO_DEBUG_MEMORY */
[...]
void    xmlFree         (void *ptr);
[...]
#endif /* ! NO_DEBUG_MEMORY */

which amount to
#define xmlFree(x) free((x))

It looks like you wound up with the function declaration instead. 
Perhaps your xmlmemory.h lacks the first define, or your libxml-dev RPM is
out of sync with the libxml runtime RPM?

HTH,
Ray


Thanks to the two replies (one off list), I found the problem. RedHat
7.2 has both libxml and libxml2. The include files for libxml are in
/usr/include/gnome-xml and the include files for libxml2 are in
/usr/include/libxml so the libxml2 include files are being found.

I'm still trying to figure out what the best solution is. I'm thinking
it may be easiest to just to rename directories while I compile and
then rename them back to their original names afterwards.

Dave



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