Date: Sat, 23 Mar 2002 16:02:03 GMT From: Janos Mohacsi <janos.mohacsi@dante.org.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/36234: FreeBSD 4.5-STABLE fail to compile with LINUX-COMPAT Message-ID: <200203231602.g2NG23o08352@budapest.dante.org.uk>
next in thread | raw e-mail | index | archive | help
>Number: 36234 >Category: kern >Synopsis: FreeBSD 4.5-STABLE fail to compile with LINUX-COMPAT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 23 08:10:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 4.5-STABLE i386 >Organization: DANTE >Environment: System: FreeBSD budapest.dante.org.uk 4.5-STABLE FreeBSD 4.5-STABLE #5: Fri Mar 22 22:10:31 GMT 2002 janos@budapest.dante.org.uk:/usr/src/sys/compile/BUDAPEST i386 >Description: I grabbed yesterday the 4-stable branch to upgrade my machine from 4.4-STABLE (more then 3 months uptime) to 4.5-STABLE. I have upgraded the config to be able to compile new kernel. But my kernel fail to compile with COMPAT_LINUX option. Without Linux compatibility it is compilled without any problem. Here it is compile output: ===> linux cc -O -pipe -march=pentiumpro -D_KERNEL -Wall -Wredundant-decls -Wnested-extern s -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-p rototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-e xtensions -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/BUDAPEST. budapest# >How-To-Repeat: My /etc/make.conf if it is helps. CPUTYPE=p2 NO_FORTRAN=true NO_OBJC=true NO_X=true NO_UUCP=true MAKE_IDEA=yes COMPAT4X=yes USA_RESIDENT=NO >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203231602.g2NG23o08352>