Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Nov 2001 14:34:40 +0100
From:      Niels Heinen <niels.heinen@ubizen.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Nate Lawson <nate@rootlabs.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: linux sysent fails to build?
Message-ID:  <3BE93870.2F16AC5F@ubizen.com>
References:  <Pine.BSF.4.21.0111062330410.13876-100000@rootlabs.com> <20011107064948.A8140@lerami.lerctr.org>

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


Could it be that this was an error by mistake ?

I had the same error between two updates of my sources.  After the second
updating
I had a new  linux_sysent.c and the error was gone.

Regards,

Niels Heinen

Larry Rosenman wrote:

> * Nate Lawson <nate@rootlabs.com> [011107 01:31]:
> > I'm trying to build a kernel on the latest -stable cvsup as of tonight and
> > the kernel builds fine but the linux module fails.  A cursory look at
> > linux_proto.h didn't turn up anything strange.  It does appear that these
> > files were updated 11/5 in -stable.  It has been a month or so since I
> > last did a kernel/world build.
> >
> > Ideas?
> See the thread I started a day or so ago.
>

sorry, I am new to the list and
http://docs.freebsd.org/mail/current/freebsd-stable.html is not updated yet

>
> The short answer:
>
> cd /usr/obj
> rm -rf usr
> cd /usr/src/
> make cleandir && make cleandir
> make world kernel
>
> >
> > Thanks,
> > -Nate
> >
> >
> > ===> linux
> > cc -O -pipe   -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 -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:433: syntax error before `linux_uid_t'
> > linux_proto.h:433: `linux_uid_t' undeclared here (not in a function)
> > linux_proto.h:433: syntax error before `)'
> > linux_proto.h:433: `linux_uid_t' undeclared here (not in a function)
> > linux_proto.h:433: syntax error before `)'
> > linux_proto.h:434: syntax error before `linux_uid_t'
> > linux_proto.h:434: `linux_uid_t' undeclared here (not in a function)
> > linux_proto.h:434: syntax error before `)'
> > linux_proto.h:434: `linux_uid_t' undeclared here (not in a function)
> > linux_proto.h:434: syntax error before `)'
> > linux_proto.h:435: syntax error before `linux_uid_t'
> > linux_proto.h:435: `linux_uid_t' undeclared here (not in a function)
> > linux_proto.h:435: syntax error before `)'
> > linux_proto.h:435: `linux_uid_t' undeclared here (not in a function)
> > linux_proto.h:435: syntax error before `)'
> > linux_proto.h:447: syntax error before `linux_gid_t'
> > linux_proto.h:447: `linux_gid_t' undeclared here (not in a function)
> > linux_proto.h:447: syntax error before `)'
> > linux_proto.h:447: `linux_gid_t' undeclared here (not in a function)
> > linux_proto.h:447: syntax error before `)'
> > linux_proto.h:448: syntax error before `linux_gid_t'
> > linux_proto.h:448: `linux_gid_t' undeclared here (not in a function)
> > linux_proto.h:448: syntax error before `)'
> > linux_proto.h:448: `linux_gid_t' undeclared here (not in a function)
> > linux_proto.h:448: syntax error before `)'
> > linux_proto.h:449: syntax error before `linux_gid_t'
> > linux_proto.h:449: `linux_gid_t' undeclared here (not in a function)
> > linux_proto.h:449: syntax error before `)'
> > linux_proto.h:449: `linux_gid_t' undeclared here (not in a function)
> > linux_proto.h:449: syntax error before `)'
> > linux_proto.h:459: syntax error before `linux_sigaction_t'
> > linux_proto.h:459: `linux_sigaction_t' undeclared here (not in a function)
> > linux_proto.h:459: syntax error before `)'
> > linux_proto.h:459: `linux_sigaction_t' undeclared here (not in a function)
> > linux_proto.h:459: syntax error before `)'
> > linux_proto.h:460: syntax error before `linux_sigaction_t'
> > linux_proto.h:460: `linux_sigaction_t' undeclared here (not in a function)
> > linux_proto.h:460: syntax error before `)'
> > linux_proto.h:460: `linux_sigaction_t' undeclared here (not in a function)
> > linux_proto.h:460: syntax error before `)'
> > linux_proto.h:465: syntax error before `linux_sigset_t'
> > linux_proto.h:465: `linux_sigset_t' undeclared here (not in a function)
> > linux_proto.h:465: syntax error before `)'
> > linux_proto.h:465: `linux_sigset_t' undeclared here (not in a function)
> > linux_proto.h:465: syntax error before `)'
> > linux_proto.h:466: syntax error before `linux_sigset_t'
> > linux_proto.h:466: `linux_sigset_t' undeclared here (not in a function)
> > linux_proto.h:466: syntax error before `)'
> > linux_proto.h:466: `linux_sigset_t' undeclared here (not in a function)
> > linux_proto.h:466: syntax error before `)'
> > linux_proto.h:479: syntax error before `linux_sigset_t'
> > linux_proto.h:479: `linux_sigset_t' undeclared here (not in a function)
> > linux_proto.h:479: syntax error before `)'
> > linux_proto.h:479: `linux_sigset_t' undeclared here (not in a function)
> > linux_proto.h:479: syntax error before `)'
> > linux_proto.h:510: syntax error before `*'
> > linux_proto.h:510: syntax error before `linux_stack_t'
> > linux_proto.h:510: syntax error before `linux_stack_t'
> > linux_proto.h:511: syntax error before `linux_stack_t'
> > linux_proto.h:511: `linux_stack_t' undeclared here (not in a function)
> > linux_proto.h:511: syntax error before `)'
> > linux_proto.h:511: `linux_stack_t' undeclared here (not in a function)
> > linux_proto.h:511: 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
> >
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-stable" in the body of the message
>
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BE93870.2F16AC5F>