From owner-freebsd-current@FreeBSD.ORG Thu Oct 7 00:36:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C07616A4CE for ; Thu, 7 Oct 2004 00:36:37 +0000 (GMT) Received: from node15.coopprint.com (node15.cooperativeprinting.com [208.4.77.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 612FF43D31 for ; Thu, 7 Oct 2004 00:36:36 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 11575 invoked by uid 0); 7 Oct 2004 00:35:55 -0000 Received: from unknown (HELO ?192.168.0.5?) (63.231.165.205) by node15.coopprint.com with SMTP; 7 Oct 2004 00:35:55 -0000 Message-ID: <41648FA6.3030002@gamersimpact.com> Date: Wed, 06 Oct 2004 19:36:54 -0500 From: Ryan Sommers User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Jakubik References: <2353.192.168.0.188.1097108328.squirrel@192.168.0.188> In-Reply-To: <2353.192.168.0.188.1097108328.squirrel@192.168.0.188> Content-Type: multipart/mixed; boundary="------------080709060409040201010903" cc: freebsd-current@freebsd.org cc: davidxu@freebsd.org Subject: Re: build kernel failiure (kern_thr.c) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 00:36:37 -0000 This is a multi-part message in MIME format. --------------080709060409040201010903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mike Jakubik wrote: >cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline >-Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. >-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica >-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter >-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath >-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm >-D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param >inline-unit-growth=100 --param large-function-growth=1000 >-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding >-Werror /usr/src/sys/kern/kern_thr.c >/usr/src/sys/kern/kern_thr.c: In function `thr_exit': >/usr/src/sys/kern/kern_thr.c:196: error: structure has no member named >`state' >/usr/src/sys/kern/kern_thr.c:197: error: structure has no member named >`state' >*** Error code 1 > >Stop in /usr/obj/usr/src/sys/DP. >*** Error code 1 > > Apply the following patch (attached also) and then do: cd /usr/src/sys/kern; make ../sys/sysproto.h Index: /usr/src/sys/kern/syscalls.master =================================================================== RCS file: /home/ncvs/src/sys/kern/syscalls.master,v retrieving revision 1.176 diff -u -r1.176 syscalls.master --- syscalls.master 13 Jul 2004 19:35:10 -0000 1.176 +++ syscalls.master 7 Oct 2004 00:31:23 -0000 @@ -614,7 +614,7 @@ acl_type_t type, struct acl *aclp); } 429 MSTD { int sigwait(const sigset_t *set, int *sig); } 430 MSTD { int thr_create(ucontext_t *ctx, long *id, int flags); } -431 MSTD { void thr_exit(void); } +431 MSTD { void thr_exit(long *state); } 432 MSTD { int thr_self(long *id); } 433 MSTD { int thr_kill(long id, int sig); } 434 MSTD { int _umtx_lock(struct umtx *umtx); } -- Ryan Sommers ryans@gamersimpact.com --------------080709060409040201010903 Content-Type: text/plain; name="syscalls.master.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="syscalls.master.diff" Index: /usr/src/sys/kern/syscalls.master =================================================================== RCS file: /home/ncvs/src/sys/kern/syscalls.master,v retrieving revision 1.176 diff -u -r1.176 syscalls.master --- syscalls.master 13 Jul 2004 19:35:10 -0000 1.176 +++ syscalls.master 7 Oct 2004 00:31:23 -0000 @@ -614,7 +614,7 @@ acl_type_t type, struct acl *aclp); } 429 MSTD { int sigwait(const sigset_t *set, int *sig); } 430 MSTD { int thr_create(ucontext_t *ctx, long *id, int flags); } -431 MSTD { void thr_exit(void); } +431 MSTD { void thr_exit(long *state); } 432 MSTD { int thr_self(long *id); } 433 MSTD { int thr_kill(long id, int sig); } 434 MSTD { int _umtx_lock(struct umtx *umtx); } --------------080709060409040201010903--