From owner-freebsd-stable@FreeBSD.ORG Wed Nov 6 19:32:13 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 15592802 for ; Wed, 6 Nov 2013 19:32:13 +0000 (UTC) (envelope-from garbytrash@gmail.com) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7B0F2798 for ; Wed, 6 Nov 2013 19:32:12 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id p10so10578095pdj.11 for ; Wed, 06 Nov 2013 11:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nmJJ1eyS7JKfZ0V212v+tbULWc6moRJ7l8TQNKpnaNs=; b=wyQWN2Za8TinmJeHwdWN1P6/wWbVRnl2kIdxgfmy9rdjqo/eylUZdSyNjQU4Mb6Vex /KpVt1vcbHikW78kflaDAoaG1IzfP19HyYqfjinnhHXVqBm60WqmNpymYx1nW+ih4T9R SY3GyzrT/NxhEbkY/k9+YXzsUg8+0OqJAitNqbX8qjUVN1OD2q3WNFTuTDKbxpqiM1r8 UF0h1zKOyQ4yYwe95mo3ye6OxCcNqe+U400GNS5bIQfxj5Wbq2G3Eb6qtPqET/3cX8wz kXvWXlVzknjZfouTN8CwtUZjTiQTcHw5jJ8sCwvAHJLDYAhoH93LT9cel+z4a5XW9gT4 5CBA== MIME-Version: 1.0 X-Received: by 10.68.196.69 with SMTP id ik5mr4976002pbc.132.1383766332219; Wed, 06 Nov 2013 11:32:12 -0800 (PST) Received: by 10.66.142.167 with HTTP; Wed, 6 Nov 2013 11:32:12 -0800 (PST) Date: Wed, 6 Nov 2013 20:32:12 +0100 Message-ID: Subject: FreeBSD10-Beta 3 make buildkernel error From: Zenny To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 19:32:13 -0000 Hi: I am trying to recompile FreeBSD10-Beta3 with the following parameters: # cat /usr/src/sys/amd64/conf/PROD include GENERIC ident PROD nooptions DEADLKRES nooptions INVARIANTS nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN nooptions MALLOC_DEBUG_MAXZONES options VIMAGE options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_BRIDGE options NETGRAPH_EIFACE options NETGRAPH_SOCKET nooptions SCTP options VPS options RACCT options RCTL But I get the following error during make buildkernel: cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/kern/kern_jail.c /usr/src/sys/kern/kern_jail.c:4537:12: error: use of undeclared identifier 'allproc_lock'; did you mean 'allprison_lock'? sx_slock(&allproc_lock); ^ /usr/src/sys/sys/sx.h:251:34: note: expanded from macro 'sx_slock' #define sx_slock(sx) sx_slock_((sx), LOCK_FILE, LOCK_LINE) ^ /usr/src/sys/sys/sx.h:231:20: note: expanded from macro 'sx_slock_' (void)__sx_slock((sx), 0, (file), (line)) ^ /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here struct sx allprison_lock; ^ /usr/src/sys/kern/kern_jail.c:4542:15: error: use of undeclared identifier 'allproc_lock'; did you mean 'allprison_lock'? sx_sunlock(&allproc_lock); ^ /usr/src/sys/sys/sx.h:253:38: note: expanded from macro 'sx_sunlock' #define sx_sunlock(sx) sx_sunlock_((sx), LOCK_FILE, LOCK_LINE) ^ /usr/src/sys/sys/sx.h:235:16: note: expanded from macro 'sx_sunlock_' __sx_sunlock((sx), (file), (line)) ^ /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here struct sx allprison_lock; ^ /usr/src/sys/kern/kern_jail.c:4567:14: error: use of undeclared identifier 'allproc_lock'; did you mean 'allprison_lock'? sx_sunlock(&allproc_lock); ^ /usr/src/sys/sys/sx.h:253:38: note: expanded from macro 'sx_sunlock' #define sx_sunlock(sx) sx_sunlock_((sx), LOCK_FILE, LOCK_LINE) ^ /usr/src/sys/sys/sx.h:235:16: note: expanded from macro 'sx_sunlock_' __sx_sunlock((sx), (file), (line)) ^ /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here struct sx allprison_lock; ^ 3 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/sys/PROD *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src