From owner-freebsd-stable Wed Nov 7 5:34:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from batty.netvision.be (batty.be.ubizen.com [212.113.70.10]) by hub.freebsd.org (Postfix) with ESMTP id 96F4137B405 for ; Wed, 7 Nov 2001 05:34:41 -0800 (PST) Received: (from uucp@localhost) by batty.netvision.be (8.8.5/8.8.2) id OAA30428 for ; Wed, 7 Nov 2001 14:34:39 +0100 Received: from UNKNOWN(10.0.0.108), claiming to be "amaya.be.ubizen.com" via SMTP by batty.netvision.be, id smtpda30419; Wed Nov 7 13:34:35 2001 Received: (qmail 4054 invoked from network); 7 Nov 2001 13:34:34 -0000 Received: from unknown (HELO ubi.be.ubizen.com) (10.0.0.10) by amaya.be.ubizen.com with SMTP; 7 Nov 2001 13:34:33 -0000 Received: from ubizen.com ([10.0.50.65]) by ubi.be.ubizen.com (Netscape Messaging Server 4.1) with ESMTP id GMFN1L00.62I; Wed, 7 Nov 2001 14:34:33 +0100 Message-ID: <3BE93870.2F16AC5F@ubizen.com> Date: Wed, 07 Nov 2001 14:34:40 +0100 From: Niels Heinen X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Larry Rosenman Cc: Nate Lawson , freebsd-stable@FreeBSD.ORG Subject: Re: linux sysent fails to build? References: <20011107064948.A8140@lerami.lerctr.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sanitizer: Out 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 Could it be that this was an error by mistake ? I had the same error between two updates of my sources. After the second updating I had a new linux_sysent.c and the error was gone. Regards, Niels Heinen Larry Rosenman wrote: > * 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. > sorry, I am new to the list and http://docs.freebsd.org/mail/current/freebsd-stable.html is not updated yet > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message