Compiling TCL on Solaris 2.4 HELP!! 
Author Message
 Compiling TCL on Solaris 2.4 HELP!!

I'm using tcl7.4 and I'm running the configure program. The config.log reports
about some problems:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

"configure", line 1945: incomplete struct/union/enum wait: x
"configure", line 1946: operands must have integral type: op "&"
"configure", line 1946: invalid cast expression
cc: acomp failed for conftest.c
"configure", line 2078: warning: argument #2 is incompatible with prototype:
        prototype: pointer to function(int) returning void :
"/usr/include/signal.h", line 37
        argument : pointer to function(int) returning int

When I'm running make I get these errors messages:
cc -c -O -I. -I. -DHAVE_UNISTD_H=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1
-DNEED_MATHERR=1 -Dvfork=fork -DHAVE_BSDGETTIMEOFDAY=1 -DGETTOD_NOT_DECLARED=1
-DTCL_LIBRARY=\"/usr/local/lib/tcl7.4\" tclUnixAZ.c
"tclUnixAZ.c", line 1896: incomplete struct/union/enum wait: waitStatus
"tclUnixAZ.c", line 1925: operands must have integral type: op "&"
"tclUnixAZ.c", line 1925: invalid cast expression
"tclUnixAZ.c", line 1925: operands must have integral type: op ">>"
"tclUnixAZ.c", line 1925: operands must have integral type: op "&"
"tclUnixAZ.c", line 1925: invalid cast expression
"tclUnixAZ.c", line 1925: warning: shift count negative or too big: >> 8
"tclUnixAZ.c", line 1930: operands must have integral type: op "&"
"tclUnixAZ.c", line 1930: invalid cast expression
"tclUnixAZ.c", line 1931: operands must have integral type: op ">>"
"tclUnixAZ.c", line 1931: operands must have integral type: op "&"
"tclUnixAZ.c", line 1931: invalid cast expression
"tclUnixAZ.c", line 1931: warning: shift count negative or too big: >> 8
"tclUnixAZ.c", line 1935: operands must have integral type: op "&"
"tclUnixAZ.c", line 1935: invalid cast expression
"tclUnixAZ.c", line 1935: operands must have integral type: op "&"
"tclUnixAZ.c", line 1935: invalid cast expression
"tclUnixAZ.c", line 1938: operands must have integral type: op "&"
"tclUnixAZ.c", line 1938: invalid cast expression
"tclUnixAZ.c", line 1940: operands must have integral type: op "&"
"tclUnixAZ.c", line 1940: invalid cast expression
"tclUnixAZ.c", line 1944: operands must have integral type: op "&"
"tclUnixAZ.c", line 1944: invalid cast expression
"tclUnixAZ.c", line 1944: operands must have integral type: op "&"
"tclUnixAZ.c", line 1944: invalid cast expression
"tclUnixAZ.c", line 1947: operands must have integral type: op ">>"
"tclUnixAZ.c", line 1947: operands must have integral type: op "&"
"tclUnixAZ.c", line 1947: invalid cast expression
"tclUnixAZ.c", line 1947: warning: shift count negative or too big: >> 8
"tclUnixAZ.c", line 1949: operands must have integral type: op ">>"
"tclUnixAZ.c", line 1949: operands must have integral type: op "&"
"tclUnixAZ.c", line 1949: invalid cast expression
"tclUnixAZ.c", line 1949: warning: shift count negative or too big: >> 8
cc: acomp failed for tclUnixAZ.c

Do anyone know what I have to do to fix this problem.

--
Knut Vikdal (:$)
Systems Operator

Saga Petroleum a.s.

Tlf.: 67126266



Fri, 26 Jun 1998 03:00:00 GMT  
 Compiling TCL on Solaris 2.4 HELP!!

Do you have /usr/ucb in your PATH?  Here is the compile statement that
_my_ Solaris 2.4 build used - notice it is a bit different:
cc -c -O -I. -I. -DNO_GETWD=1 -DNO_WAIT3=1 -DHAVE_UNISTD_H=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -Dvfork=fork -DGETTOD_NOT_DECLARED=1       -DTCL_LIBRARY=\"/usr/tcl74/lib/tcl7.4\" tclUnixAZ.c

versus yours:

cc -c -O -I. -I. -DHAVE_UNISTD_H=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1
-DNEED_MATHERR=1 -Dvfork=fork -DHAVE_BSDGETTIMEOFDAY=1 -DGETTOD_NOT_DECLARED=1
-DTCL_LIBRARY=\"/usr/local/lib/tcl7.4\" tclUnixAZ.c

Notice how you don't have the -DNO_UNION_WAIT - that's one of the compile
problems you're reporting.

--

:s <URL:http://www.teraform.com/%7Elvirden/> <*>
:s Unless explicitly stated to the contrary, nothing in this posting should
:s be construed as representing my employer's opinions.



Mon, 29 Jun 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. compiling tcl/tk on Solaris 2.4 x86

2. Compiling Tcl/Tk 8.0 on Sun Solaris 2.4

3. Compiling TCL 7.5a2 on SUN Netra running Solaris 2.4

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

5. Compiling Tcl w/ Solaris 2.4 and gcc 2.6.3

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

7. Compiling tcl7.4b2 on solaris 2.4 - Need help!

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

9. Compiling Fortran on Solaris 2.5 for 2.4

10. Compiling Python for Solaris 2.4

11. Compiling cprolog on Solaris 2.4 ?

12. Compiling on Solaris 2.4

 

 
Powered by phpBB® Forum Software