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

compilation problem



I tried to use ns but I can't compile.
That's what I did :

-------------------------------------------------------
lennon% ./configure
loading cache ./config.cache
checking host system type... sparc-sun-sunos4.1.3
checking target system type... sparc-sun-sunos4.1.3
checking build system type... sparc-sun-sunos4.1.3
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) 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++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) no
checking for string.h... (cached) yes
checking for main in -ltcl... (cached) yes
creating ./config.status
creating Makefile

lennon% make
rm -f link.o; c++ -o link.o -c -I. -DSIGRET=void -DNO_TK -O2 link.cc
In file included from link.h:44,
                 from link.cc:43:
trace.h:61: syntax error before `;'
In file included from link.h:45,
                 from link.cc:43:
flow.h:159: `Tcl_Channel' was not declared in this scope
flow.h:159: parse error before `)'
flow.h:159: warning: ANSI C++ forbids initialization of member `dump'
flow.h:185: syntax error before `;'
*** Error code 1
make: Fatal error: Command failed for target `link.o'
------------------------------------------------------

If you can help me to solve this problem.
Sincerly,
 

Thierry CHEVALIER, french student to GCATT.
 
 

-- 
-------------------------------------------------------------------------------
                               Thierry CHEVALIER
-------------------------------------------------------------------------------
CSIP                                                28 bis, route du Coin
GCATT Building - Room 320                           42400 SAINT-CHAMOND
250 14th Street, NW                                 FRANCE
Atlanta, GA 30318                                   Tel: +33 (0)4 77 22 44 22
ETATS-UNIS                                          Fax: +33 (0)4 77 22 84 62
Tel/Fax: 001 404-892-1725
-------------------------------------------------------------------------------