XForms: trouble compiling with version 0.89 on linux

Rouben Rostamian (rostamian@umbc.edu)
Sat, 4 Sep 1999 08:35:44 -0400

# To subscribers of the xforms list from "Rouben Rostamian" <rostamian@umbc.edu> :

I upgraded my linux box to use glibc2, and accordingly
replaced the old xforms library with bxform-089-glibc2.1.tgz.

I am no longer able to link with the xforms library.
Even the simple demo file, "pushme.c", does not compile.
I get a long stream of messages of the following type:

prompt% gcc pushme.c -lforms -lX11 -lm

/usr/local/lib/libforms.so: undefined reference to `strncat@@GLIBC_2.0'
/usr/local/lib/libforms.so: undefined reference to `strchr@@GLIBC_2.0'
/usr/local/lib/libforms.so: undefined reference to `fdopen@@GLIBC_2.1'
/usr/local/lib/libforms.so: undefined reference to `localtime@@GLIBC_2.0'
....

When I link with the static library, libforms.a, the program compiles
just fine.

There are no old carry-over files -- the installation is on a brand new disk.

I am at my wits' end. What could be causing this?

Details:

gcc version is egcs-2.91.66
Had the same problmem with gcc version 2.7.2.3.

-- 
Rouben Rostamian <rostamian@umbc.edu>
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil   or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/