Bug 34816

Summary: Cannot Compile 4.4 Kernel
Product: Base System Reporter: Robert Saft <zardoz>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Robert Saft 2002-02-11 05:00:01 UTC
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...
Comment 1 dwmalone freebsd_committer freebsd_triage 2002-02-11 08:27:23 UTC
State Changed
From-To: open->feedback

Have a look at /usr/src/UPDATING - the entry for 20011110 - I think 
this will solve your problem.
Comment 2 dwmalone freebsd_committer freebsd_triage 2002-02-11 11:41:15 UTC
State Changed
From-To: feedback->closed

Blowing away the kernel compile directory helped - must have been 
some cruft left sitting around somewhere.