Re: trouble compiling kernel with -stable?

2001-11-14 Thread Simon J Mudd

Many thanks to Gregory Neil Shapiro <[EMAIL PROTECTED]> for pointing
out the solution to me, see below:


On Tue, 13 Nov 2001, Simon J Mudd wrote:

> I'm having trouble compiling a custom-defined -stable kernel, after having 
> cvsuped today.

[snip]

> The error I'm seeing when building the UNICORN kernel is the following:
> 
> cc -nostdinc -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 -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: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/obj/usr/src/sys/UNICORN.
> *** Error code 1
>  
> Stop in /usr/src.
> *** Error code 1
>  
> Stop in /usr/src.
> unicorn#

cd /usr/src/sys/modules/linux
make cleandir

rm -rf /usr/obj/usr/src/sys/UNICORN/modules/usr/src/sys/modules/linux 

Recompiling the kernel after this enabled the compilation to finish 
without problems.

Thanks

Simon
-- 
Simon J Mudd,   Tel: +34-91-408 4878,  Mobile: +34-605-085 219
Madrid, Spain.  email: [EMAIL PROTECTED],  Postfix RPM Packager






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



make buildworld failing

2000-10-08 Thread Simon J Mudd

I successfully cvsup'ed the source to stable on 17/09/00 and decided 
to upgrade to the latest version of -STABLE with cvsup.

The cvsup command works fine, but make buildworld fails at the same place
with the same error message:

- SNIP -
===> gnu/libexec/uucp/uupick
/usr/obj/usr/src/gnu/libexec/uucp/uupick created for /usr/src/gnu/libexec/uucp/uupick
===> gnu/libexec/uucp/uusched
/usr/obj/usr/src/gnu/libexec/uucp/uusched created for /usr/src/gnu/libexec/uucp/uusched
===> gnu/libexec/uucp/uustat
mkdir: /usr/obj/usr/src/gnu/libexec/uucp/uustat: File exists
*** Error code 1

Stop in /usr/src/gnu/libexec/uucp/uustat.
*** Error code 1

Stop in /usr/src/gnu/libexec/uucp.
*** Error code 1

Stop in /usr/src/gnu/libexec.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
unicorn#
- END -

Have I missed something obvious with what's goind wrong?

Regards,

Simon
-- 
Simon J Mudd, Madrid SPAINTel: +34-91-408 4878email: [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message