[Ecls-list] build-failure with gcc/g++ 3.2
Sean Champ
schamp at users.sourceforge.net
Sat Mar 22 04:15:59 UTC 2003
hello.
I tried to get ecl to built, today; it didn't work, this time.
What am i doing wrong? this is all i know to ask yet. ecl perpetually
fails to build for me.
this was on a debian/sid installation, upgraded as of yesterday; i can
post specific info about pacakge versions, if necessary
here's what i configured it with:
--
export \
CFLAGS=-O3 \
CXXFLAGS=-O3 \
LDFLAGS=-O1 \
CC=gcc-3.2 \
CXX=g++-3.2
configure \
--enable-cxx \
--enable-local-boehm \
--enable-local-gmp \
--with-tcp \
--with-x \
--with-clos-streams
--
the rest of this is output from the failed 'make'
--
cd build; make
/usr/local/src/ecl/ecl-head/build
make[1]: Entering directory `/usr/local/src/lang/lambda/ecl/ecl-head/build'
if (echo c | grep gmp); then \
cd gmp; make install; \
fi
if (echo c | grep gc); then \
cd gc; make install; \
fi
cd c; make
/usr/local/src/lang/lambda/ecl/ecl-head/build/c
make[2]: Entering directory `/usr/local/src/lang/lambda/ecl/ecl-head/build/c'
./dpp /usr/local/src/ecl/ecl-head/src/c/main.d main.c
dpp: /usr/local/src/ecl/ecl-head/src/c/main.d -> main.c
g++-3.2 -c -I../h -I/usr/local/src/ecl/ecl-head/src/c -I/usr/local/src/ecl/ecl-head/src/h -O3 -fstrict-aliasing -Dlinux -o main.o main.c
In file included from /usr/local/src/ecl/ecl-head/src/h/ecl.h:35,
from /usr/local/src/ecl/ecl-head/src/c/main.d:20:
/usr/local/src/ecl/ecl-head/src/h/external.h:1324: syntax error before `
template'
In file included from /usr/local/src/ecl/ecl-head/src/c/main.d:21:
/usr/local/src/ecl/ecl-head/src/h/machines.h:167:1: warning: "_ISOC99_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
from /usr/local/src/ecl/ecl-head/src/c/main.d:19:
/usr/include/features.h:127:1: warning: this is the location of the previous definition
/usr/local/src/ecl/ecl-head/src/c/main.d: In function `int cl_boot(int,
char**)':
/usr/local/src/ecl/ecl-head/src/c/main.d:132: invalid conversion from `void
(*)()' to `void*'
/usr/local/src/ecl/ecl-head/src/c/main.d:134: invalid conversion from `void
(*)()' to `void*'
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\213' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: syntax error before `]' token
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\374' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\311' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\303' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\211' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\345' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\203' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\354' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\4' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:140: stray '\350' in program
/usr/local/src/ecl/ecl-head/src/c/main.d: At global scope:
/usr/local/src/ecl/ecl-head/src/c/main.d:157: stray '\204' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:157: syntax error before `,' token
/usr/local/src/ecl/ecl-head/src/c/main.d:157: stray '\255' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:157: stray '\373' in program
/usr/local/src/ecl/ecl-head/src/c/main.d:161: `narg' was not declared in this
scope
/usr/local/src/ecl/ecl-head/src/c/main.d:161: syntax error before `,' token
/usr/local/src/ecl/ecl-head/src/c/main.d:162: ISO C++ forbids declaration of `i
' with no type
/usr/local/src/ecl/ecl-head/src/c/main.d:171: ISO C++ forbids declaration of `
exit' with no type
/usr/local/src/ecl/ecl-head/src/c/main.d:171: `int exit' redeclared as
different kind of symbol
/usr/include/stdlib.h:610: previous declaration of `void exit(int)'
/usr/local/src/ecl/ecl-head/src/c/main.d:172: syntax error before `}' token
/usr/local/src/ecl/ecl-head/src/c/main.d: In function `lispunion*
si_getenv(lispunion*)':
/usr/local/src/ecl/ecl-head/src/c/main.d:196: invalid conversion from `unsigned
char*' to `const char*'
/usr/local/src/ecl/ecl-head/src/c/main.d: In function `lispunion*
si_setenv(lispunion*, lispunion*)':
/usr/local/src/ecl/ecl-head/src/c/main.d:210: invalid conversion from `unsigned
char*' to `const char*'
/usr/local/src/ecl/ecl-head/src/c/main.d:214: invalid conversion from `unsigned
char*' to `const char*'
/usr/local/src/ecl/ecl-head/src/c/main.d:214: invalid conversion from `unsigned
char*' to `const char*'
make[2]: *** [main.o] Error 1
rm main.c
make[2]: Leaving directory `/usr/local/src/lang/lambda/ecl/ecl-head/build/c'
make[1]: *** [libecl.a] Error 2
make[1]: Leaving directory `/usr/local/src/lang/lambda/ecl/ecl-head/build'
make: *** [all] Error 2
More information about the ecl-devel
mailing list