Date: Sun, 23 Jan 2011 01:07:45 +0800 From: gnehzuil gnehzuil <gnehzuil@gmail.com> To: freebsd-current@freebsd.org Subject: FreeBSD-current kernel can not be built Message-ID: <AANLkTik6BM5nB1634t8vjDK9Y=WYp9R=e5HRo%2BXbmOPc@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi all, It seems that the latest CURRENT kernel can not be built. I used 'make buildkernel KERNCONF=CURRENT' to build a new kernel and got an error: -------------------------------------------------------------- >>> Kernel build for CURRENT started on Sun Jan 23 01:03:57 CST 2011 -------------------------------------------------------------- ===> CURRENT mkdir -p /usr/obj/usr/src/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/CURRENT /usr/src/sys/i386/conf/CURRENT ../../conf/options: Duplicate option USB_HOST_ALIGN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ----------------------------------------- I reviewed the source code in svn and perforce repository. It has a duplicate option USB_HOST_ALIGN in conf/options. I attach a patch file to fix it. Best regards, lz [-- Attachment #2 --] --- options.orig 2011-01-23 00:54:34.254976961 +0800 +++ options 2011-01-23 00:53:26.094976962 +0800 @@ -642,7 +642,6 @@ # options for USB support USB_DEBUG opt_usb.h -USB_HOST_ALIGN opt_usb.h USB_REQ_DEBUG opt_usb.h USB_VERBOSE opt_usb.h USB_EHCI_BIG_ENDIAN_DESC opt_usb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik6BM5nB1634t8vjDK9Y=WYp9R=e5HRo%2BXbmOPc>
