Date: Sat, 12 Dec 1998 13:35:00 -0600 (CST) From: Bruce Albrecht <bruce@zuhause.mn.org> To: Nick Hibma <n_hibma@FreeBSD.ORG>, freebsd-current@FreeBSD.ORG Subject: Re: Make world fails in /usr.sbin/usbd Message-ID: <13938.50532.845226.978382@zuhause.zuhause.mn.org> In-Reply-To: <13938.48647.433050.667678@zuhause.zuhause.mn.org> References: <13938.47448.324592.152079@zuhause.zuhause.mn.org> <13938.48647.433050.667678@zuhause.zuhause.mn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bleah, I should have tried to run it first. The mtree was wrong, and
I don't think the Makefile.inc1 is right, either, because it's
creating a set of include/dev subdirectories. I'm not sure what the
right way to just pull in sys/dev/usb/usb.h into include/dev. I guess
I'll let the Makefile experts handle this one...
My guess is that this is your responsibility. I think it needs the
following changes:
diff -u /usr/src/etc/mtree/BSD.include.dist /tmp/BSD.include.dist
--- /usr/src/etc/mtree/BSD.include.dist Sat Dec 5 10:36:23 1998
+++ /tmp/BSD.include.dist Sat Dec 12 12:52:58 1998
@@ -9,6 +9,8 @@
scsi
..
..
+ dev
+ ..
g++
std
..
diff -u /usr/src/Makefile.inc1 /tmp/Makefile.inc1
--- /usr/src/Makefile.inc1 Sat Dec 5 10:34:09 1998
+++ /tmp/Makefile.inc1 Sat Dec 12 13:09:30 1998
@@ -476,7 +476,7 @@
rm -f ${DESTDIR}/usr/src/sys
ln -s ${.CURDIR}/sys ${DESTDIR}/usr/src
cd ${.CURDIR}/include; find -dx . | cpio -dump ${DESTDIR}/usr/include
-.for d in net netatm netinet posix4 sys vm machine
+.for d in dev net netatm netinet posix4 sys vm machine
if [ -h ${DESTDIR}/usr/include/$d ]; then \
rm -f ${DESTDIR}/usr/include/$d ; \
fi
---
Bruce Albrecht writes:
> I just cvsupped about an hour ago, and as near as I can tell, the
> usr/include/dev directory containing dsb.h is not getting created.
> For the moment, I'm just going to remove the usb programs from the
> usr.sbin Makefile until I can figure out where the Makefiles would
> normally create and populate this subdirectory.
>
> ===> usr.sbin/usbd
> cc -O -pipe -I../../sys -I/usr/obj/elf/usr/src/tmp/usr/include -c /usr/src/usr.sbin/usbd/usbd.c
> gzip -cn /usr/src/usr.sbin/usbd/usbd.8 > usbd.8.gz
> /usr/src/usr.sbin/usbd/usbd.c:50: dev/usb/usb.h: No such file or directory
> /usr/src/usr.sbin/usbd/usbd.c: In function `main':
> /usr/src/usr.sbin/usbd/usbd.c:152: `USB_DISCOVER' undeclared (first use this function)
> /usr/src/usr.sbin/usbd/usbd.c:152: (Each undeclared identifier is reported only once
> /usr/src/usr.sbin/usbd/usbd.c:152: for each function it appears in.)
> *** Error code 1
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13938.50532.845226.978382>
