Date: Thu, 7 Feb 2002 13:51:28 +0800 From: "Jason" <jason@inetworx.com.ph> To: <freebsd-questions@freebsd.org>, <freebsd-stable@freebsd.org> Subject: compile error Message-ID: <023501c1af9b$7ce52bf0$b958a8c0@JASON>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>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.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>In file included from=20 linux_sysent.c:14:<BR>linux_proto.h:57: syntax error before=20 `linux_time_t'<BR>linux_proto.h:57: `linux_time_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:57: syntax error before = `)'<BR>linux_proto.h:57:=20 `linux_time_t' undeclared here (not in a function)<BR>linux_proto.h:57: = syntax=20 error before `)'<BR>linux_proto.h:156: syntax error before=20 `linux_handler_t'<BR>linux_proto.h:156: `linux_handler_t' undeclared = here (not=20 in a function)<BR>linux_proto.h:156: `linux_handler_t' undeclared here = (not in a=20 function)<BR>linux_proto.h:184: syntax error before=20 `linux_dev_t'<BR>linux_proto.h:184: `linux_dev_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:184: `linux_dev_t' undeclared here (not in a=20 function)<BR>linux_proto.h:189: syntax error before=20 `linux_osigaction_t'<BR>linux_proto.h:189: `linux_osigaction_t' = undeclared here=20 (not in a function)<BR>linux_proto.h:189: syntax error before=20 `)'<BR>linux_proto.h:189: `linux_osigaction_t' undeclared here (not in a = function)<BR>linux_proto.h:189: syntax error before = `)'<BR>linux_proto.h:190:=20 syntax error before `linux_osigaction_t'<BR>linux_proto.h:190:=20 `linux_osigaction_t' undeclared here (not in a = function)<BR>linux_proto.h:190:=20 syntax error before `)'<BR>linux_proto.h:190: `linux_osigaction_t' = undeclared=20 here (not in a function)<BR>linux_proto.h:190: syntax error before=20 `)'<BR>linux_proto.h:196: syntax error before=20 `linux_osigset_t'<BR>linux_proto.h:196: `linux_osigset_t' undeclared = here (not=20 in a function)<BR>linux_proto.h:196: `linux_osigset_t' undeclared here = (not in a=20 function)<BR>linux_proto.h:200: syntax error before=20 `linux_osigset_t'<BR>linux_proto.h:200: `linux_osigset_t' undeclared = here (not=20 in a function)<BR>linux_proto.h:200: `linux_osigset_t' undeclared here = (not in a=20 function)<BR>linux_proto.h:201: syntax error before=20 `linux_osigset_t'<BR>linux_proto.h:201: `linux_osigset_t' undeclared = here (not=20 in a function)<BR>linux_proto.h:201: `linux_osigset_t' undeclared here = (not in a=20 function)<BR>linux_proto.h:204: syntax error before=20 `linux_osigset_t'<BR>linux_proto.h:204: `linux_osigset_t' undeclared = here (not=20 in a function)<BR>linux_proto.h:204: syntax error before=20 `)'<BR>linux_proto.h:204: `linux_osigset_t' undeclared here (not in a=20 function)<BR>linux_proto.h:204: syntax error before = `)'<BR>linux_proto.h:216:=20 syntax error before `linux_gid_t'<BR>linux_proto.h:216: `linux_gid_t' = undeclared=20 here (not in a function)<BR>linux_proto.h:216: syntax error before=20 `)'<BR>linux_proto.h:216: `linux_gid_t' undeclared here (not in a=20 function)<BR>linux_proto.h:216: syntax error before = `)'<BR>linux_proto.h:220:=20 syntax error before `linux_gid_t'<BR>linux_proto.h:220: `linux_gid_t' = undeclared=20 here (not in a function)<BR>linux_proto.h:220: syntax error before=20 `)'<BR>linux_proto.h:220: `linux_gid_t' undeclared here (not in a=20 function)<BR>linux_proto.h:220: syntax error before = `)'<BR>linux_proto.h:344:=20 syntax error before `linux_osigset_t'<BR>linux_proto.h:344: = `linux_osigset_t'=20 undeclared here (not in a function)<BR>linux_proto.h:344: syntax error = before=20 `)'<BR>linux_proto.h:344: `linux_osigset_t' undeclared here (not in a=20 function)<BR>linux_proto.h:344: syntax error before = `)'<BR>linux_proto.h:345:=20 syntax error before `linux_osigset_t'<BR>linux_proto.h:345: = `linux_osigset_t'=20 undeclared here (not in a function)<BR>linux_proto.h:345: syntax error = before=20 `)'<BR>linux_proto.h:345: `linux_osigset_t' undeclared here (not in a=20 function)<BR>linux_proto.h:345: syntax error before = `)'<BR>linux_proto.h:380:=20 syntax error before `linux_uid_t'<BR>linux_proto.h:380: `linux_uid_t' = undeclared=20 here (not in a function)<BR>linux_proto.h:380: `linux_uid_t' undeclared = here=20 (not in a function)<BR>linux_proto.h:383: syntax error before=20 `linux_gid_t'<BR>linux_proto.h:383: `linux_gid_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:383: `linux_gid_t' undeclared here (not in a=20 function)<BR>linux_proto.h:410: syntax error before=20 `linux_pid_t'<BR>linux_proto.h:410: `linux_pid_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:410: `linux_pid_t' undeclared here (not in a=20 function)<BR>linux_proto.h:439: syntax error before=20 `linux_uid_t'<BR>linux_proto.h:439: `linux_uid_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:439: syntax error before = `)'<BR>linux_proto.h:439:=20 `linux_uid_t' undeclared here (not in a function)<BR>linux_proto.h:439: = syntax=20 error before `)'<BR>linux_proto.h:440: syntax error before=20 `linux_uid_t'<BR>linux_proto.h:440: `linux_uid_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:440: syntax error before = `)'<BR>linux_proto.h:440:=20 `linux_uid_t' undeclared here (not in a function)<BR>linux_proto.h:440: = syntax=20 error before `)'<BR>linux_proto.h:441: syntax error before=20 `linux_uid_t'<BR>linux_proto.h:441: `linux_uid_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:441: syntax error before = `)'<BR>linux_proto.h:441:=20 `linux_uid_t' undeclared here (not in a function)<BR>linux_proto.h:441: = syntax=20 error before `)'<BR>linux_proto.h:453: syntax error before=20 `linux_gid_t'<BR>linux_proto.h:453: `linux_gid_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:453: syntax error before = `)'<BR>linux_proto.h:453:=20 `linux_gid_t' undeclared here (not in a function)<BR>linux_proto.h:453: = syntax=20 error before `)'<BR>linux_proto.h:454: syntax error before=20 `linux_gid_t'<BR>linux_proto.h:454: `linux_gid_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:454: syntax error before = `)'<BR>linux_proto.h:454:=20 `linux_gid_t' undeclared here (not in a function)<BR>linux_proto.h:454: = syntax=20 error before `)'<BR>linux_proto.h:455: syntax error before=20 `linux_gid_t'<BR>linux_proto.h:455: `linux_gid_t' undeclared here (not = in a=20 function)<BR>linux_proto.h:455: syntax error before = `)'<BR>linux_proto.h:455:=20 `linux_gid_t' undeclared here (not in a function)<BR>linux_proto.h:455: = syntax=20 error before `)'<BR>linux_proto.h:465: syntax error before=20 `linux_sigaction_t'<BR>linux_proto.h:465: `linux_sigaction_t' undeclared = here=20 (not in a function)<BR>linux_proto.h:465: syntax error before=20 `)'<BR>linux_proto.h:465: `linux_sigaction_t' undeclared here (not in a=20 function)<BR>linux_proto.h:465: syntax error before = `)'<BR>linux_proto.h:466:=20 syntax error before `linux_sigaction_t'<BR>linux_proto.h:466:=20 `linux_sigaction_t' undeclared here (not in a = function)<BR>linux_proto.h:466:=20 syntax error before `)'<BR>linux_proto.h:466: `linux_sigaction_t' = undeclared=20 here (not in a function)<BR>linux_proto.h:466: syntax error before=20 `)'<BR>linux_proto.h:471: syntax error before=20 `linux_sigset_t'<BR>linux_proto.h:471: `linux_sigset_t' undeclared here = (not in=20 a function)<BR>linux_proto.h:471: syntax error before = `)'<BR>linux_proto.h:471:=20 `linux_sigset_t' undeclared here (not in a = function)<BR>linux_proto.h:471:=20 syntax error before `)'<BR>linux_proto.h:472: syntax error before=20 `linux_sigset_t'<BR>linux_proto.h:472: `linux_sigset_t' undeclared here = (not in=20 a function)<BR>linux_proto.h:472: syntax error before = `)'<BR>linux_proto.h:472:=20 `linux_sigset_t' undeclared here (not in a = function)<BR>linux_proto.h:472:=20 syntax error before `)'<BR>linux_proto.h:485: syntax error before=20 `linux_sigset_t'<BR>linux_proto.h:485: `linux_sigset_t' undeclared here = (not in=20 a function)<BR>linux_proto.h:485: syntax error before = `)'<BR>linux_proto.h:485:=20 `linux_sigset_t' undeclared here (not in a = function)<BR>linux_proto.h:485:=20 syntax error before `)'<BR>linux_proto.h:516: syntax error before=20 `*'<BR>linux_proto.h:516: syntax error before=20 `linux_stack_t'<BR>linux_proto.h:516: syntax error before=20 `linux_stack_t'<BR>linux_proto.h:517: syntax error before=20 `linux_stack_t'<BR>linux_proto.h:517: `linux_stack_t' undeclared here = (not in a=20 function)<BR>linux_proto.h:517: syntax error before = `)'<BR>linux_proto.h:517:=20 `linux_stack_t' undeclared here (not in a = function)<BR>linux_proto.h:517: syntax=20 error before `)'<BR>linux_sysent.c:21: sizeof applied to an incomplete=20 type<BR>linux_sysent.c:21: warning: built-in function `exit' used = without=20 declaration<BR>linux_sysent.c:21: warning: cast discards qualifiers from = pointer=20 target type<BR>*** Error code 1</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Stop in = /usr/src/sys/modules/linux.<BR>*** Error=20 code 1</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Stop in /usr/src/sys/modules.<BR>*** = Error code=20 1</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Stop in = /usr/src/sys/compile/WWW.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>TIA</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Jason</FONT></DIV></BODY></HTML> ------=_NextPart_000_0232_01C1AFDE.8A973390-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?023501c1af9b$7ce52bf0$b958a8c0>