DragonFly BSD
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?


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Aug 2003 09:04:14 -0700 (PDT)

    Ach.  I just realized what the issue is...   It's the -I- options.
    When you CD into sys and make modules it is using the .mk files
    in /usr/share/mk instead of /usr/src/share/mk.

    Hopefully this is a simple environmental fix on my part.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>

:Hello.
:Is building DragonflyBSD under FreeBSD-STABLE broken?
:I just updated the source tree(Aug. 16 22:00 UTC),
:and tried to do the following:
:
:$ cd ~source/dragonfly/src	# where I keep the source tree
:$ whoami			# build as user dragonfly, who can't
:dragonfly			# touch any part of the source tree
:$ rm -rf /usr/obj/*
:$ NOCLEAN=yes; KERNCONFDIR=~dragonfly/confs; KERNCONF=MYKERNEL
:$ export NOCLEAN KERNCONFDIR KERNCONF
:$ make buildworld		# this succeeded
:$ make buildkernel
:$ cd ./sys && make modules
:
:then, at the buildkernel line,
:				:
:rm -f .depend
:mkdep -f .depend -a   -nostdinc -I/home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../ -I.. -D_KERNEL -DKLD_MODULE -I- -I/home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../ -I.. -I. -I@ -I@/../include -I/usr/obj/home/source/dragonfly/src/i386/usr/include  /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../ahc_eisa.c /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7770.c
:In file included from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7xxx_osm.h:65,
:                 from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../ahc_eisa.c:35:
:./machine/bus.h:43: bus_at386.h: No such file or directory
:./machine/bus.h:45: bus_dma.h: No such file or directory
:In file included from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7xxx_osm.h:78,
:                 from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../ahc_eisa.c:35:
:/usr/obj/home/source/dragonfly/src/i386/usr/include/bus/cam/cam_ccb.h:41: cam_debug.h: No such file or directory
:/usr/obj/home/source/dragonfly/src/i386/usr/include/bus/cam/cam_ccb.h:42: scsi/scsi_all.h: No such file or directory
:In file included from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7xxx_osm.h:81,
:                 from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../ahc_eisa.c:35:
:/usr/obj/home/source/dragonfly/src/i386/usr/include/bus/cam/cam_xpt_sim.h:36: cam_xpt.h: No such file or directory
:/usr/obj/home/source/dragonfly/src/i386/usr/include/bus/cam/cam_xpt_sim.h:37: cam_queue.h: No such file or directory
:/home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../ahc_eisa.c:37: bus/eisa/eisaconf.h: No such file or directory
:In file included from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7xxx_osm.h:65,
:                 from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7770.c:51:
:./machine/bus.h:43: bus_at386.h: No such file or directory
:./machine/bus.h:45: bus_dma.h: No such file or directory
:In file included from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7xxx_osm.h:78,
:                 from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7770.c:51:
:/usr/obj/home/source/dragonfly/src/i386/usr/include/bus/cam/cam_ccb.h:41: cam_debug.h: No such file or directory
:/usr/obj/home/source/dragonfly/src/i386/usr/include/bus/cam/cam_ccb.h:42: scsi/scsi_all.h: No such file or directory
:In file included from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7xxx_osm.h:81,
:                 from /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa/../../aic7770.c:51:
:/usr/obj/home/source/dragonfly/src/i386/usr/include/bus/cam/cam_xpt_sim.h:36: cam_xpt.h: No such file or directory
:/usr/obj/home/source/dragonfly/src/i386/usr/include/bus/cam/cam_xpt_sim.h:37: cam_queue.h: No such file or directory
:mkdep: compile failed
:*** Error code 1
:
:Stop in /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc/ahc_eisa.
:*** Error code 1
:
:Stop in /home/source/dragonfly/src/sys/dev/disk/aic7xxx/ahc.
:*** Error code 1
:
:Stop in /home/source/dragonfly/src/sys/dev/disk/aic7xxx.
:*** Error code 1
:
:Stop in /home/source/dragonfly/src/sys/dev/disk.
:*** Error code 1
:
:Stop in /home/source/dragonfly/src/sys/dev.
:*** Error code 1
:
:Stop in /home/source/dragonfly/src/sys.
:*** Error code 1
:
:Stop in /usr/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]