[XForms] Re: Fwd: xform 0.88; undefined reference to `errno'

Jean-Marc Lasgouttes Jean-Marc.Lasgouttes at inria.fr
Tue May 25 08:14:58 EDT 2004


>>>>> "Angus" == Angus Leeming <angus.leeming at btopenworld.com> writes:

>> /usr/local/lib/libforms.so: undefined reference to `errno'
>> /usr/local/lib/libforms.so: undefined reference to `_xstat'

Angus> So you need to also link in the libraries that contain 'errno'
Angus> and '_xstat'.

Angus> 'errno' is part of libc. See 'man errno'. Add '-lc' to the
Angus> options passed to the linker.

Angus> '_xstat' is an implementation detail of the system 'stat' call.
Angus> See 'man stat'. It's also part of libc.

If I remember correctly, this kind of thing can happen when one uses a
xforms library which has not been linked against the right glibc
version.

Bernd, why don't you get the latest xforms version and build it?

JMarc



More information about the Xforms mailing list