1.0.2 Compilation problem



Hi,

I have this problem, when issuing 'make':

/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:418: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:426: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:431: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:436: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:438: warning: pointer of type `void *' used
in arithmetic
/usr/include/bits/string2.h:443: warning: pointer of type `void *' used
in arithmetic
bonobo-io.c: In function `gnumeric_bonobo_write_workbook':
bonobo-io.c:271: structure has no member named `root'
bonobo-io.c: In function `gnumeric_bonobo_read_workbook':
bonobo-io.c:464: structure has no member named `root'
bonobo-io.c:487: structure has no member named `root'
make[3]: *** [bonobo-io.o] Error 1
make[3]: Leaving directory `/usr/src/gnumeric-1.0.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gnumeric-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnumeric-1.0.2'
make: *** [all-recursive-am] Error 2

I've fixed this changing root to children, since xmlDocPtr doesn't have
root, everything it's in the children.

Then I got linking problems complaining about undefined reference to
xmlFree. I think libxml.so doesn't have xmlFree.

I tryied to fix it by changing some xmlFree to free, and others to
xmlFreeProp, but they are too much, so I prefer to ask here, what
happend?

--prefix=/opt/gnome --with-gnu-ld --disable-static \
--with-bonobo --with-guile --with-gb \
--with-evolution --with-gda --with-python
                
-- 
Felipe Contreras



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