On Tue, 9 Nov 1999, Allan Rae wrote:

> On Tue, 9 Nov 1999, Bill Simpson wrote:
> 
> > Apparently the xforms installer does not work.
> > I just tried "make demo", and got a string of error messages, and no
> > executable demos. The errors are like this:
> > 
> > collect2: ld returned 1 exit status
> > make[1]: [folder] Error 1 (ignored)
> > gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
> > gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
> > ../FORMS/libforms.so: undefined reference to `_xstat'

Hang on I should have looked closer at the compiler error message.

It was only looking for libforms in ../FORMS and did find it.  BUT, its
that `_xstat' that's the problem.

That symbol looks a bit dodgy.  I can't remember what system you were
running but on my heavily modified RH-5.2 Linux there is an `__xstat'
defined in libX11.  Try running:

strings /usr/X11R6/lib/libX11* | grep xstat

If you don't get a `_xstat' (and I doubt you will) try

strings /usr/X11R6/lib/lib* | grep xstat

and see if any of the other libraries have an `_xstat'

My suspicion is that there is something wrong with the xforms lib you are
trying to install since it would seem to have been linked against a
different set of X11 libraries than you have installed.

Allan. (ARRae)

Reply via email to