|
From: | Dennis Ruffer |
Subject: | Re: [gforth] Bug in install from new git repository? |
Date: | Tue, 12 Mar 2013 07:26:22 -0700 |
Ok, I've figured out a few things on cygwin and got my older version (0.7.9-20121007) working as good as it ever has. I've never resolved the following error: cd doc; texi2dvi gforth.texi Makefile:1042: recipe for target `doc/gforth.dvi' failed make: *** [doc/gforth.dvi] Error 1 After doing a "make clean" and uninstalling ffcall, at least it gets that far again. If I install ffcall, I get libffi also, which appears to be bad. However, the new git repository still fails. It gets through the 1st stage of using libffi, but still fails on the 2nd: Wrote /usr/src/gforth/gforth.elc rm -rf lib/gforth/0.7.9_20130214/libcc-named/ for i in libffi.fs cstr.fs unix/socket.fs unix/pthread.fs unix/mmap.fs; do ./libforth -e "s\" `pwd`/lib/gforth/0.7.9_20130214/libcc-named/\" >libcc-named-dir libcc-path clear-path libcc-named-dir libcc-path also-path :noname 2drop s\" /usr/local/lib/gforth/0.7.9_20130214/libcc-named/\" ; is replace-rpath" ./$i -e bye; done /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/mmap.c: In function 'libgfmmap_LTX_gforth_c_mremap_annn_a': /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/mmap.c:43:3: warning: implicit declaration of function 'mremap' /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/.libs/mmap.o:mmap.c:(.text+0x233): undefined reference to `_mremap' collect2: ld returned 1 exit status in file included from *OS command line*:-1 unix/mmap.fs:31: libtool link failed >>>end-c-library<<< Backtrace: $FFBB37EC throw $FFBDCD20 c(abort") $FFBDD6A4 compile-wrapper-function1 Makefile:716: recipe for target `build-libcc-named' failed make: *** [build-libcc-named] Error 254 I'll try removing ffcall in ubuntu later today when I get to work. DaR From: Dennis Ruffer [mailto:address@hidden Now that Bernd gave me the correct email address, I can ask these questions over here and maybe get some clues… However, even my old CVS version gets the following: Running: make if test -r version && test x'0.7.9-20121007' = x`cat version` ; then true ; else echo 0.7.9-20121007 > version ; fi GFORTH="./preforth -p ".:~+:."" ./gfgen in file included from *OS command line*:-1 in file included from startup.fs:68 savesys.fs:44: Undefined word >>>throw-entry<<< main-task udp @ throw-entry next-task - /string move ;Makefile:849: recipe for target `engine/prim.i' failed make: *** [engine/prim.i] Error 1 make: *** Deleting file `engine/prim.i' Guess I'm now fully rebuilt yet. ;( Anyone have any clues? DaR From: Dennis Ruffer [mailto:address@hidden] Now that I got my Win7 PC back functional and updated to the git repository, I get this from it: Creating library file: /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/.libs/libgflibffi.dll.a /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:15:16: error: redefinition of typedef 'Xt' /usr/src/gforth/include/gforth/0.7.9_20130214/libcc.h:33:16: note: previous declaration of 'Xt' was here /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c: In function 'gforth_callback_ffcall': /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:24:16: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:25:16: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:26:17: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:27:16: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:32:5: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:32:42: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:35:5: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:36:5: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:37:5: error: called object 'gforth_pointers' is not a function /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:38:5: error: called object 'gforth_pointers' is not a function in file included from *OS command line*:-1 fflib.fs:136: libtool compile failed >>>end-c-library<<< Backtrace: $FFBB37EC throw $FFBDCCCC c(abort") $FFBDD6A4 compile-wrapper-function1 Creating library file: /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/.libs/libgfcstr.dll.a Creating library file: /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/.libs/libgfsocket.dll.a Creating library file: /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/.libs/libgfpthread.dll.a /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/mmap.c: In function 'libgfmmap_LTX_gforth_c_mremap_annn_a': /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/mmap.c:43:3: warning: implicit declaration of function 'mremap' Creating library file: /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/.libs/libgfmmap.dll.a /usr/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/.libs/mmap.o:mmap.c:(.text+0x233): undefined reference to `_mremap' collect2: ld returned 1 exit status in file included from *OS command line*:-1 unix/mmap.fs:31: libtool link failed >>>end-c-library<<< Backtrace: $FFBB37EC throw $FFBDCD20 c(abort") $FFBDD6A4 compile-wrapper-function1 Makefile:716: recipe for target `build-libcc-named' failed make: *** [build-libcc-named] Error 254 DaR From: Dennis Ruffer [mailto:address@hidden] I get the following from BUILD-FROM-SCRATCH: DaR |
[Prev in Thread] | Current Thread | [Next in Thread] |