Re: [xml] Compile Problems xmllinit related?



On Fri, Nov 16, 2001 at 05:58:59PM -0800, Paul Burkett wrote:
Hi, I have received an error when doing a 'make' when compiling the libxml2-2.4.10 source code.

I get the following error:

gcc -g -O2 -Wall -o .libs/xmllint xmllint.o  ./.libs/libxml2.so -L/lib -lz -lm -Wl,--rpath 
-Wl,/usr/local/lib
./.libs/libxml2.so: undefined reference to `atexit'
collect2: ld returned 1 exit status
[...]
I am using RedHat 6.2 with kernel-2.2.20, gcc-2.91-66 on an i686-based processor. Any help would be 
appreciated. Thanks.

  Hum, there is no directed referecence to atexit from libxml source code.
This might be due to a mismatch between your compiler environment and
the installed system, or something else, I really don't know.

  However I notice there is (again) some references to exit() from
the library, this is bad I don't remember when they got reintroduced
I will remove them. But I doubt it's the real cause of the problem you're
seeing.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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