Subject: Re: build i386 failure in Linux host
To: None <current-users@netbsd.org>
From: Roberto Pereyra <pereyra.roberto@gmail.com>
List: current-users
Date: 08/31/2006 08:02:25
Hi Havard !!
Now src/usr.bin/config/main.c compiles fine but I have new fails:
roberto
# create freebsd/freebsd_ptrace.d
CC=3D/backup/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_64/bin=
/i386--
netbsdelf-gcc /backup/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x=
86_64
/bin/nbmkdep -f freebsd_ptrace.d -- -Demul_find=3Dfreebsd_emul_find
-Dstackgap_init=3Dfreebsd_stackgap_init -Demul_flags_tra=
nslate=3D
freebsd_emul_flags_translate -Dstackgap_alloc=3Dfreebsd_stackgap_alloc
-Dcompat_offseterr=3Dfreebsd_compat_offseterr -Demul_find_inte=
rp=3Dfree
bsd_emul_find_interp -I/backup/netbsd-current/src/common/include -DSYSVSEM =
-DSYS
VMSG -DSYSVSHM -DCOMPAT_FREEBSD -DKTRACE -nostdinc -nostdinc -I. -I/backup/=
netbs
d-current/src/sys/lkm/compat/freebsd -isystem /backup/netbsd-current/src/sy=
s -is
ystem /backup/netbsd-current/src/sys/arch -isystem /backup/netbsd-current/s=
rc/sy
s/../common/include -D_KERNEL -D_LKM /backup/netbsd-current/src/sys/compa=
t/fre
ebsd/freebsd_ptrace.c
/backup/netbsd-current/src/sys/compat/freebsd/freebsd_ptrace.c:76:24: error=
: opt
_ptrace.h: No such file or directory
nbmkdep: compile failed.
*** Failed target: freebsd_ptrace.d
*** Failed command: CC=3D/backup/netbsd-current/src/obj/tooldir.Linux-2.6.5=
-7.97-s
mp-x86_64/bin/i386--netbsdelf-gcc /backup/netbsd-current/src/obj/tooldir.Li=
nux-2
.6.5-7.97-smp-x86_64/bin/nbmkdep -f freebsd_ptrace.d -- -Demul_find=3Dfreeb=
sd_emul
_find -Dstackgap_init=3Dfreebsd_stackgap_init -Demul_flags_translate=3Dfree=
bsd_emul_
flags_translate -Dstackgap_alloc=3Dfreebsd_stackgap_alloc -Dcompat_offseter=
r=3Dfreeb
sd_compat_offseterr -Demul_find_interp=3Dfreebsd_emul_find_interp -I/backup=
/netbsd
-current/src/common/include -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_FREEBSD =
-DKTR
ACE -nostdinc -nostdinc -I. -I/backup/netbsd-current/src/sys/lkm/compat/fre=
ebsd
-isystem /backup/netbsd-current/src/sys -isystem /backup/netbsd-current/src=
/sys/
arch -isystem /backup/netbsd-current/src/sys/../common/include -D_KERNEL -D=
_LKM
/backup/netbsd-current/src/sys/compat/freebsd/freebsd_ptrace.c
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src/sys/lkm/compat/freebsd
*** Failed target: dependall-freebsd
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift; case
"${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D"sys/lkm/co=
mpat/"; rea
l=3D"/backup/netbsd-current/src/sys/lkm/compat" ;; *) this=3D"sys/lkm/compa=
t/${dir}/
"; real=3D"/backup/netbsd-current/src/sys/lkm/compat/${dir}" ;; esac; show=
=3D${this:
-.}; echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}" &=
& /backup/n
etbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_64/bin/nbmake _THISD=
IR_=3D"
${this}" "$@" ${target}; }; _makedirtarget freebsd dependall
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src/sys/lkm/compat
*** Failed target: dependall-compat
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift; case
"${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D"sys/lkm/";=
real=3D"/bac
kup/netbsd-current/src/sys/lkm" ;; *) this=3D"sys/lkm/${dir}/"; real=3D"/ba=
ckup/netb
sd-current/src/sys/lkm/${dir}" ;; esac; show=3D${this:-.}; echo "${target} =
=3D=3D=3D> ${
show%/}${1:+ (with: $@)}"; cd "${real}" && /backup/netbsd-current/src/obj/t=
ooldi
r.Linux-2.6.5-7.97-smp-x86_64/bin/nbmake _THISDIR_=3D"${this}" "$@" ${targe=
t}; };
_makedirtarget compat dependall
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src/sys/lkm
*** Failed target: dependall-lkm
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift; case
"${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D"sys/"; rea=
l=3D"/backup/
netbsd-current/src/sys" ;; *) this=3D"sys/${dir}/"; real=3D"/backup/netbsd-=
current/s
rc/sys/${dir}" ;; esac; show=3D${this:-.}; echo "${target} =3D=3D=3D> ${sho=
w%/}${1:+ (wi
th: $@)}"; cd "${real}" && /backup/netbsd-current/src/obj/tooldir.Linux-2.6=
.5-7.
97-smp-x86_64/bin/nbmake _THISDIR_=3D"${this}" "$@" ${target}; }; _makedirt=
arget l
km dependall
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src/sys
*** Failed target: dependall-sys
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift; case
"${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D""; real=3D=
"/backup/netb
sd-current/src" ;; *) this=3D"${dir}/"; real=3D"/backup/netbsd-current/src/=
${dir}" ;
; esac; show=3D${this:-.}; echo "${target} =3D=3D=3D> ${show%/}${1:+ (with:=
$@)}"; cd "$
{real}" && /backup/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_=
64/bi
n/nbmake _THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget sys depend=
all
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src
*** Failed target: do-build
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift; case
"${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D""; real=3D=
"/backup/netb
sd-current/src" ;; *) this=3D"${dir}/"; real=3D"/backup/netbsd-current/src/=
${dir}" ;
; esac; show=3D${this:-.}; echo "${target} =3D=3D=3D> ${show%/}${1:+ (with:=
$@)}"; cd "$
{real}" && /backup/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_=
64/bi
n/nbmake _THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget . dependal=
l BUILD
_tools=3Dno BUILD_lib=3Dno
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift; case
"${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D""; real=3D=
"/backup/netb
sd-current/src" ;; *) this=3D"${dir}/"; real=3D"/backup/netbsd-current/src/=
${dir}" ;
; esac; show=3D${this:-.}; echo "${target} =3D=3D=3D> ${show%/}${1:+ (with:=
$@)}"; cd "$
{real}" && /backup/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_=
64/bi
n/nbmake _THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget . do-build
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; sh=
ift; case
"${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D""; real=3D=
"/backup/netb
sd-current/src" ;; *) this=3D"${dir}/"; real=3D"/backup/netbsd-current/src/=
${dir}" ;
; esac; show=3D${this:-.}; echo "${target} =3D=3D=3D> ${show%/}${1:+ (with:
$@)}"; cd "$ {real}" &&
/backup/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_64/bi
n/nbmake _THISDIR_=3D"${this}"
"$@" ${target}; }; _makedirtarget . build NOPOSTINS
TALL=3D1
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src
*** Failed target: release
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1";
shift; case "${dir}" in
/*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D""; real=3D"/backup/netb
sd-current/src" ;; *)
this=3D"${dir}/"; real=3D"/backup/netbsd-current/src/${dir}" ;
; esac; show=3D${this:-.}; echo
"${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "$
{real}" &&
/backup/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_64/bi
n/nbmake _THISDIR_=3D"${this}"
"$@" ${target}; }; _makedirtarget . distribution
*** Error code 1
Stop.
nbmake: stopped in /backup/netbsd-current/src
ERROR: Failed to make release
*** BUILD ABORTED ***
2006/8/30, Havard Eidnes <he@netbsd.org>:
> > I want to compile current in my Linux host (I was compiled often
> > netbsd current in this host) but now the compiler process fails.
> >
> > This is my output:
> > ...
> > # compile config/main.o
> > cc1: warnings being treated as errors
> > /backup/netbsd-current/src/usr.bin/config/main.c: In function 'defopt':
> > /backup/netbsd-current/src/usr.bin/config/main.c:692: warning: unused v=
ariable 'a'
>
> That problem has been fixed, please make sure you use revision
> 1.16 of main.c.
>
> Regards,
>
> - H=E5vard
>
--=20
Ing. Roberto Pereyra
ContenidosOnline
Looking for Linux Virtual Private Servers ? Click here:
http://www.spry.com/hosting-affiliate/scripts/t.php?a_aid=3D426&a_bid=3D56