From nobody@FreeBSD.org  Sun Feb 10 20:56:42 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 7809C37B41C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2002 20:56:41 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1B4uf305254;
	Sun, 10 Feb 2002 20:56:41 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202110456.g1B4uf305254@freefall.freebsd.org>
Date: Sun, 10 Feb 2002 20:56:41 -0800 (PST)
From: Robert Saft <zardoz@vampyre.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Cannot Compile 4.4 Kernel
X-Send-Pr-Version: www-1.0

>Number:         34816
>Category:       kern
>Synopsis:       Cannot Compile 4.4 Kernel
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 10 21:00:01 PST 2002
>Closed-Date:    Mon Feb 11 03:41:15 PST 2002
>Last-Modified:  Mon Feb 11 03:42:01 PST 2002
>Originator:     Robert Saft
>Release:        4.4 - Release
>Organization:
>Environment:
FreeBSD freya 4.4-STABLE FreeBSD 4.4-STABLE #3: Wed Oct 10 00:32:13 PDT 2001 root@freya.vampyre.com:/usr/src/sys/compile/freya  i386
>Description:
The linux_proto.h has multiple errors that prevent the kernel from compiling. All sources are current via CVSup. Output from build
follows.

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:439: syntax error before `linux_uid_t'
linux_proto.h:439: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:439: syntax error before `)'
linux_proto.h:439: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:439: syntax error before `)'
linux_proto.h:440: syntax error before `linux_uid_t'
linux_proto.h:440: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:440: syntax error before `)'
linux_proto.h:440: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:440: syntax error before `)'
linux_proto.h:441: syntax error before `linux_uid_t'
linux_proto.h:441: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:441: syntax error before `)'
linux_proto.h:441: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:441: syntax error before `)'
linux_proto.h:453: syntax error before `linux_gid_t'
linux_proto.h:453: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:453: syntax error before `)'
linux_proto.h:453: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:453: syntax error before `)'
linux_proto.h:454: syntax error before `linux_gid_t'
linux_proto.h:454: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:454: syntax error before `)'
linux_proto.h:454: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:454: syntax error before `)'
linux_proto.h:455: syntax error before `linux_gid_t'
linux_proto.h:455: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:455: syntax error before `)'
linux_proto.h:455: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:455: syntax error before `)'
linux_proto.h:465: syntax error before `linux_sigaction_t'
linux_proto.h:465: `linux_sigaction_t' undeclared here (not in a function)
linux_proto.h:465: syntax error before `)'
linux_proto.h:465: `linux_sigaction_t' undeclared here (not in a function)
linux_proto.h:465: syntax error before `)'
linux_proto.h:466: syntax error before `linux_sigaction_t'
linux_proto.h:466: `linux_sigaction_t' undeclared here (not in a function)
linux_proto.h:466: syntax error before `)'
linux_proto.h:466: `linux_sigaction_t' undeclared here (not in a function)
linux_proto.h:466: syntax error before `)'
linux_proto.h:471: syntax error before `linux_sigset_t'
linux_proto.h:471: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:471: syntax error before `)'
linux_proto.h:471: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:471: syntax error before `)'
linux_proto.h:472: syntax error before `linux_sigset_t'
linux_proto.h:472: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:472: syntax error before `)'
linux_proto.h:472: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:472: syntax error before `)'
linux_proto.h:485: syntax error before `linux_sigset_t'
linux_proto.h:485: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:485: syntax error before `)'
linux_proto.h:485: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:485: syntax error before `)'
linux_proto.h:516: syntax error before `*'
linux_proto.h:516: syntax error before `linux_stack_t'
linux_proto.h:516: syntax error before `linux_stack_t'
linux_proto.h:517: syntax error before `linux_stack_t'
linux_proto.h:517: `linux_stack_t' undeclared here (not in a function)
linux_proto.h:517: syntax error before `)'
linux_proto.h:517: `linux_stack_t' undeclared here (not in a function)
linux_proto.h:517: syntax error before `)'
*** Error code 1

Stop in /usr/src/sys/modules/linux.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

>How-To-Repeat:
With current sources, re-compile the kernel...
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: dwmalone 
State-Changed-When: Mon Feb 11 00:27:23 PST 2002 
State-Changed-Why:  
Have a look at /usr/src/UPDATING - the entry for 20011110 - I think 
this will solve your problem. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34816 
State-Changed-From-To: feedback->closed 
State-Changed-By: dwmalone 
State-Changed-When: Mon Feb 11 03:41:15 PST 2002 
State-Changed-Why:  
Blowing away the kernel compile directory helped - must have been 
some cruft left sitting around somewhere. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34816 
>Unformatted:
