Re: Open GL and XForms on SGI, IRIX 6.2

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 16 Apr 97 13:56:32 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> cc mainframe.c -L../glut/lib/glut/ -lglut -lGL -lX11 -lm -lGLU -lXmu -o \
> cool -Lsettings/ -lforms -lX11
>
> ld: ERROR 33: Unresolved text symbol "pow" -- 1st referenced by
> settings/libforms.a(flcolor.o).
> ld: INFO 60: Output file removed because of error.
>
> Does anybody have any idea of what we do wrong?

Move `-lm' to *after* the `-lforms'.

Unix linkers are brain damaged and resolve from left to right without
backing up (one of the few things about MVS that I liked -- it didn't
matter what order the LKED parameters were in. :-) ).

spl
_________________________________________________
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/xforms-archive/