[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Cannot compile tclcl-1.0b10



Hi

I'm not able to compile tclcl. configure generates a Makefile and 
produces the following output:

creating cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... i586-unknown-linux
checking target system type... i586-unknown-linux
checking build system type... i586-unknown-linux
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 c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that c++ can handle -O2... yes
checking standard STL is available... yes
checking for ranlib... ranlib
checking for snprintf... yes
checking for ANSI C header files... (cached) yes
checking for strtoq... yes
checking for strtoll... yes
checking size of long... 4
checking for __int64_t... no
checking for long long... yes
checking for int64_t... yes
checking which kind of 64-bit int to use... int64_t
checking for tcl.h... -I/usr/include
checking for libtcl8.3... -L/usr/lib -ltcl8.3
checking for init.tcl... /usr/lib/tcl8.3
checking for tclsh8.3.2... no
checking for tclsh8.3... /usr/bin/tclsh8.3
checking for tk.h... -I/usr/include
checking for libtk8.3... -L/usr/lib -ltk8.3
checking for tk.tcl... /usr/lib/tk8.3
checking for otcl.h... -I../otcl-1.0a6
checking for libotcl1.0a6... -L../otcl-1.0a6 -lotcl
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... no
checking for libXext.a
No explicit static compilation flag; setting V_STATIC to ""
checking for dlopen in -ldl... yes
checking for a BSD compatible install... /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile
creating ./gen
creating ./bin     


No problem so far ... at least I think so :)
but 'make' produces:

gcc -c -O2 -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A6 -DHAVE_OTCL_H
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  
-DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1
-DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_3=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_3=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A6=1  -I.
-I/home/overmind/Datennetze/Network Simulator/ns/otcl-1.0a6
-I/usr/include -I/usr/include -o tcl2c++.o tcl2c++.c
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [tcl2c++.o] Error 1     


Do you have any ideas? Thanks in advance.

Thomas