Hello Gustaf, yes I compiled tcl8.4.18 myself with --enable-threads.
I will redo everything and see what happens, will keep you guys posted on this. Thank you On 04/03/2008, Gustaf Neumann <[EMAIL PROTECTED]> wrote: > Dear Xavier, > > There is a known problem with Tcl_GetMemoryInfo() in > Tcl 8.5 (see e.g. > http://aspn.activestate.com/ASPN/Mail/Message/tcl-core/3610677 > or > > http://sourceforge.net/tracker/index.php?func=detail&aid=1868171&group_id=10894&atid=110894). > > however, since you are using tcl 8.5, this seems wierd. Did you > compile Tcl yourself? Did you compile with --enable-threads? > > best regards > -gustaf neumann > > Xavier Bourguignon schrieb: > > > I ran make clean, then make all and I got this on make all: > > > > > > gcc -O2 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -O2 > > -fno-strict-aliasing -pipe -nostartfiles > > -I/home/xbourgui/Desktop/aolserver-4.5.0/include > > -I/home/xbourgui/programs/tcl8.4//include -DNO_CONST > > -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 > > -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 > > -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 > > -DTCL_THREADS=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_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 > > -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 > > -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 > > -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 > > -DHAVE_GETHOSTBYADDR_R=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 -DPACKAGE_NAME=\"\" > > -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" > > -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 > > -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1 > > -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -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 > > /home/xbourgui/programs/tcl8.4/bin/tclsh8.4 > > /home/xbourgui/Desktop/aolserver-4.5.0/util/nsremove.tcl nsthreadtest > > gcc -o nsthreadtest nsthreadtest.o \ > > -L. -lnsthread -L/home/xbourgui/programs/tcl8.4//lib > > -ltcl8.4 -ldl -lpthread -lieee -lm -lgcc_s -Wl,--export-dynamic > > -Wl,-rpath,/home/xbourgui/programs/tcl8.4/lib -Wl,-rpath,/lib > > nsthreadtest.o: In function `DumperThread': > > nsthreadtest.c:(.text+0x2a8): undefined reference to `Tcl_GetMemoryInfo' > > collect2: ld returned 1 exit status > > make[1]: *** [nsthreadtest] Error 1 > > make[1]: Leaving directory > `/home/xbourgui/Desktop/aolserver-4.5.0/nsthread' > > make: *** [build] Error 1 > > > > > > So I don't know what is going on, but it seems that something is wrong > > with one of the files. > > > > > > > > -- > 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. > -- Xavier Bourguignon -- 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.