Hi all,

I have problems with compiling 4.0.10 version. Also tried 4.0.9, with the
same effects. The same problems on MadrakeLinux 10.1 and Tru64Unix 5.1A.


gcc -pipe -O2 -Wall -Wno-implicit-int -fno-strict-aliasing  -I../include
-I/usr/local/include  -DNO_CONST  -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1
-D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
-DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DHAVE_THREE_ARG_READDIR_R=1
-DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
-DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
-DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1
-DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DHAVE_INTTYPES_H=1
-DHAVE_TIMEGM=1 -DHAVE_POLL=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1
-DHAVE_CMMSG=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_ZLIB_H=1
-DHAVE_LIBZ=1  -DNsthreadsInit=_init   -c -o pthread.o pthread.c
/bin/rm -f libnsthread
L../nsthread -L../nsd -o libnsthread error.o master.o memory.o mutex.o
cslock.o rwlock.o reentrant.o sema.o thread.o tls.o signal.o compat.o
time.o fork.o pthread.o  -L/scratch/install/tcl8.4.9/unix -ltcl8.4
-lpthread -lieee -lm  -lz -lgcc_s
make[1]: L../nsthread: Command not found
make[1]: [libnsthread] Error 127 (ignored)
gcc -pipe -O2 -Wall -Wno-implicit-int -fno-strict-aliasing  -I../include
-I/usr/local/include  -DNO_CONST  -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1
-D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
-DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DHAVE_THREE_ARG_READDIR_R=1
-DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
-DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1
-DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1
-DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DHAVE_INTTYPES_H=1
-DHAVE_TIMEGM=1 -DHAVE_POLL=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1
-DHAVE_CMMSG=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_ZLIB_H=1
-DHAVE_LIBZ=1  -DNsthreadsInit=_init   -c -o nsthreadtest.o nsthreadtest.c
nsthreadtest.c: In function `DumperThread':
nsthreadtest.c:336: warning: implicit declaration of function
`Tcl_GetMemoryInfo'
nsthreadtest.c: At top level:
nsthreadtest.c:51: warning: 'RCSID' defined but not used
/bin/rm -f nsthreadtest
gcc -pipe -L../nsthread -L../nsd -o nsthreadtest nsthreadtest.o
libnsthread -L/scratch/install/tcl8.4.9/unix -ltcl8.4   -lpthread -lieee
-lm  -lz -lgcc_s
gcc: libnsthread: No such file or directory
make[1]: *** [nsthreadtest] Error 1
make[1]: Leaving directory `/scratch/install/aolserver-4.0.9/nsthread'
make: *** [all] Error 1


It seems there is some problem with makefiles (bad macro substitution ?)
while linking into shared libraries.

What is the trick to get it compiled ?

Thanks a lot,

  David


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to