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:[email protected]] Sent: Monday, March 11, 2013 7:50 PM To: gforth Subject: Bug in install from new git repository? 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:[email protected]] Sent: Saturday, March 09, 2013 10:48 AM To: [email protected] Subject: RE: Bug in install from new git repository? 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:[email protected]] Sent: Thursday, March 07, 2013 1:07 PM To: [email protected] Subject: Bug in install from new git repository? I get the following from BUILD-FROM-SCRATCH: cp -p engine/gforth-itc-noll gforth-itc true cp -p kernl32l.fi kernl32l.fi~ cp -p kernl32l.fi- kernl32l.fi cp -p kernl32b.fi kernl32b.fi~ cp -p kernl32b.fi- kernl32b.fi cp -p kernl64b.fi kernl64b.fi~ cp -p kernl64b.fi- kernl64b.fi rm -rf lib/gforth/0.7.9_20130214/libcc-named/ for i in libffi.fs fflib.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 /home/druffer/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c: In function 'gforth_callback_ffcall': /home/druffer/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/fflib.c:32:5: error: too many arguments to function 'gforth_engine' /home/druffer/src/gforth/include/gforth/0.7.9_20130214/libcc.h:55:14: note: declared here in file included from *OS command line*:-1 fflib.fs:136: libtool compile failed >>>end-c-library<<< Backtrace: $2B15248E6008 throw $2B15249301E0 c(abort") $2B1524931310 compile-wrapper-function1 /home/druffer/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c: In function 'create_pipe': /home/druffer/src/gforth/lib/gforth/0.7.9_20130214/libcc-named/pthread.c:98: 7: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] druffer@druffer-HP-Z800-Workstation:~/src/gforth (master)$ BUILD-FROM-SCRATCH DaR
