Compiling TCL 7.5a2 on SUN Netra running Solaris 2.4 
Author Message
 Compiling TCL 7.5a2 on SUN Netra running Solaris 2.4

Hi there

I'm just trying to compile TCL on Solaris 2.4 with gcc 2.7.0 and
I keep getting the following linker error when trying to build
the tclsh:

        gcc tclAppInit.o libtcl.a -ldl -lm -o tclsh

        Undefined               first referenced
         symbol                         in file
        getwd                           libtcl.a (getcwd.o)

        ld: fatal: Symbol referencing errors. No output written
                to tclsh

Thanks for any suggestions/hints/tricks/tips in advance.

Greetings

Serge



Fri, 10 Jul 1998 03:00:00 GMT  
 Compiling TCL 7.5a2 on SUN Netra running Solaris 2.4

Quote:

>Hi there

>I'm just trying to compile TCL on Solaris 2.4 with gcc 2.7.0 and
>I keep getting the following linker error when trying to build
>the tclsh:

>        gcc tclAppInit.o libtcl.a -ldl -lm -o tclsh

>        Undefined               first referenced
>         symbol                         in file
>        getwd                           libtcl.a (getcwd.o)

>        ld: fatal: Symbol referencing errors. No output written
>                to tclsh

I can't get it to work either, but my problem is that gcc insists that I
am cross-compiling.  I am not.  Any info...

_____________________________________________________________



Sun, 12 Jul 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Compiling Tcl/Tk 8.0 on Sun Solaris 2.4

2. Tcl 8.0b2 test fail - Solaris 2.4/SPARC/Sun compiler

3. compiling tcl/tk on Solaris 2.4 x86

4. Compiling TCL on Solaris 2.4 HELP!!

5. Anyone compile Tcl/Tk on Solaris 2.4 for the PC

6. Compiling Tcl w/ Solaris 2.4 and gcc 2.6.3

7. Tk 8.0b2 test results for Solaris 2.4/SPARC/Sun compiler

8. Solaris 2.4, SPARC 1+, 8 bit color board, Sun's cc, Tk 4.0, test failure

9. Can't compile gforth-0.3.0 on Sparc Solaris 2.4

10. Compiling Fortran on Solaris 2.5 for 2.4

11. Help sought for compiling Python 1.4 on Solaris 2.4 with gcc 2.7.2

12. Compiling Python for Solaris 2.4

 

 
Powered by phpBB® Forum Software