dqkit - link problem (almost there though)

From: Craig (cpurvis3_at_csc.com)
Date: 04/27/04

  • Next message: David N. Welton: "Re: OO in Tcl (goodbye tcl)"
    Date: 27 Apr 2004 11:57:23 -0700
    
    

    Well, I've gotten past my original problem defined in my 1st post
    "dqkit -got it, now what?" It was just a permission/chmod thing for
    the install-sh file in the dqkit/src/mk-2.4.9.2/unix/scripts
    directory.

    Now I got another problem. The build is failing on the next to last
    step (i.e. - link).

    In my ../out/../dqkit file, the file reads:

    gcc -static -o /export/home2/cpurvis/opt/dqkit/build/jayhawk-nonthreaded/dqkit/dqkit.bin
    /export/home2/cpurvis/opt/dqkit/
    build/jayhawk-nonthreaded/dqkit/kitInit.o
    /export/home2/cpurvis/opt/dqkit/build/jayhawk-nonthreaded/dqkit/pwb.o
    /export/h
    ome2/cpurvis/opt/dqkit/build/jayhawk-nonthreaded/dqkit/rechan.o
    /export/home2/cpurvis/opt/dqkit/build/jayhawk-nonthreaded
    /dqkit/zlib.o /export/home2/cpurvis/opt/dqkit/build/jayhawk-nonthreaded/dqkit/tclAppInit.o
    /export/home2/cpurvis/opt/dqki
    t/build/jayhawk-nonthreaded/zlib/libz.a
    /export/home2/cpurvis/opt/dqkit/build/jayhawk-nonthreaded/vfs/libvfs1.3.a
    /export
    /home2/cpurvis/opt/dqkit/build/jayhawk-nonthreaded/mk/.libs/libmk4tcl.a
    /export/home2/cpurvis/opt/dqkit/build/jayhawk-non
    threaded/tcl/libtcl8.4.a -ldl -lsocket -lm
    /usr/local/gnu/sparc-sun-solaris2.8/bin/ld: cannot find -ldl
    collect2: ld returned 1 exit status

    HOWEVER, in my ../out/../tcl file, it too referenced -ldl WITHOUT a
    problem.

    gcc -pipe tclAppInit.o
    -L/export/home2/cpurvis/opt/dqkit/build/jayhawk-nonthreaded/tcl
    -ltcl8.4 -ldl -lsocket -lm \
            -Wl,-R,../../../install/jayhawk-nonthreaded/lib -o tclsh
    make libraries
    make: Nothing to be done for `libraries'.
    make install-binaries
    Installing libtcl8.4.a to ../../../install/jayhawk-nonthreaded/lib/
    Installing tclsh as ../../../install/jayhawk-nonthreaded/bin/tclsh8.4
    Installing tclConfig.sh to ../../../install/jayhawk-nonthreaded/lib/
    Installing libtclstub8.4.a to
    ../../../install/jayhawk-nonthreaded/lib/
    make install-libraries
    Installing header files
    Installing library files to ../../../noarch/lib/tcl8.4
    Installing library http1.0 directory
    Installing library http2.4 directory
    Installing library opt0.4 directory
    Installing library msgcat1.3 directory
    Installing library tcltest2.2 directory
    Installing library encoding directory

    Soooo, why would it be complaining in one area but not another?
    Is it with the libtcl8.4.a file, and if so, what could it be?


  • Next message: David N. Welton: "Re: OO in Tcl (goodbye tcl)"