Errors compiling tcl8.1.1 under Solaris 2.6 
Author Message
 Errors compiling tcl8.1.1 under Solaris 2.6

I was just "upgraded" from Solaris 2.51 to 2.6 on my Sun Sparc5.  I have
little confidence the sysadmin did things correctly, so I am willing to
believe this is my problem.  I thought I might get some hints here.  I
can provide information from configure and the makefile if that would
help.  Thanks in advance for any insights.

When executing "make" from ~/tcl8.1.1/unix, I get:

</home/mcmaster/ftp/tcl8.1.1/unix> jcm.mcmaster{26} gcc -pipe -c -O
-Wall -Wconversion -fPIC  -I./../generic -I.  -DTCL_THREADS=1
-D_REENTRANT=1 -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_SGTTY=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void
-DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1        
-DTCL_SHLIB_EXT=\".so\" -DUSE_TCLALLOC=0 ./../generic/tclAlloc.c
In file included from /usr/include/sys/turnstile.h:12,
                 from /usr/include/sys/t_lock.h:20,
                 from /usr/include/sys/file.h:17,
                 from ../generic/../unix/tclUnixPort.h:59,
                 from ../generic/tclPort.h:27,
                 from ./../generic/tclAlloc.c:22:
/pub/unsup/.arch/sun4os5/include/sys/param.h:175: warning: `NBBY'
redefined
/usr/include/sys/select.h:45: warning: this is the location of the
previous definition
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from ../generic/../unix/tclUnixPort.h:106,
                 from ../generic/tclPort.h:27,
                 from ./../generic/tclAlloc.c:22:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
In file included from /usr/include/sys/stream.h:21,
                 from /usr/include/netinet/in.h:38,
                 from ../generic/../unix/tclUnixPort.h:106,
                 from ../generic/tclPort.h:27,
                 from ./../generic/tclAlloc.c:22:
/usr/include/sys/vnode.h:162: parse error before `u_offset_t'
/usr/include/sys/vnode.h:162: warning: no semicolon at end of struct or
union
/usr/include/sys/vnode.h:170: parse error before `}'
/usr/include/sys/vnode.h:170: warning: data definition has no type or
storage class
/usr/include/sys/vnode.h:278: parse error before `intptr_t'
/usr/include/sys/vnode.h:331: parse error before `u_offset_t'
In file included from ../generic/../unix/tclUnixPort.h:106,
                 from ../generic/tclPort.h:27,
                 from ./../generic/tclAlloc.c:22:
/usr/include/netinet/in.h:156: parse error before `uint32_t'
/usr/include/netinet/in.h:156: warning: no semicolon at end of struct or
union
/usr/include/netinet/in.h:156: warning: no semicolon at end of struct or
union
/usr/include/netinet/in.h:160: warning: data definition has no type or
storage class
/usr/include/netinet/in.h:167: parse error before `}'
/usr/include/netinet/in.h:226: field `sin_addr' has incomplete type
/usr/include/netinet/in.h:286: field `imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:287: field `imr_interface' has incomplete type
In file included from ../generic/../unix/tclUnixPort.h:107,
                 from ../generic/tclPort.h:27,
                 from ./../generic/tclAlloc.c:22:
/usr/include/arpa/inet.h:53: warning: parameter has incomplete type
/usr/include/arpa/inet.h:55: warning: parameter has incomplete type
/usr/include/arpa/inet.h:57: warning: parameter has incomplete type
In file included from ../generic/../unix/tclUnixPort.h:487,
                 from ../generic/tclPort.h:27,
                 from ./../generic/tclAlloc.c:22:
/usr/include/pthread.h:76: parse error before `uint32_t'
/usr/include/pthread.h:76: warning: no semicolon at end of struct or
union
/usr/include/pthread.h:77: warning: data definition has no type or
storage class
/usr/include/pthread.h:82: parse error before `_cleanup_t'
/usr/include/pthread.h:83: parse error before `_cleanup_t'
/usr/include/pthread.h:109: parse error before `*'
/usr/include/pthread.h:110: parse error before `*'
/usr/include/pthread.h:111: parse error before `*'
/usr/include/pthread.h:113: parse error before `*'
/usr/include/pthread.h:115: parse error before `*'
/usr/include/pthread.h:117: parse error before `*'
/usr/include/pthread.h:119: parse error before `*'
/usr/include/pthread.h:121: parse error before `*'
/usr/include/pthread.h:123: parse error before `*'
/usr/include/pthread.h:125: parse error before `*'
/usr/include/pthread.h:127: parse error before `*'
/usr/include/pthread.h:129: parse error before `*'
/usr/include/pthread.h:131: parse error before `*'
/usr/include/pthread.h:133: parse error before `*'
/usr/include/pthread.h:135: parse error before `*'
/usr/include/pthread.h:137: parse error before `*'
/usr/include/pthread.h:139: parse error before `*'
/usr/include/pthread.h:140: `pthread_create' declared as function
returning a function
/usr/include/pthread.h:141: parse error before `void'
/usr/include/pthread.h:142: parse error before `*'
/usr/include/pthread.h:143: parse error before `)'
/usr/include/pthread.h:144: parse error before `thread'
/usr/include/pthread.h:145: parse error before `thread'
/usr/include/pthread.h:147: parse error before `thread'
/usr/include/pthread.h:148: parse error before `thread'
/usr/include/pthread.h:149: parse error before `thread'
/usr/include/pthread.h:151: parse error before `thread'
/usr/include/pthread.h:156: parse error before `t1'
/usr/include/pthread.h:159: parse error before `*'
/usr/include/pthread.h:159: parse error before `)'
/usr/include/pthread.h:160: parse error before `key'
/usr/include/pthread.h:161: parse error before `key'
/usr/include/pthread.h:162: parse error before `key'
/usr/include/pthread.h:163: parse error before `pthread_self'
/usr/include/pthread.h:163: warning: data definition has no type or
storage class
/usr/include/pthread.h:177: parse error before `*'
/usr/include/pthread.h:178: parse error before `*'
/usr/include/pthread.h:179: parse error before `*'
/usr/include/pthread.h:181: parse error before `*'
/usr/include/pthread.h:183: parse error before `*'
/usr/include/pthread.h:185: parse error before `*'
/usr/include/pthread.h:187: parse error before `*'
/usr/include/pthread.h:189: parse error before `*'
/usr/include/pthread.h:191: parse error before `*'
/usr/include/pthread.h:193: parse error before `*'
/usr/include/pthread.h:194: parse error before `*'
/usr/include/pthread.h:195: parse error before `*'
/usr/include/pthread.h:196: parse error before `*'
/usr/include/pthread.h:197: parse error before `*'
/usr/include/pthread.h:199: parse error before `*'
/usr/include/pthread.h:201: parse error before `*'
/usr/include/pthread.h:202: parse error before `*'
/usr/include/pthread.h:203: parse error before `*'
/usr/include/pthread.h:205: parse error before `*'
/usr/include/pthread.h:207: parse error before `*'
/usr/include/pthread.h:209: parse error before `*'
/usr/include/pthread.h:210: parse error before `*'
/usr/include/pthread.h:211: parse error before `*'
/usr/include/pthread.h:212: parse error before `*'
/usr/include/pthread.h:214: parse error before `*'
In file included from ../generic/tclPort.h:27,
                 from ./../generic/tclAlloc.c:22:
../generic/../unix/tclUnixPort.h:488: parse error before `TclpMutex'
../generic/../unix/tclUnixPort.h:488: warning: data definition has no
type or storage class
../generic/../unix/tclUnixPort.h:489: parse error before `*'
../generic/../unix/tclUnixPort.h:490: parse error before `*'
../generic/../unix/tclUnixPort.h:491: parse error before `*'
*** Error code 1
make: Fatal error: Command failed for target `tclAlloc.o'
</home/mcmaster/ftp/tcl8.1.1/unix> jcm.mcmaster{27}

--
Jim McMaster



Sun, 25 Nov 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Problems with optimizer and Tcl8.1 on solaris (2.6 and 2.7)

2. tkcon, tcl8.1b3, and Solaris 2.6.

3. Help: Building TCL8.0.3 on Solaris 2.6 (UltraSparc)

4. install TCL8.0 with Solaris 2.6

5. tcl8.1a1 fails test 1.99 in regexp3 (Solaris x86 2.6)

6. Installing TCL8.0 on Solaris 2.6

7. Error VEEXT700: Linker Failed Error 511 when trying to compile project for DM 2.6

8. Successful Solaris 2.6 Compile???

9. problem compiling 1.5.2 with egcs-1.1.2 on Solaris 2.6

10. help: compile problem on Solaris 2.6 (SunOS 5.6)

11. Compiling on Solaris 2.6 - Headaches

12. Pb. Compiling ORATCL-2.3 on Sun Sparc Solaris 2.6

 

 
Powered by phpBB® Forum Software