Re: XForms: Old app won't build under 1.0RC4

From: Rob Lahaye (lahaye@snu.ac.kr)
Date: Fri Aug 30 2002 - 00:48:05 EDT

  • Next message: Jeff: "Re: Never mind - XForms: Old app won't build under 1.0RC4"

    # To subscribers of the xforms list from Rob Lahaye <lahaye@snu.ac.kr> :

    Jeff wrote:
    > # To subscribers of the xforms list from Jeff
    > <piercejhsd009@earthlink.net> :
    >
    > I tried to build a app under under 1.0RC4. I downloaded, built and
    > installed it no problems.
    > I removed 0.89 libraries and checked ldconfig and it showed:
    > libforms.so.1 (libc6) => /usr/X11R6/lib/libforms.so.1
    > libforms.so (libc6) => /usr/X11R6/lib/libforms.so
    > Ok, I run my apps Makefile and I get the following errors.
    > gcc -c -o testgui_main.o testgui_main.c
    > gcc -c -o testgui_cb.o testgui_cb.c
    > gcc -c -o testgui.o testgui.c
    > gcc -o testgui -L/usr/X11R6/lib -lX11 -lforms -lm testgui_main.o
    > testgui_cb.o testgui.o
    > /usr/X11R6/lib/libforms.so: undefined reference to
    > `XpmCreatePixmapFromData'

    What if you add -lXpm to the last gcc line?

    R.

    _________________________________________________
    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://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Fri Aug 30 2002 - 00:49:51 EDT