[Ecls-list] Patches for C++ compatibility commited

Jeff Bowden jlb at houseofdistraction.com
Thu Dec 20 22:24:06 UTC 2001


Under linux after ./configure --with-tcp --enable-cxx during make I get:
./dpp /usr/local/src/ecls-cvs/ecls/src/c/tcp.d tcp.c
dpp: /usr/local/src/ecls-cvs/ecls/src/c/tcp.d -> tcp.c
c++ -c -I../h -I/usr/local/src/ecls-cvs/ecls/src/h 
-I/usr/local/src/ecls-cvs/ecls/src/gc/include -g -O2 -Dlinux -o tcp.o tcp.c
/usr/local/src/ecls-cvs/ecls/src/c/tcp.d: In function `int 
connect_to_server(char *, int)':
/usr/local/src/ecls-cvs/ecls/src/c/tcp.d:50: implicit declaration of 
function `int inet_addr(...)'
/usr/local/src/ecls-cvs/ecls/src/c/tcp.d:46: too many arguments to 
function `struct hostent * gethostbyname()'
/usr/local/src/ecls-cvs/ecls/src/c/tcp.d:51: at this point in file
/usr/local/src/ecls-cvs/ecls/src/c/tcp.d:90: implicit declaration of 
function `int close(...)'
/usr/local/src/ecls-cvs/ecls/src/c/tcp.d: In function `int 
create_server_port(int)':
/usr/local/src/ecls-cvs/ecls/src/c/tcp.d:177: passing `int *' as 
argument 3 of `accept(int, sockaddr *, socklen_t *)' changes signedness
make[2]: *** [tcp.o] Error 1
rm num_comp.c list.c mapfun.c format.c stacks.c time.c num_rand.c init.c 
file.c sequence.c num_arith.c alloc_2.c num_log.c array.c apply.c cfun.c 
disassembler.c predicate.c backq.c main.c string.c big.c eval.c 
all_keywords.c error.c character.c print.c number.c gfun.c multival.c 
all_symbols.c read.c all_functions.c macros.c typespec.c unixint.c 
hash.c compiler.c num_sfun.c num_pred.c tcp.c reference.c structure.c 
unixfsys.c clos.c symbol.c pathname.c num_co.c load.c unixsys.c cmpaux.c 
package.c interpreter.c instance.c
make[2]: Leaving directory `/usr/local/src/ecls-cvs/ecls/build/c'
make[1]: *** [libecl.a] Error 2
make[1]: Leaving directory `/usr/local/src/ecls-cvs/ecls/build'
make: *** [all] Error 2







More information about the ecl-devel mailing list