Hello Xavier, I suggest you cleaning everything before doing the install, that is:
make clean make all make install Best Regards, Juan José El Mon, 3 Mar 2008 13:35:18 +0000 , Xavier Bourguignon <[EMAIL PROTECTED]> escribió: > Thank you Juan, > > unfortunatelly, now I get this: > > make install > /home/xbourgui/programs/tcl8.4/bin/tclsh8.4 ./util/nsmakeall.tcl > install nsthread nsd nstclsh > make install: nsthread > make[1]: Entering directory > `/home/xbourgui/Desktop/aolserver-4.5.0/nsthread' > /home/xbourgui/programs/tcl8.4/bin/tclsh8.4 > /home/xbourgui/Desktop/aolserver-4.5.0/util/nsinstall.tcl -d > /home/xbourgui/programs/tcl8.4/lib -e libnsthread.so > installed: /home/xbourgui/programs/tcl8.4/lib/libnsthread.so (0755) > /home/xbourgui/programs/tcl8.4/bin/tclsh8.4 > /home/xbourgui/Desktop/aolserver-4.5.0/util/nsinstall.tcl -d > /home/xbourgui/programs/tcl8.4/lib libnsthread.a > ranlib /home/xbourgui/programs/tcl8.4/lib/libnsthread.a > ranlib: '/home/xbourgui/programs/tcl8.4/lib/libnsthread.a': No such > file make[1]: *** [install-dll] Error 1 > make[1]: Leaving directory > `/home/xbourgui/Desktop/aolserver-4.5.0/nsthread' make: *** > [install-bins] Error 1 > > On 03/03/2008, Juan José del Río [Simple Option] > <[EMAIL PROTECTED]> wrote: > > Sorry, Xavier, but I wrote that in a hurry. > > > > Edit your ns.mak file and add the nostartfiles to your > > CFLAGS_EXTRA line > > > > mine looks as: > > > > CFLAGS_EXTRA = -fPIC -O2 -fno-strict-aliasing -pipe > > -nostartfiles > > > > > > > > Regards, > > > > Juan José > > > > > > - > > Juan José del Río | Comercio online / e-commerce > > (+34) 616 512 340 | [EMAIL PROTECTED] > > > > > > Simple Option S.L. > > Tel: (+34) 951 930 122 > > Fax: (+34) 951 930 122 > > http://www.simpleoption.com > > > > > > > > On Mon, 2008-03-03 at 12:05 +0000, Xavier Bourguignon wrote: > > > Thank you for the answer, unfortunatelly, in aolserver/include/ > > > there is no mak.in file, I have a ns.mak.in file, but there is > > > no line with cflags in it. Do I need to add cflags=-nostartfiles > > > to ns.mak.in? > > > > > > Thank you > > > > > > On 03/03/2008, Juan José del Río [Simple Option] > > > <[EMAIL PROTECTED]> wrote: > > > > Hello Xavier, > > > > > > > > To fix this problem, edit the file aolserver/include/mak.in > > > > and add -nostartfiles to cflags . > > > > > > > > Best Regards, > > > > > > > > Juan José > > > > > > > > > > > > - > > > > Juan José del Río | Comercio online / e-commerce > > > > (+34) 616 512 340 | [EMAIL PROTECTED] > > > > > > > > > > > > Simple Option S.L. > > > > Tel: (+34) 951 930 122 > > > > Fax: (+34) 951 930 122 > > > > http://www.simpleoption.com > > > > > > > > > > > > > > > > On Mon, 2008-03-03 at 10:40 +0000, Xavier Bourguignon wrote: > > > > > Hi, > > > > > > > > > > I am new to Linux and new to aolserver. > > > > > > > > > > I have installed tcl wihtout any problems. > > > > > aolserver on the other hand is giving me this when I try to > > > > > install it: [EMAIL PROTECTED]:~/Desktop/aolserver-4.5.0$ > > > > > make > > > > > install /home/xbourgui/programs/tcl8.4/bin/tclsh8.4 > > ./util/nsmakeall.tcl > > > > > install nsthread nsd nstclsh make install: nsthread > > > > > make[1]: Entering directory > > > > > `/home/xbourgui/Desktop/aolserver-4.5.0/nsthread' > > /home/xbourgui/programs/tcl8.4/bin/tclsh8.4 > > > > > /home/xbourgui/Desktop/aolserver-4.5.0/util/nsremove.tcl > > > > > libnsthread.so > > > > > gcc -shared -O2 -Wall -Wno-implicit-int > > > > > -fno-strict-aliasing -fPIC -pipe > > > > > -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 -o > > > > > libnsthread.so error.o master.o memory.o mutex.o cslock.o > > > > > rwlock.o reentrant.o sema.o thread.o tls.o compat.o time.o > > > > > pthread.o fork.o signal.o nsthread_libinit.o \ > > > > > -L/home/xbourgui/programs/tcl8.4//lib -ltcl8.4 -ldl > > > > > -lpthread -lieee -lm -lgcc_s > > > > > -Wl,-rpath,/home/xbourgui/programs/tcl8.4/lib > > > > > -Wl,-rpath,/lib nsthread_libinit.o: In function `_init': > > > > > nslibinit.c:(.text+0x0): multiple definition of > > > > > `_init' > > /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crti.o:/build/buildd/glibc-2.6.1/build-tree/i386-libc/csu/crti.S:15: > > > > > first defined here collect2: ld returned 1 exit status > > > > > make[1]: *** [libnsthread.so] Error 1 make[1]: Leaving > > > > > directory `/home/xbourgui/Desktop/aolserver-4.5.0/nsthread' > > > > > make: *** [install-bins] Error 1 > > > > > > > > > > Any idea why I get this error? and any idea on how to solve > > > > > it? > > > > > > > > > > Remember, I am new to Linux, go easy on me ;) > > > > > > > > > > Thank you > > > > > > > > > > > > > > > > > -- > > > > > > > > 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. > > > > > > > > > > > > > > > > -- > > 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. > > > > -- Juan José del Río | Comercio online / e-commerce (+34) 616 512 340 | [EMAIL PROTECTED] Simple Option, S.L. Tel: (+34) 951 930 122 Fax: (+34) 951 930 122 www.simpleoption.com -- 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.