Hello!

CVS Gforth build fails in NetBSD 3.0
After patching (see below, -s is not supported), I get:
----------------------------------------------------------------
/usr/pkg/share/aclocal/xdelta.m4:7: warning: underquoted definition of 
AM_PATH_XDELTA
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking make type... usage: make
checking whether the linker accepts -export-dynamic... yes
checking build system type... i386-unknown-netbsdelf3.0
checking host system type... i386-unknown-netbsdelf3.0
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for intptr_t... yes
checking size of intptr_t... 4
checking for int128_t... no
checking size of int128_t... 0
checking for uint128_t... no
checking size of uint128_t... 0
checking for a C type for cells... int
checking for a C type for wydes... short
checking for a C type for tetrabytes... int
checking for a C type for double-cells... long long
checking for a C type for unsigned double-cells... unsigned long long
checking for off_t... yes
checking for off_t... (cached) yes
checking size of off_t... 8
checking if gcc understands -fno-gcse... yes
checking if gcc understands -fno-strict-aliasing... yes
checking if gcc understands -fno-crossjumping... yes
checking if gcc understands -fno-reorder-blocks... yes
checking how to suppress 'unused variable' warnings... __attribute__((unused))
checking for asm.fs... arch/386/asm.fs
checking for disasm.fs... arch/386/disasm.fs
checking for install-info... /usr/bin/install-info
checking whether byte ordering is bigendian... no
CFLAGS=-O2 -fomit-frame-pointer -fforce-addr -fforce-mem
ac_link=$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 
$LIBS >&5
checking if and how we can waste code space... .skip 16
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for texi2dvi4a2ps... no
checking for texi2dvi... texi2dvi
checking for asin in -lm... yes
checking for dlopen in -ldl... no
checking for ffi_call in -lffi... no
checking for __builtin_avcall in -lavcall... no
checking for __vacall_r in -lcallback... no
checking for vacall in -lvacall... no
checking for alloc_trampoline in -ltrampoline... no
checking for working memcmp... yes
checking for memmove... yes
checking for strtoul... yes
checking for pow10... no
checking for strerror... yes
checking for strsignal... yes
checking for atanh... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for ftello... yes
checking for dlopen... yes
checking for sys_siglist... yes
checking for getrusage... yes
checking for stack_t... yes
checking whether sys_siglist is declared... yes
checking for getopt_long... yes
checking for expm1... yes
checking for log1p... yes
checking for rint... yes
checking for ecvt... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking for working POSIX fnmatch... yes
checking for mmap... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for emacs... no
checking for xemacs... no
checking where .elc files should go... ${datadir}/emacs/site-lisp
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedist
config.status: creating gforthmi
config.status: creating vmgen
config.status: creating machpc.fs
config.status: creating envos.fs
config.status: creating engine/Makefile
config.status: creating doc/version.texi
config.status: creating build-ec
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing stamp-h commands
rm: gforth.fi: No such file or directory
xz
Running: make BUILDFORTH=/usr/pkg/bin/gforth -m4M FORTHP=/usr/pkg/bin/gforth 
-m4M gforth...
cd engine && make gforth gforth-ditc gforth-itc gforth-prof
cd .. && CONFIG_FILES=stamp-h CONFIG_HEADERS=engine/config.h ./config.status
config.status: creating stamp-h
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing stamp-h commands
echo timestamp > stamp-h
gcc  -I./../arch/386 -I. -Wall -O2 -fomit-frame-pointer -fforce-addr 
-fforce-mem -DHAVE_CONFIG_H 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.6.2-20060527:/usr/local/share/gforth/0.6.2-20060527"'
 -DGFORTH_DEBUGGING -o main.o -c ./main.c
main.c:249: warning: duplicate `const'
main.c:621:2: warning: #warning You can ignore the warnings about clobbered 
variables in gforth_go
main.c: In function `prepare_super_table':
main.c:771: error: `N_noop' undeclared (first use in this function)
main.c:771: error: (Each undeclared identifier is reported only once
main.c:771: error: for each function it appears in.)
main.c: In function `check_prims':
main.c:892: warning: long int format, Cell arg (arg 5)
main.c: In function `print_diag':
main.c:2105: warning: too many arguments for format
*** Error code 1

Stop.
make: stopped in /home/asau/forth/sys/gforth-wrk/engine
*** Error code 1

Stop.
make: stopped in /home/asau/forth/sys/gforth-wrk
Running: make BUILDFORTH=/usr/pkg/bin/gforth -m4M FORTHP=/usr/pkg/bin/gforth 
-m4M all...
if test -r version && test x'0.6.2-20060527' = x`cat version` ; then true ; 
else echo 0.6.2-20060527 > version ; fi
make gforth
cd engine && make gforth gforth-ditc gforth-itc gforth-prof
gcc  -I./../arch/386 -I. -Wall -O2 -fomit-frame-pointer -fforce-addr 
-fforce-mem -DHAVE_CONFIG_H 
-DDEFAULTPATH='".:/usr/local/lib/gforth/site-forth:/usr/local/share/gforth/site-forth:/usr/local/lib/gforth/0.6.2-20060527:/usr/local/share/gforth/0.6.2-20060527"'
 -DGFORTH_DEBUGGING -o main.o -c ./main.c
main.c:249: warning: duplicate `const'
main.c:621:2: warning: #warning You can ignore the warnings about clobbered 
variables in gforth_go
main.c: In function `prepare_super_table':
main.c:771: error: `N_noop' undeclared (first use in this function)
main.c:771: error: (Each undeclared identifier is reported only once
main.c:771: error: for each function it appears in.)
main.c: In function `check_prims':
main.c:892: warning: long int format, Cell arg (arg 5)
main.c: In function `print_diag':
main.c:2105: warning: too many arguments for format
*** Error code 1

Stop.
make: stopped in /home/asau/forth/sys/gforth-wrk/engine
*** Error code 1

Stop.
make: stopped in /home/asau/forth/sys/gforth-wrk
*** Error code 1

Stop.
make: stopped in /home/asau/forth/sys/gforth-wrk
----------------------------------------------------------------

NetBSD 3.0 i386
aclocal (GNU automake) 1.9.6
autoconf (GNU Autoconf) 2.59
gforth 0.6.2


Patch ("m4 -s" is not supported)
----------------------------------------------------------------
--- Makefile.in.orig    2006-10-09 08:17:55.000000000 +0000
+++ Makefile.in 2006-10-09 08:14:48.000000000 +0000
@@ -744,7 +744,7 @@
 # -------------        Make c-engine
 
 prim.b:                prim cache0.vmg
-               m4 -s $(srcdir)/prim >$@
+               m4 $(srcdir)/prim >$@
                sleep 1 #should make hpux-workaround unnecessary
 
 prim-fast.b:   prim cache-fast$(STACK_CACHE_DEFAULT_FAST).vmg peeprules.vmg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to