Re: [xml] libxml2-2.6.18 on freebsd

On Tue, Mar 15, 2005 at 03:58:14PM -0500, Liam R. E. Quin wrote:
On Tue, 2005-03-15 at 15:49 -0500, Daniel Veillard wrote:
On Tue, Mar 15, 2005 at 12:29:42PM +0000, Alex Shaw wrote:
../../.libs/ undefined reference to `__signbit'

  paphio:~/XML -> grep __signbit *.c
  paphio:~/XML -> grep __signbit *.c include/libxml/*.h
  paphio:~/XML ->

Well, you should search for _signbit or signbit, since the compiler
may have prepended the _ for a static/private variable.

  there is two __ and that's usually a convention when remapping a
public library (libc in that case) symbol to an internal one or a 
macro in the system includes. 
  The signbit() call is from trio the compatibility library (apparently
the libc is missing some of the "advanced" function libxml2 needs or
well that configure think it is needed). In this case signbit is for
floating point portability for XPath.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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