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

Angus Leeming angus.leeming at btopenworld.com
Tue May 25 06:46:17 EDT 2004


On Monday 24 May 2004 1:45 am, you wrote:
> The source code can be found at
> http://goemon.polito.it/software/lethal/scheda.php?id=26

I get an 'access denied' message when I try and connect.

> I installed the already compiled library of  xform to /usr/local.

Could you tell me what version of XForms you are using?

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

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

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

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

Regards,
Angus





More information about the Xforms mailing list