From owner-freebsd-stable Wed Nov 7 4:50:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by hub.freebsd.org (Postfix) with ESMTP id 9C1D037B416 for ; Wed, 7 Nov 2001 04:49:54 -0800 (PST) Received: from lerami.lerctr.org (localhost [127.0.0.1]) by lerami.lerctr.org (8.12.1/8.12.1/20010730/$Revision: 1.25 $) with ESMTP id fA7CnmGw009312; Wed, 7 Nov 2001 06:49:48 -0600 (CST) Received: (from ler@localhost) by lerami.lerctr.org (8.12.1/8.12.1/Submit) id fA7CnmpP009311; Wed, 7 Nov 2001 12:49:48 GMT Date: Wed, 7 Nov 2001 06:49:48 -0600 From: Larry Rosenman To: Nate Lawson Cc: freebsd-stable@FreeBSD.ORG Subject: Re: linux sysent fails to build? Message-ID: <20011107064948.A8140@lerami.lerctr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-Mailer: Mutt http://www.mutt.org/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Nate Lawson [011107 01:31]: > I'm trying to build a kernel on the latest -stable cvsup as of tonight and > the kernel builds fine but the linux module fails. A cursory look at > linux_proto.h didn't turn up anything strange. It does appear that these > files were updated 11/5 in -stable. It has been a month or so since I > last did a kernel/world build. > > Ideas? See the thread I started a day or so ago. The short answer: cd /usr/obj rm -rf usr cd /usr/src/ make cleandir && make cleandir make world kernel > > Thanks, > -Nate > > > ===> linux > cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ > -I@/../include -mpreferred-stack-boundary=2 -c linux_sysent.c > In file included from linux_sysent.c:14: > linux_proto.h:57: syntax error before `linux_time_t' > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) > linux_proto.h:57: syntax error before `)' > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) > linux_proto.h:57: syntax error before `)' > linux_proto.h:156: syntax error before `linux_handler_t' > linux_proto.h:156: `linux_handler_t' undeclared here (not in a function) > linux_proto.h:156: `linux_handler_t' undeclared here (not in a function) > linux_proto.h:184: syntax error before `linux_dev_t' > linux_proto.h:184: `linux_dev_t' undeclared here (not in a function) > linux_proto.h:184: `linux_dev_t' undeclared here (not in a function) > linux_proto.h:189: syntax error before `linux_osigaction_t' > linux_proto.h:189: `linux_osigaction_t' undeclared here (not in a > function) > linux_proto.h:189: syntax error before `)' > linux_proto.h:189: `linux_osigaction_t' undeclared here (not in a > function) > linux_proto.h:189: syntax error before `)' > linux_proto.h:190: syntax error before `linux_osigaction_t' > linux_proto.h:190: `linux_osigaction_t' undeclared here (not in a > function) > linux_proto.h:190: syntax error before `)' > linux_proto.h:190: `linux_osigaction_t' undeclared here (not in a > function) > linux_proto.h:190: syntax error before `)' > linux_proto.h:196: syntax error before `linux_osigset_t' > linux_proto.h:196: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:196: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:200: syntax error before `linux_osigset_t' > linux_proto.h:200: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:200: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:201: syntax error before `linux_osigset_t' > linux_proto.h:201: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:201: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:204: syntax error before `linux_osigset_t' > linux_proto.h:204: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:204: syntax error before `)' > linux_proto.h:204: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:204: syntax error before `)' > linux_proto.h:216: syntax error before `linux_gid_t' > linux_proto.h:216: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:216: syntax error before `)' > linux_proto.h:216: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:216: syntax error before `)' > linux_proto.h:220: syntax error before `linux_gid_t' > linux_proto.h:220: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:220: syntax error before `)' > linux_proto.h:220: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:220: syntax error before `)' > linux_proto.h:344: syntax error before `linux_osigset_t' > linux_proto.h:344: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:344: syntax error before `)' > linux_proto.h:344: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:344: syntax error before `)' > linux_proto.h:345: syntax error before `linux_osigset_t' > linux_proto.h:345: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:345: syntax error before `)' > linux_proto.h:345: `linux_osigset_t' undeclared here (not in a function) > linux_proto.h:345: syntax error before `)' > linux_proto.h:380: syntax error before `linux_uid_t' > linux_proto.h:380: `linux_uid_t' undeclared here (not in a function) > linux_proto.h:380: `linux_uid_t' undeclared here (not in a function) > linux_proto.h:383: syntax error before `linux_gid_t' > linux_proto.h:383: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:383: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:410: syntax error before `linux_pid_t' > linux_proto.h:410: `linux_pid_t' undeclared here (not in a function) > linux_proto.h:410: `linux_pid_t' undeclared here (not in a function) > linux_proto.h:433: syntax error before `linux_uid_t' > linux_proto.h:433: `linux_uid_t' undeclared here (not in a function) > linux_proto.h:433: syntax error before `)' > linux_proto.h:433: `linux_uid_t' undeclared here (not in a function) > linux_proto.h:433: syntax error before `)' > linux_proto.h:434: syntax error before `linux_uid_t' > linux_proto.h:434: `linux_uid_t' undeclared here (not in a function) > linux_proto.h:434: syntax error before `)' > linux_proto.h:434: `linux_uid_t' undeclared here (not in a function) > linux_proto.h:434: syntax error before `)' > linux_proto.h:435: syntax error before `linux_uid_t' > linux_proto.h:435: `linux_uid_t' undeclared here (not in a function) > linux_proto.h:435: syntax error before `)' > linux_proto.h:435: `linux_uid_t' undeclared here (not in a function) > linux_proto.h:435: syntax error before `)' > linux_proto.h:447: syntax error before `linux_gid_t' > linux_proto.h:447: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:447: syntax error before `)' > linux_proto.h:447: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:447: syntax error before `)' > linux_proto.h:448: syntax error before `linux_gid_t' > linux_proto.h:448: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:448: syntax error before `)' > linux_proto.h:448: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:448: syntax error before `)' > linux_proto.h:449: syntax error before `linux_gid_t' > linux_proto.h:449: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:449: syntax error before `)' > linux_proto.h:449: `linux_gid_t' undeclared here (not in a function) > linux_proto.h:449: syntax error before `)' > linux_proto.h:459: syntax error before `linux_sigaction_t' > linux_proto.h:459: `linux_sigaction_t' undeclared here (not in a function) > linux_proto.h:459: syntax error before `)' > linux_proto.h:459: `linux_sigaction_t' undeclared here (not in a function) > linux_proto.h:459: syntax error before `)' > linux_proto.h:460: syntax error before `linux_sigaction_t' > linux_proto.h:460: `linux_sigaction_t' undeclared here (not in a function) > linux_proto.h:460: syntax error before `)' > linux_proto.h:460: `linux_sigaction_t' undeclared here (not in a function) > linux_proto.h:460: syntax error before `)' > linux_proto.h:465: syntax error before `linux_sigset_t' > linux_proto.h:465: `linux_sigset_t' undeclared here (not in a function) > linux_proto.h:465: syntax error before `)' > linux_proto.h:465: `linux_sigset_t' undeclared here (not in a function) > linux_proto.h:465: syntax error before `)' > linux_proto.h:466: syntax error before `linux_sigset_t' > linux_proto.h:466: `linux_sigset_t' undeclared here (not in a function) > linux_proto.h:466: syntax error before `)' > linux_proto.h:466: `linux_sigset_t' undeclared here (not in a function) > linux_proto.h:466: syntax error before `)' > linux_proto.h:479: syntax error before `linux_sigset_t' > linux_proto.h:479: `linux_sigset_t' undeclared here (not in a function) > linux_proto.h:479: syntax error before `)' > linux_proto.h:479: `linux_sigset_t' undeclared here (not in a function) > linux_proto.h:479: syntax error before `)' > linux_proto.h:510: syntax error before `*' > linux_proto.h:510: syntax error before `linux_stack_t' > linux_proto.h:510: syntax error before `linux_stack_t' > linux_proto.h:511: syntax error before `linux_stack_t' > linux_proto.h:511: `linux_stack_t' undeclared here (not in a function) > linux_proto.h:511: syntax error before `)' > linux_proto.h:511: `linux_stack_t' undeclared here (not in a function) > linux_proto.h:511: syntax error before `)' > linux_sysent.c:21: sizeof applied to an incomplete type > linux_sysent.c:21: warning: built-in function `exit' used without > declaration > linux_sysent.c:21: warning: cast discards qualifiers from pointer target > type > *** Error code 1 > > Stop in /usr/src/sys/modules/linux. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message