Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 15:08:43 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        Oscar Ricardo Silva <oscars@mail.utexas.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Kernel build failure after cvsup to 4.5
Message-ID:  <3C742C7B.6070707@owt.com>
References:  <5.1.0.14.2.20020220151343.02558ce8@mail.utexas.edu>

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


Oscar Ricardo Silva wrote:

> At 02:53 PM 2/20/2002 -0600, Oscar Ricardo Silva, you wrote:
> 
>> I have a FreeBSD 4.2 machine and I'm trying to upgrade to 4.5-STABLE.  
>> I got the latest source using cvsup and I'm now trying to rebuild and 
>> reinstall.  Following the instructions in /usr/src/UPDATING:
>>
>> make buildworld
>> make buildkernel KERNCONF=GENERIC
>> make installkernel KERNCONF=GENERIC
>>
>> (and I've tried a stripped down, edited version of GENERIC as well).  
>> I can do the "make buildworld" fine, no problems there.  When I do 
>> "make buildkernel" I run into a problem with xargs in the 3dfx 
>> directory, the error complains that "-J" is not a valid option.  I've 
>> tried getting the source yesterday and today but still the same error.
>>
>> Any thoughts?  Any suggestions/pointers?


Are you supplying a -J option from your make.conf. FWIW, on 7 
different speed machines, a -j actually slows the buildworld down. It 
takes longer by the clock to finish. It was only on an SMP system that 
the -j did anything useful.

Kent


> 
> 
> Here's the actual output of the kernel build procedure:
> 
> ===> streams
> ===> vesa
> ===> wi
> ===> 3dfx
> 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@/dev -I@/../include -fno-common -mpreferred-stack-boundary=2
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -fformat-extensions -ansi -c
> /usr/src/sys/modules/3dfx/../../dev/tdfx/tdfx_pci.c
> ld -d -warn-common -r -d -o 3dfx.kld tdfx_pci.o
> touch
> /usr/obj/usr/src/sys/NIC/modules/usr/src/sys/modules/3dfx/export_syms
> awk -f /usr/src/sys/modules/3dfx/../../conf/kmod_syms.awk 3dfx.kld
> /usr/obj/usr/src/sys/NIC/modules/usr/src/sys/modules/3dfx/export_syms |
> xargs -J% objcopy % 3dfx.kld
> xargs: illegal option -- J
> usage: xargs [-0] [-t] [-n number [-x]] [-s size] [utility [argument ...]]
> *** Error code 1
> Stop in /usr/src/sys/modules/3dfx.
> *** Error code 1
> Stop in /usr/src/sys/modules.
> *** Error code 1
> Stop in /usr/obj/usr/src/sys/NIC.
> *** Error code 1
> Stop in /usr/src.
> *** Error code 1
> Stop in /usr/src.
> 
> 
> Oscar
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> .
> 


-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://users.owt.com/kstewart/index.html


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?3C742C7B.6070707>