From owner-freebsd-questions Wed Feb 6 22:29:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gatekeeper.inetworx.com.ph (phil-ville.com [202.61.77.129]) by hub.freebsd.org (Postfix) with ESMTP id DB14037B416; Wed, 6 Feb 2002 22:28:25 -0800 (PST) Received: from superserver.inetworx.com.ph (inetworx.com.ph [192.168.88.12]) by gatekeeper.inetworx.com.ph (8.11.6/8.11.1) with ESMTP id g1765KZ29590; Thu, 7 Feb 2002 14:05:20 +0800 (PHT) Received: from JASON by superserver.inetworx.com.ph with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1461.56) id 1MWTRS8B; Thu, 7 Feb 2002 13:53:25 +0800 Message-ID: <023501c1af9b$7ce52bf0$b958a8c0@JASON> From: "Jason" To: , Subject: compile error Date: Thu, 7 Feb 2002 13:51:28 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0232_01C1AFDE.8A973390" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0232_01C1AFDE.8A973390 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm trying to compile my kernel. Doing "make all" gives me this error. = Please help. I'm using FreeBSD stable 4.5. 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 `)' 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 Stop in /usr/src/sys/compile/WWW. TIA Jason ------=_NextPart_000_0232_01C1AFDE.8A973390 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I'm trying to compile my kernel.  = Doing "make=20 all" gives me this error.  Please help.  I'm using FreeBSD = stable=20 4.5.
 
In file included from=20 linux_sysent.c:14:
linux_proto.h:57: syntax error before=20 `linux_time_t'
linux_proto.h:57: `linux_time_t' undeclared here (not = in a=20 function)
linux_proto.h:57: syntax error before = `)'
linux_proto.h:57:=20 `linux_time_t' undeclared here (not in a function)
linux_proto.h:57: = syntax=20 error before `)'
linux_proto.h:156: syntax error before=20 `linux_handler_t'
linux_proto.h:156: `linux_handler_t' undeclared = here (not=20 in a function)
linux_proto.h:156: `linux_handler_t' undeclared here = (not in a=20 function)
linux_proto.h:184: syntax error before=20 `linux_dev_t'
linux_proto.h:184: `linux_dev_t' undeclared here (not = in a=20 function)
linux_proto.h:184: `linux_dev_t' undeclared here (not in a=20 function)
linux_proto.h:189: syntax error before=20 `linux_osigaction_t'
linux_proto.h:189: `linux_osigaction_t' = undeclared here=20 (not in a function)
linux_proto.h:189: syntax error before=20 `)'
linux_proto.h:189: `linux_osigaction_t' undeclared here (not in a = function)
linux_proto.h:189: syntax error before = `)'
linux_proto.h:190:=20 syntax error before `linux_osigaction_t'
linux_proto.h:190:=20 `linux_osigaction_t' undeclared here (not in a = function)
linux_proto.h:190:=20 syntax error before `)'
linux_proto.h:190: `linux_osigaction_t' = undeclared=20 here (not in a function)
linux_proto.h:190: syntax error before=20 `)'
linux_proto.h:196: syntax error before=20 `linux_osigset_t'
linux_proto.h:196: `linux_osigset_t' undeclared = here (not=20 in a function)
linux_proto.h:196: `linux_osigset_t' undeclared here = (not in a=20 function)
linux_proto.h:200: syntax error before=20 `linux_osigset_t'
linux_proto.h:200: `linux_osigset_t' undeclared = here (not=20 in a function)
linux_proto.h:200: `linux_osigset_t' undeclared here = (not in a=20 function)
linux_proto.h:201: syntax error before=20 `linux_osigset_t'
linux_proto.h:201: `linux_osigset_t' undeclared = here (not=20 in a function)
linux_proto.h:201: `linux_osigset_t' undeclared here = (not in a=20 function)
linux_proto.h:204: syntax error before=20 `linux_osigset_t'
linux_proto.h:204: `linux_osigset_t' undeclared = here (not=20 in a function)
linux_proto.h:204: syntax error before=20 `)'
linux_proto.h:204: `linux_osigset_t' undeclared here (not in a=20 function)
linux_proto.h:204: syntax error before = `)'
linux_proto.h:216:=20 syntax error before `linux_gid_t'
linux_proto.h:216: `linux_gid_t' = undeclared=20 here (not in a function)
linux_proto.h:216: syntax error before=20 `)'
linux_proto.h:216: `linux_gid_t' undeclared here (not in a=20 function)
linux_proto.h:216: syntax error before = `)'
linux_proto.h:220:=20 syntax error before `linux_gid_t'
linux_proto.h:220: `linux_gid_t' = undeclared=20 here (not in a function)
linux_proto.h:220: syntax error before=20 `)'
linux_proto.h:220: `linux_gid_t' undeclared here (not in a=20 function)
linux_proto.h:220: syntax error before = `)'
linux_proto.h:344:=20 syntax error before `linux_osigset_t'
linux_proto.h:344: = `linux_osigset_t'=20 undeclared here (not in a function)
linux_proto.h:344: syntax error = before=20 `)'
linux_proto.h:344: `linux_osigset_t' undeclared here (not in a=20 function)
linux_proto.h:344: syntax error before = `)'
linux_proto.h:345:=20 syntax error before `linux_osigset_t'
linux_proto.h:345: = `linux_osigset_t'=20 undeclared here (not in a function)
linux_proto.h:345: syntax error = before=20 `)'
linux_proto.h:345: `linux_osigset_t' undeclared here (not in a=20 function)
linux_proto.h:345: syntax error before = `)'
linux_proto.h:380:=20 syntax error before `linux_uid_t'
linux_proto.h:380: `linux_uid_t' = undeclared=20 here (not in a function)
linux_proto.h:380: `linux_uid_t' undeclared = here=20 (not in a function)
linux_proto.h:383: syntax error before=20 `linux_gid_t'
linux_proto.h:383: `linux_gid_t' undeclared here (not = in a=20 function)
linux_proto.h:383: `linux_gid_t' undeclared here (not in a=20 function)
linux_proto.h:410: syntax error before=20 `linux_pid_t'
linux_proto.h:410: `linux_pid_t' undeclared here (not = in a=20 function)
linux_proto.h:410: `linux_pid_t' undeclared here (not in a=20 function)
linux_proto.h:439: syntax error before=20 `linux_uid_t'
linux_proto.h:439: `linux_uid_t' undeclared here (not = in a=20 function)
linux_proto.h:439: syntax error before = `)'
linux_proto.h:439:=20 `linux_uid_t' undeclared here (not in a function)
linux_proto.h:439: = syntax=20 error before `)'
linux_proto.h:440: syntax error before=20 `linux_uid_t'
linux_proto.h:440: `linux_uid_t' undeclared here (not = in a=20 function)
linux_proto.h:440: syntax error before = `)'
linux_proto.h:440:=20 `linux_uid_t' undeclared here (not in a function)
linux_proto.h:440: = syntax=20 error before `)'
linux_proto.h:441: syntax error before=20 `linux_uid_t'
linux_proto.h:441: `linux_uid_t' undeclared here (not = in a=20 function)
linux_proto.h:441: syntax error before = `)'
linux_proto.h:441:=20 `linux_uid_t' undeclared here (not in a function)
linux_proto.h:441: = syntax=20 error before `)'
linux_proto.h:453: syntax error before=20 `linux_gid_t'
linux_proto.h:453: `linux_gid_t' undeclared here (not = in a=20 function)
linux_proto.h:453: syntax error before = `)'
linux_proto.h:453:=20 `linux_gid_t' undeclared here (not in a function)
linux_proto.h:453: = syntax=20 error before `)'
linux_proto.h:454: syntax error before=20 `linux_gid_t'
linux_proto.h:454: `linux_gid_t' undeclared here (not = in a=20 function)
linux_proto.h:454: syntax error before = `)'
linux_proto.h:454:=20 `linux_gid_t' undeclared here (not in a function)
linux_proto.h:454: = syntax=20 error before `)'
linux_proto.h:455: syntax error before=20 `linux_gid_t'
linux_proto.h:455: `linux_gid_t' undeclared here (not = in a=20 function)
linux_proto.h:455: syntax error before = `)'
linux_proto.h:455:=20 `linux_gid_t' undeclared here (not in a function)
linux_proto.h:455: = syntax=20 error before `)'
linux_proto.h:465: syntax error before=20 `linux_sigaction_t'
linux_proto.h:465: `linux_sigaction_t' undeclared = here=20 (not in a function)
linux_proto.h:465: syntax error before=20 `)'
linux_proto.h:465: `linux_sigaction_t' undeclared here (not in a=20 function)
linux_proto.h:465: syntax error before = `)'
linux_proto.h:466:=20 syntax error before `linux_sigaction_t'
linux_proto.h:466:=20 `linux_sigaction_t' undeclared here (not in a = function)
linux_proto.h:466:=20 syntax error before `)'
linux_proto.h:466: `linux_sigaction_t' = undeclared=20 here (not in a function)
linux_proto.h:466: syntax error before=20 `)'
linux_proto.h:471: syntax error before=20 `linux_sigset_t'
linux_proto.h:471: `linux_sigset_t' undeclared here = (not in=20 a function)
linux_proto.h:471: syntax error before = `)'
linux_proto.h:471:=20 `linux_sigset_t' undeclared here (not in a = function)
linux_proto.h:471:=20 syntax error before `)'
linux_proto.h:472: syntax error before=20 `linux_sigset_t'
linux_proto.h:472: `linux_sigset_t' undeclared here = (not in=20 a function)
linux_proto.h:472: syntax error before = `)'
linux_proto.h:472:=20 `linux_sigset_t' undeclared here (not in a = function)
linux_proto.h:472:=20 syntax error before `)'
linux_proto.h:485: syntax error before=20 `linux_sigset_t'
linux_proto.h:485: `linux_sigset_t' undeclared here = (not in=20 a function)
linux_proto.h:485: syntax error before = `)'
linux_proto.h:485:=20 `linux_sigset_t' undeclared here (not in a = function)
linux_proto.h:485:=20 syntax error before `)'
linux_proto.h:516: syntax error before=20 `*'
linux_proto.h:516: syntax error before=20 `linux_stack_t'
linux_proto.h:516: syntax error before=20 `linux_stack_t'
linux_proto.h:517: syntax error before=20 `linux_stack_t'
linux_proto.h:517: `linux_stack_t' undeclared here = (not in a=20 function)
linux_proto.h:517: syntax error before = `)'
linux_proto.h:517:=20 `linux_stack_t' undeclared here (not in a = function)
linux_proto.h:517: syntax=20 error before `)'
linux_sysent.c:21: sizeof applied to an incomplete=20 type
linux_sysent.c:21: warning: built-in function `exit' used = without=20 declaration
linux_sysent.c:21: warning: cast discards qualifiers from = pointer=20 target type
*** Error code 1
 
Stop in = /usr/src/sys/modules/linux.
*** Error=20 code 1
 
Stop in /usr/src/sys/modules.
*** = Error code=20 1
 
Stop in = /usr/src/sys/compile/WWW.
 
 
TIA
 
Jason
------=_NextPart_000_0232_01C1AFDE.8A973390-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message