XForms: xforms v0.86 and MkLinux compile problems

Charles Buckheit (cbukheit@eagle1.eaglenet.com)
Fri, 30 May 97 15:47:23 -0400

To subscribers of the xforms list from Charles Buckheit <cbukheit@eagle1.eaglenet.com> :

I had some problems with the listserver, so I thought I'd post this again, just to make sure it got through. It details problems getting version 0.86 xforms to compile. See below for more info.

VR, Charlie

|||||||||||||||||||||||| the details ||||||||||||||||||||||||
\/\/\/\/\/\/\/\/\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/
heres what I get when I make the demo app with libforms.so available (i.e. link in place):

charlie 5 % make demo
gcc -c -O -fPIC -I../FORMS -I/usr/X11R6/include -Ifd demo.c
gcc -O -s demo.o -o demo -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
../FORMS/libforms.so: undefined reference to `__xstat'
make: [demo] Error 1 (ignored)
charlie 6 %

when the soft link to libforms.so is removed, forcing use of libforms.a:

charlie 21 % make demo
gcc -c -O -fPIC -I../FORMS -I/usr/X11R6/include -Ifd demo.c
gcc -O -s demo.o -o demo -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
ld: flcolor.o: Relocation R_PPC_LOCAL24PC is not yet supported for symbol _GLOBAL_OFFSET_TABLE_.
ld: flcolor.o: Relocation R_PPC_PLTREL24 is not yet supported for symbol sprintf.
ld: flcolor.o: Relocation R_PPC_LOCAL24PC is not yet supported for symbol _GLOBAL_OFFSET_TABLE_.
ld: flcolor.o: Relocation R_PPC_PLTREL24 is not yet supported for symbol strcmp.
ld: flcolor.o: Relocation R_PPC_PLTREL24 is not yet supported for symbol __strtol_internal.
ld: flcolor.o: Relocation R_PPC_LOCAL24PC is not yet supported for symbol _GLOBAL_OFFSET_TABLE_.
ld: flcolor.o: Relocation R_PPC_PLTREL24 is not yet supported for symbol whereError.
ld: flcolor.o: Relocation R_PPC_PLTREL24 is not yet supported for symbol whereError.
ld: flcolor.o: Relocation R_PPC_PLTREL24 is not yet supported for symbol pow.
ld: flcolor.o: Relocation R_PPC_PLTREL24 is not yet supported for symbol pow.