Re: XForms: trouble compiling with version 0.89 on linux

T.C. Zhao (tc_zhao@yahoo.com)
Sat, 11 Sep 1999 11:46:04 -0700 (PDT)

# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

The message is really puzzling. It looks like
the linker is looking for things from
both glibc2 and glibc2.1. I'll re-do the
glibc2.1 version, and poke around a bit more.

--- Rouben Rostamian <rostamian@umbc.edu> wrote:
> # 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/
>
>

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
_________________________________________________
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/