Skip site navigation (1)Skip section navigation (2)
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
--00248c0eed54d35c27049a726741
Content-Type: text/plain; charset=ISO-8859-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

--00248c0eed54d35c27049a726741
Content-Type: application/octet-stream; name=patch
Content-Disposition: attachment; filename=patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gj8rmnnu0

LS0tIG9wdGlvbnMub3JpZwkyMDExLTAxLTIzIDAwOjU0OjM0LjI1NDk3Njk2MSArMDgwMAorKysg
b3B0aW9ucwkyMDExLTAxLTIzIDAwOjUzOjI2LjA5NDk3Njk2MiArMDgwMApAQCAtNjQyLDcgKzY0
Miw2IEBACiAKICMgb3B0aW9ucyBmb3IgVVNCIHN1cHBvcnQKIFVTQl9ERUJVRwkJb3B0X3VzYi5o
Ci1VU0JfSE9TVF9BTElHTgkJb3B0X3VzYi5oCiBVU0JfUkVRX0RFQlVHCQlvcHRfdXNiLmgKIFVT
Ql9WRVJCT1NFCQlvcHRfdXNiLmgKIFVTQl9FSENJX0JJR19FTkRJQU5fREVTQwlvcHRfdXNiLmgK
--00248c0eed54d35c27049a726741--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik6BM5nB1634t8vjDK9Y=WYp9R=e5HRo%2BXbmOPc>