Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 11:03:48 -0500
From:      "Richard E. Hawkins" <dochawk@psu.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   can't compile kernel over linux?
Message-ID:  <200111191603.fAJG3mT15236@fac13.ds.psu.edu>

next in thread | raw e-mail | index | archive | help


I've managed to rescue my old kernel, but changes seem to be stopping 
me from updating:

make
...
===> libmchain
===> linux
cc -O -pipe -march=pentiumpro  -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 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -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: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

Stop in /usr/src/sys/compile/RAPTOR.

I;'m guessing that this is happening while compiling modules, but am 
far from sure.

hawk

-- 
What part of "non-negotiable" didn't you understand? /"\   ASCII ribbon campaign
dochawk@psu.edu  Smeal 178  (814) 375-4700           \ /   against HTML mail
These opinions will not be those of                   X    and postings. 
Penn State until it pays my retainer.                / \   



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?200111191603.fAJG3mT15236>