XForms: xforms compilation problem

From: Dimitris Tsagatakis (dtsagas@otenet.gr)
Date: Mon Jun 17 2002 - 11:45:36 EDT

  • Next message: Krishna Kotnana: "XForms: Shared Library"

    # To subscribers of the xforms list from "Dimitris Tsagatakis" <dtsagas@otenet.gr> :

    Hi,

    I am trying to compile xforms (latest version) on my system (Linux From
    Scratch).
    During the "make demo" process all I get is lines like these:

    make[1]: Entering directory `/usr/local/src/xforms/DEMOS'
    gcc -c -O2 -fPIC -I../FORMS -I../xpm-3.4k -I/usr/X11R6/include -I../../jpeg
    -6b -Ifd freedraw.c
    gcc -O2 -s freedraw.o -o
    freedraw -L../FORMS -lforms -L../../jpeg-6b/ -ljpeg -L../xpm-3.4k/lib -lXp
    m -L/usr/X11R6/lib -lX11 -lm
    ../FORMS/libforms.so: the use of `tmpnam' is dangerous, better use `mkstemp'
    /usr/bin/ld: warning: libc.so.5, needed by ../FORMS/libforms.so, not found
    (try using -rpath or -rpath-link)
    ../FORMS/libforms.so: undefined reference to `_xstat'
    ../FORMS/libforms.so: undefined reference to `__setjmp'
    collect2: ld returned 1 exit status
    make[1]: [freedraw] Error 1 (ignored)
    gcc -c -O2 -fPIC -I../FORMS -I../xpm-3.4k -I/usr/X11R6/include -I../../jpeg
    -6b -Ifd demo.c
    gcc -O2 -s demo.o -o
    emo -L../FORMS -lforms -L../../jpeg-6b/ -ljpeg -L../xpm-3.4k/lib -lXpm -L/
    usr/X11R6/lib -lX11 -lm
    ../FORMS/libforms.so: the use of `tmpnam' is dangerous, better use `mkstemp'
    /usr/bin/ld: warning: libc.so.5, needed by ../FORMS/libforms.so, not found
    (try using -rpath or -rpath-link)
    ../FORMS/libforms.so: undefined reference to `_xstat'
    ../FORMS/libforms.so: undefined reference to `__setjmp'
    collect2: ld returned 1 exit status
    make[1]: [demo] Error 1 (ignored)

    .....................

    The process ends with these lines:

    make[1]: [newbutton] Error 1 (ignored)
    make[1]: Leaving directory `/usr/local/src/xforms/DEMOS'

    I noticed the warning about libc.so.5. I couldn't find this file,
    and I tried "ln -s /lib/libc.so.6 /libc.so.5" (maybe it's a stupid
    thought, I don't know). Then the libc.so.5 warning stopped appearing
    but the rest of the compile-problems remained.

    Could you help please?

    Jim, Greece.

    _________________________________________________
    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 : Mon Jun 17 2002 - 11:51:38 EDT