XForms: Problem compiling xforms 1.0 on SunOS 5.8

From: Alessandro Coluccelli (colucix@bo.ingv.it)
Date: Tue Jun 03 2003 - 11:58:17 EDT

  • Next message: Angus Leeming: "Re: XForms: Problem compiling xforms 1.0 on SunOS 5.8"

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

    Hello! I've problems compiling xforms 1.0 on my system:
    SunOS SFV880 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Fire-880

    I'm trying to compile them in my home directory so I edited the
    Imakefile and turn the option InstallNonstandard on YES. When I launch
    the 'make' command I obtain the following error:

    LD_RUN_PATH=/usr/openwin/lib/sparcv9 /usr/ccs/bin/ld -o libforms.so.1.0~
    -shared -h libforms.so.1.0 align.o appwin.o asyn_io.o be.o bitmap.o
    box.o browser.o button.o canvas.o chart.o checkbut.o child.o
    choice.o clipboard.o clock.o cmd_br.o colsel.o counter.o cursor.o
    dial.o display.o errmsg.o events.o flcolor.o fldraw.o
    flresource.o flvisual.o fonts.o formbrowser.o forms.o frame.o
    free.o fselect.o goodie_alert.o goodie_choice.o goodie_input.o
    goodie_msg.o goodie_sinput.o goodie_yesno.o goodies.o input.o
    interpol.o keyboard.o labelbut.o lframe.o lightbut.o listdir.o
    menu.o n2a.o objects.o oneliner.o pixmap.o positioner.o
    read2lsbf.o read2msbf.o read4lsb.o read4msb.o readint.o round3d.o
    roundbut.o scrollbar.o scrollbut.o signal.o simu.o sldraw.o
    slider.o space.o spline.o strdup.o symbols.o sysdep.o tabfolder.o
    text.o textbox.o thumbwheel.o timeout.o timer.o tooltip.o util.o
    valuator.o version.o vn_pair.o vstrcat.o win.o xdraw.o xpopup.o
    xsupport.o xtext.o xyplot.o -L/usr/openwin/lib/sparcv9
    -L/usr/local/lib/sparcv9 -lXext -lX11
    -L/user/home/colucix/xpm-3.4k-solaris/lib -lXpm
    ld: warning: option -h appears more than once, first setting taken
    ld: fatal: option -h and building a dynamic executable are incompatible
    ld: fatal: Flags processing errors
    *** Error code 1
    make: Fatal error: Command failed for target `libforms.so.1.0'
    Current working directory /user/home/colucix/xforms-1.0/lib
    *** Error code 1
    make: Fatal error: Command failed for target `all

    Here is a copy of my Imakefile:
    /* Fairly important stuff */

    #define OptimizationLevel -O3
    #define DoWall YES

    #define BuildShared YES
    #define StaticLink YES

    #define BuildGL YES

    /* Less Important or System Specific */

    #define HaveStrerror YES
    #define HaveSnprintf YES
    #define HaveFloatH YES
    #define DoOptimize YES
    #define BuildDemos NO

    #define DebugSymbols YES

    /*
     * You should only define this if you're running a 64 bit compile
     * environment on Solaris.
     */

    #define Solaris64Bit YES

    /* Out in the Tall Weeds */

    #define InstallNonstandard YES
    #define XFormsNonstandardInstallDir /user/home/colucix

    #define NonstandardXpm YES

    #define XpmIncLoc /user/home/colucix/xpm-3.4k-solaris/include/X11
    #define XpmLibLoc /user/home/colucix/xpm-3.4k-solaris/lib

    #define NonstandardTiff YES

    #define TiffIncLoc /opt/sfw/include
    #define TiffLibLoc /opt/sfw/lib

    #define NonstandardJpeg YES

    #define JpegIncLoc /opt/sfw/include
    #define JpegLibLoc /opt/sfw/lib

    ...

    I even tried to turn the BuildShared option to NO, but it doesn't
    resolve the problem. Someone can tell me what is my fault? Thank you

    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 : Tue Jun 03 2003 - 12:08:21 EDT