Re: XForms: Problem compiling xforms 1.0 on SunOS 5.8

From: Alessandro Coluccelli (colucix@bo.ingv.it)
Date: Wed Jun 04 2003 - 05:12:25 EDT

  • Next message: Reed Riddle: "Re: XForms: Testing to see if a key is released"

    # To subscribers of the xforms list from Alessandro Coluccelli <colucix@bo.ingv.it> :

    >
    >
    >Build the source with InstallNonstandard NO
    >then edit the Imakefile to set InstallNonstandard YES. Thereafter
    >$ xmkmf -a; make intstall
    >
    >should work correctly.
    >
    >As for the "-h" problem: I have _no idea_ about Imakefile. Try editting the
    >Makefile by hand to remove it.
    >
    >Angus
    >
    >
    I've done that... InstallNonStandard NO and after $ xmkmf -a command, I
    edited all Makefiles and removed all the occurences of -h option. Still
    I got the following error:

    ld: fatal: option -h and building a dynamic executable are incompatible
    ld: fatal: Flags processing errors
    gmake[1]: *** [libforms.so.1.0] Error 1
    gmake[1]: Leaving directory `/user/home/colucix/xforms-1.0/lib'
    *** Error code 2
    make: Fatal error: Command failed for target `all'

    So... to avoid the -h error I tried to build with BuildShared set to NO
    and now... the error is the following:

    cc -c -g -O4 -Xc -xF -xcg92
    -I/user/home/colucix/xpm-3.4k-solaris/include/X11 -I/opt/sfw/include
    -I/opt/sfw/include -I../X11 -I../lib -I../lib/private -I.
    -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV image_jpeg.c
    .... [omitted warnings]
    "/usr/include/sys/ucontext.h", line 68: syntax error before or at: sigset_t
    "/usr/include/sys/ucontext.h", line 68: cannot recover from previous errors
    gmake[1]: *** [image_jpeg.o] Error 10
    gmake[1]: Leaving directory `/user/home/colucix/xforms-1.0/image'
    *** Error code 2
    make: Fatal error: Command failed for target `all'

    Any other idea? Thank you very much

    Alex

    _________________________________________________
    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/
    Development: http://savannah.nongnu.org/files/?group=xforms



    This archive was generated by hypermail 2b29 : Wed Jun 04 2003 - 05:21:24 EDT