Subject: compiling -current fails (on i386 at least)
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 08/30/2006 21:49:41
Hi,
just got this:
dependall ===> sys/lkm/compat/freebsd
# compile freebsd/freebsd_ptrace.o
/u/NetBSD/arch/i386/TOOLS/bin/i386--netbsdelf-gcc -O2 -pipe -ffreestanding -march=pentium4 -fno-strict-aliasing -Wno-pointer-sign -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror -Demul_find=freebsd_emul_find -Dstackgap_init=freebsd_stackgap_init -Demul_flags_translate=freebsd_emul_flags_translate -Dstackgap_alloc=freebsd_stackgap_alloc -Dcompat_offseterr=freebsd_compat_offseterr -Demul_find_interp=freebsd_emul_find_interp -I/u/NetBSD/src/common/include -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_FREEBSD -DKTRACE -nostdinc -nostdinc -I. -I/u/NetBSD/src/sys/lkm/compat/freebsd -isystem /u/NetBSD/src/sys -isystem /u/NetBSD/src/sys/arch -isystem /u/NetBSD/src/sys/../common/include -D_KERNEL -D_LKM -c /u/NetBSD/src/sys/compat/freebsd/freebsd_ptrace.c
/u/NetBSD/src/sys/compat/freebsd/freebsd_ptrace.c:76:24: error: opt_ptrace.h: No such file or directory
cc1: warnings being treated as errors
/u/NetBSD/src/sys/compat/freebsd/freebsd_ptrace.c:104: warning: function declaration isn't a prototype
/u/NetBSD/src/sys/compat/freebsd/freebsd_ptrace.c: In function 'freebsd_sys_ptrace':
...and a lot more errors resulting from the above...
Kurt