After replacing config.sub and config.guess from: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess... http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;h...
then runnig from C-Shell: ./configure --enable-single-host --enable-c-opts --enable-inline-jumps --enable-shared make bootstrap
gives: os_base.c: In function `___err_code_from_h_errno': os_base.c:889: error: `NETDB_INTERNAL' undeclared (first use in this function) os_base.c:889: error: (Each undeclared identifier is reported only once os_base.c:889: error: for each function it appears in.) os_base.c:904: error: `NETDB_SUCCESS' undeclared (first use in this function)
Afficher les réponses par date
After changing os.h to define NETDB_INTERNAL and NETDB_SUCCESS, I get:
gcc: unrecognized option `-rdynamic'
After removing -rdynamic, I get
rm -f libgambc.so /opt/gcc.4.2/bin/gcc -shared -Wl,-soname,libgambc.so -o libgambc.so main.o setup.o mem.o c_intf.o os.o os_base.o os_time.o os_shell.o os_files.o os_dyn.o os_tty.o os_io.o _kernel.o _system.o _num.o _s td.o _eval.o _io.o _nonstd.o _thread.o _repl.o _gambc.o -ldl -lm /opt/gcc.4.2/lib/gcc/i586-pc-interix3/4.2.0/../../../../i586-pc-interix3/bin/ld: libgambc.so: No such file: No such file or directory collect2: ld returned 1 exit status *** Error code 1
Stop in /dev/fs/C/Users/cristi/Downloads/gambit-c/gambc-v4_6_6/lib (line 146 of makefile). *** Error code 1
Stop in /dev/fs/C/Users/cristi/Downloads/gambit-c/gambc-v4_6_6 (line 405 of makefile).
With CC=/bin/cc I get cc: unknown option -n
În data de Sun, 17 Jun 2012 15:06:36 +0300, Cristian Baboi cristian.baboi@gmail.com a scris:
After replacing config.sub and config.guess from: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess... http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;h...
then runnig from C-Shell: ./configure --enable-single-host --enable-c-opts --enable-inline-jumps --enable-shared make bootstrap
gives: os_base.c: In function `___err_code_from_h_errno': os_base.c:889: error: `NETDB_INTERNAL' undeclared (first use in this function) os_base.c:889: error: (Each undeclared identifier is reported only once os_base.c:889: error: for each function it appears in.) os_base.c:904: error: `NETDB_SUCCESS' undeclared (first use in this function)
Very funny, these appear to be atypical issues to me.
Just as to get going now while this issue exists, do you have any practical need for using CL in particular, would Mingw deliver for your uses?
Could you try an alternative machine (or windows VM) on which you'd try to do this compilation, perhaps one with another integer size (32/64), as to see if that works? Perhaps there's some issue about that Gambit presumes integers are 32bit but the C environment deals with them as 64bit,.
M
2012/6/17 Cristian Baboi cristian.baboi@gmail.com
Without --enable-shared, the compilation finishes but the tests crashes. _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list