Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 16:54:35 -0500
From:      "Mario Doria" <madd@tecdigital.net>
To:        <john@johnrshannon.com>, <freebsd-questions@FreeBSD.org>
Subject:   Re: Failed "make buildkernel"
Message-ID:  <006501c0fe8a$a0730b90$0a00a8c0@midgar>
References:  <01062615434400.03124@pablo.johnrshannon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Do rm -fr /usr/obj/* and try again


----- Original Message -----
From: "John R. Shannon" <john@johnrshannon.com>
To: <freebsd-questions@FreeBSD.org>
Sent: Tuesday, June 26, 2001 4:43 PM
Subject: Failed "make buildkernel"


> I experienced an error building a custom kernel from freshly CVSUP'd
source
> (STABLE). Renaming my config file and building with the new KERNCONF
worked.
>
> How do I clear out the old (failed) stuff?
>
> The tail end of the failed build was:
>
> cc -nostdinc -O -pipe -march=pentiumpro -march=pentiumpro -DIPV6FIREWALL
> -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@/../includ
e
> -mpreferred-stack-boundary=2 -c setdef0.c
> cc -nostdinc -O -pipe -march=pentiumpro -march=pentiumpro -DIPV6FIREWALL
> -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@/../includ
e
> -mpreferred-stack-boundary=2 -c setdef1.c
> ld -Bshareable -o ip6fw.ko setdef0.o ip6fw.kld setdef1.o
> ===> ipfilter
> make: don't know how to make
> /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop
> *** Error code 2
>
> Stop in /usr/src/sys/modules.
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/MYKERNEL.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
> --
>
> John R. Shannon
> john@johnrshannon.com
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


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?006501c0fe8a$a0730b90$0a00a8c0>