DragonFly bugs List (threaded) for 2003-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Build under FreeBSD-STABLE broken?
On Mon, Aug 18, 2003 at 09:34:27AM -0700, Matthew Dillon wrote:
> I'm just not sure where. It may be that the kernel is not being
> built in /usr/obj where you thought it was being built and it is
> working with an old Makefile?
>
OK, I've found it! After the source tree is restructured, some of the
subdirectories went into a depth that bsd.kmod.mk didn't look into
to find SYSDIR.
${.CURDIR}/.. from sys/crypto/Makefile
${.CURDIR}/../../../../.. from sys/dev/disk/aic7xxx/aic_eisa/Makefile
This might catch wrong subdirectories, so I'm not sure this is a fix,
but it went further, at least to the same point where I replaced 4-STABLE
source tree with DragonflyBSD source tree.
------------------------ cut here ------------------------
Index: share/mk/bsd.kmod.mk
===================================================================
RCS file: /home/source/dragonfly/cvs/src/share/mk/bsd.kmod.mk,v
retrieving revision 1.2
diff -u -u -r1.2 bsd.kmod.mk
--- share/mk/bsd.kmod.mk 17 Jun 2003 04:37:02 -0000 1.2
+++ share/mk/bsd.kmod.mk 19 Aug 2003 06:27:36 -0000
@@ -2,7 +2,7 @@
# $DragonFly: src/share/mk/bsd.kmod.mk,v 1.2 2003/06/17 04:37:02 dillon Exp $
# Search for kernel source tree in standard places.
-.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. ${.CURDIR}/../../../.. /sys /usr/src/sys
+.for _dir in ${.CURDIR}/.. ${.CURDIR}/../.. ${.CURDIR}/../../.. ${.CURDIR}/../../../.. ${.CURDIR}/../../../../.. /sys /usr/src/sys
.if !defined(SYSDIR) && exists(${_dir}/conf/kmod.mk)
SYSDIR= ${_dir}
.endif
------------------------ cut here ------------------------
===> emulation/svr4
cc -c -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi /home/source/dragonfly/src/sys/emulation/svr4/../../emulation/svr4/i386/svr4_genassym.c
sh @/kern/genassym.sh svr4_genassym.o > svr4_assym.h
cc -c -x assembler-with-cpp -DLOCORE -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi /home/source/dragonfly/src/sys/emulation/svr4/../../emulation/svr4/i3
86/svr4_locore.s -o svr4_locore.o
mv -f /home/source/dragonfly/src/sys/emulation/svr4/svr4_sysent.c /home/source/dragonfly/src/sys/emulation/svr4/svr4_sysent.c.bak
mv: rename /home/source/dragonfly/src/sys/emulation/svr4/svr4_sysent.c to /home/source/dragonfly/src/sys/emulation/svr4/svr4_sysent.c.bak: Permission denied
*** Error code 1 (ignored)
mv -f /home/source/dragonfly/src/sys/emulation/svr4/svr4_syscall.h /home/source/dragonfly/src/sys/emulation/svr4/svr4_syscall.h.bak
mv: rename /home/source/dragonfly/src/sys/emulation/svr4/svr4_syscall.h to /home/source/dragonfly/src/sys/emulation/svr4/svr4_syscall.h.bak: Permission denied
*** Error code 1 (ignored)
mv -f /home/source/dragonfly/src/sys/emulation/svr4/svr4_proto.h /home/source/dragonfly/src/sys/emulation/svr4/svr4_proto.h.bak
mv: rename /home/source/dragonfly/src/sys/emulation/svr4/svr4_proto.h to /home/source/dragonfly/src/sys/emulation/svr4/svr4_proto.h.bak: Permission denied
*** Error code 1 (ignored)
mv -f /home/source/dragonfly/src/sys/emulation/svr4/svr4_union.h /home/source/dragonfly/src/sys/emulation/svr4/svr4_union.h.bak
mv: rename /home/source/dragonfly/src/sys/emulation/svr4/svr4_union.h to /home/source/dragonfly/src/sys/emulation/svr4/svr4_union.h.bak: Permission denied
*** Error code 1 (ignored)
cd /home/source/dragonfly/src/sys/emulation/svr4 && sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf
touch: sysent.dcl.37505: Permission denied
touch: sysent.compat.37505: Permission denied
touch: sysent.compatdcl.37505: Permission denied
touch: sysent.switch.37505: Permission denied
touch: sysinc.switch.37505: Permission denied
touch: sysarg.switch.37505: Permission denied
touch: sysunion.switch.37505: Permission denied
rm: sysent.dcl.37505: No such file or directory
rm: sysent.compat.37505: No such file or directory
rm: sysent.compatdcl.37505: No such file or directory
rm: sysent.switch.37505: No such file or directory
rm: sysinc.switch.37505: No such file or directory
rm: sysarg.switch.37505: No such file or directory
rm: sysunion.switch.37505: No such file or directory
*** Error code 1
Stop in /home/source/dragonfly/src/sys/emulation/svr4.
*** Error code 1
Stop in /home/source/dragonfly/src/sys/emulation.
*** Error code 1
Stop in /home/source/dragonfly/src/sys.
*** Error code 1
Stop in /var/obj/home/source/dragonfly/src/sys/MYKERNEL.
*** Error code 1
Stop in /home/source/dragonfly/src.
*** Error code 1
Stop in /home/source/dragonfly/src.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]