my wits end - compiling 8.4.9
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

my wits end - compiling 8.4.9

From: Patrick Dunnigan <pdunnigan@adelphia.net>
Date: Tue Jul 19 2005 - 16:23:08 CEST

I've compiled tcl 8.4.9 dozens of times on various platforms (HPUX, Linux)
and never had an issue even on the same OS and compiler version. However
this compile on this machine has given me fits. HP-UX B.11.11, TCL 8.4.9.
I've attempted compiling with GCC 3.4.3 and then 3.4.0. The output from
3.4.0 is below (same as 3.4.3).

I know that the 3.4.0 install are correct because I dragged them over from a
like machine.

8.4.3 is already installed and running on this box, I am trying to upgrade
it and get it on the same version as the production machines using 8.4.9.

Can some give me some pointers? Thanks

[/opt/centadm/saved/tcl8.4.9/unix]$
./configure --exec-prefix=/usr/local --prefix=/usr/local
creating cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for building with threads... no (default)
checking if the compiler understands -pipe... yes
checking how to run the C preprocessor... g++
checking for sin... no
checking for main in -lieee... no
checking for main in -linet... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking how to build libraries... shared
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... HP-UX-B.11.11
checking for dlopen in -ldl... yes
checking for ar... ar
checking for shl_load in -ldld... yes
checking for build with symbols... no
checking for required early compiler flags... _LARGEFILE64_SOURCE
checking for 64-bit integer type... using long
checking whether byte ordering is bigendian... yes
checking for getcwd... yes
checking for opendir... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoll... no
checking for strtoull... no
checking for tmpnam... yes
checking for waitpid... yes
checking for strerror... yes
checking for getwd... yes
checking for wait3... yes
checking for uname... yes
checking for realpath... yes
checking dirent.h... yes
checking for errno.h... no
checking for float.h... no
checking for values.h... no
checking for limits.h... no
checking for stdlib.h... no
checking for string.h... no
checking for sys/wait.h... no
checking for dlfcn.h... no
checking for unistd.h... no
checking for sys/param.h... no
checking for sys/modem.h... no
checking termios vs. termio vs. sgtty... termios
checking for fd_set in sys/types... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for sys/time.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... no
checking long timezone variable... yes
checking for st_blksize in struct stat... yes
checking for fstatfs... yes
checking for 8-bit clean memcmp... yes
checking for memmove... yes
checking proper strstr implementation... yes
checking for strtoul... yes
checking for strtod... yes
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... ok
checking for ANSI C header files... no
checking for mode_t... no
checking for pid_t... no
checking for size_t... no
checking for uid_t in sys/types.h... no
checking for socklen_t... no
checking for opendir... (cached) yes
checking union wait... no
checking for strncasecmp... yes
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking for gettimeofday declaration... missing
checking whether char is unsigned... no
checking signed char declarations... yes
checking for a putenv() that copies the buffer... no
checking for langinfo.h... no
checking whether to use nl_langinfo... no
checking for sys/ioctl.h... no
checking for sys/filio.h... no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking how to package libraries... standard shared library
updating cache ./config.cache
creating ./config.status
creating Makefile
creating dltest/Makefile
creating tclConfig.sh
[/opt/centadm/saved/tcl8.4.9/unix]$ make
        gcc -pipe -c -O -DTCL_DBGX= -Wall -Wno-implicit-int -fno-strict-aliasing
 -fPIC -I./../generic -I. -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D_LARGEFILE64_SOURCE=1
 -DTCL_WIDE_INT_IS_LONG=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_ERRNO_H=1
 -DNO_FLOAT_H=1 -DNO_VALUES_H=1 -DNO_LIMITS_H=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1
 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DUSE_TERMIOS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
 -Dmode_t=int -Dpid_t=int -Dsize_t=unsigned -Duid_t=int -Dgid_t=int -Dsocklen_t=unsigned
 -DNO_UNION_WAIT=1 -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1 -DTCL_SHLIB_EXT=\".sl\"
 -DUSE_TCLALLOC=0 ./../generic/tclAlloc.c
In file included from ./../generic/tclInt.h:44,
                 from ./../generic/tclAlloc.c:28:
./../generic/../compat/stdlib.h:29: warning: conflicting types for built-in
function 'calloc'
./../generic/../compat/stdlib.h:34: warning: conflicting types for built-in
function 'malloc'
In file included from ./../generic/tclInt.h:49,
                 from ./../generic/tclAlloc.c:28:
./../generic/../compat/string.h:32: warning: conflicting types for built-in
function 'memcmp'
./../generic/../compat/string.h:34: warning: conflicting types for built-in
function 'memcpy'
./../generic/../compat/string.h:38: warning: conflicting types for built-in
function 'memmove'
./../generic/../compat/string.h:41: warning: conflicting types for built-in
function 'memset'
./../generic/../compat/string.h:49: warning: conflicting types for built-in
function 'strcspn'
./../generic/../compat/string.h:53: warning: conflicting types for built-in
function 'strlen'
./../generic/../compat/string.h:56: warning: conflicting types for built-in
function 'strncat'
./../generic/../compat/string.h:58: warning: conflicting types for built-in
function 'strncmp'
./../generic/../compat/string.h:60: warning: conflicting types for built-in
function 'strncpy'
./../generic/../compat/string.h:65: warning: conflicting types for built-in
function 'strspn'
In file included from ./../generic/tclPort.h:27,
                 from ./../generic/tclAlloc.c:29:
./../generic/../unix/tclUnixPort.h:291: error: conflicting types for
'gettimeofday'
/opt/centadm/saved/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.0/include/sys/time.h:512:
error: previous declaration of 'gettimeofday' was here
./../generic/../unix/tclUnixPort.h:291: error: conflicting types for
'gettimeofday'
/opt/centadm/saved/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.0/include/sys/time.h:512:
error: previous declaration of 'gettimeofday' was here
*** Error exit code 1

Stop.
[/opt/centadm/saved/tcl8.4.9/unix]$
Received on Thu Sep 29 16:11:55 2005