XForms: Newbie... Compiling problems

Christian Gau (Christian.Gau@majestix.rhein-main.de)
Fri, 30 May 1997 02:15:02 +0200

To subscribers of the xforms list from Christian Gau <Christian.Gau@majestix.rhein-main.de> :

Hello everybody,

since I started to use xforms two weeks ago or so - just because I want
to use a XFMail which is based on it - I am certainly a Newbie. Therfore
I apology for any repitition of a question that has been answered a
thousand times before.

Unfortunetely my problems started at the very beginning - during

First thing first: I am using Linux 2.0.29 (SuSE Distribution 4.4),
XFree86 3.2 (xpm-library is updated to 3.4j) with a P100. I downloaded
bxforms-086.tgz from einstein.phys.uwm.edu/pub/xforms/linux/elf (elf
filesystem is of course compiled in the kernel) and treid to make the
demos - just to find out if everything is allright. The result looks
like this:

asterix:/usr/src/xforms # make
make[1]: Entering directory `/usr/src/xforms/DEMOS'
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
demo.o: In function `main':
demo.o(.text+0xf7): undefined reference to `fl_clear_command_log'
demo.o: In function `dobut':
demo.o(.text+0x648):  `fl_addto_command_log'
demo.o(.text+0x654): undefined reference to `fl_addto_command_log'
demo.o(.text+0x660): undefined reference to `fl_addto_command_log'
demo.o(.text+0x668): undefined reference to `fl_exe_command'
demo.o: In function `showlog':
demo.o(.text+0x6d3): undefined reference to `fl_show_command_log'
make[1]: [demo] Error 1 (ignored)
gcc -c -O -fPIC -I../FORMS -I/usr/X11R6/include -Ifd borderwidth.c
gcc -O -s  borderwidth.o  -o borderwidth -L../FORMS -lforms
-L/usr/X11R6/lib -lX11 -lm
borderwidth.o: In function `create_form_bwform':
borderwidth.o(.text+0x29b): undefined reference to
make[1]: [borderwidth] Error 1 (ignored)
gcc -c -O -fPIC -I../FORMS -I/usr/X11R6/include -Ifd xyplotover.c

I assume that these "undefined reference to" indicate that something went wrong. Compiling the XFMail-Sources produces similar results. Of course I have got a lot more error logging with other undefined references. What do I have to do?

Thanks in advance for every hint.

Greetings, Christian _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/