Subject: Re: Crosscompiling error in i386 linux host
To: John Clark <jclark@metricsystems.com>
From: Roberto Pereyra <pereyra.roberto@gmail.com>
List: netbsd-users
Date: 05/18/2005 09:03:46
Again I have the same error with current, in the same linux host.

Roberto

#      link  pax/pax
cc -O -I/home/admin/netbsd-current/src/tools/compat/obj
-I/home/admin/netbsd-current/src/tools/compat/obj/include=20
-I/home/admin/netbsd-current/src/tools/pax/../compat
-DHAVE_NBTOOL_CONFIG_H=3D1  -D_FILE_OFFSET_BITS=3D64=20
-I/home/admin/netbsd-current/src/usr.sbin/mtree=20
-I/home/admin/netbsd-current/src/sbin/mknod=20
-I/home/admin/netbsd-current/src/bin/ls -DHAVE_MTIO_H -DHOSTPROG   -o
pax ar_io.lo ar_subs.lo buf_subs.lo cpio.lo file_subs.lo ftree.lo
gen_subs.lo getoldopt.lo options.lo pat_rep.lo pax.lo sel_subs.lo
tables.lo tar.lo tty_subs.lo getid.lo spec.lo misc.lo stat_flags.lo
pack_dev.lo -L/home/admin/netbsd-current/src/tools/compat/obj
-lnbcompat -lz
ar_subs.lo(.text+0xd5): In function `fdochroot':
: undefined reference to `fchroot'
collect2: ld returned 1 exit status

*** Failed target:  pax
*** Failed command: cc -O
-I/home/admin/netbsd-current/src/tools/compat/obj
-I/home/admin/netbsd-current/src/tools/compat/obj/include
-I/home/admin/netbsd-current/src/tools/pax/../compat
-DHAVE_NBTOOL_CONFIG_H=3D1 -D_FILE_OFFSET_BITS=3D64
-I/home/admin/netbsd-current/src/usr.sbin/mtree
-I/home/admin/netbsd-current/src/sbin/mknod
-I/home/admin/netbsd-current/src/bin/ls -DHAVE_MTIO_H -DHOSTPROG -o
pax ar_io.lo ar_subs.lo buf_subs.lo cpio.lo file_subs.lo ftree.lo
gen_subs.lo getoldopt.lo options.lo pat_rep.lo pax.lo sel_subs.lo
tables.lo tar.lo tty_subs.lo getid.lo spec.lo misc.lo stat_flags.lo
pack_dev.lo -L/home/admin/netbsd-current/src/tools/compat/obj
-lnbcompat -lz
*** Error code 1

Stop.
nbmake: stopped in /home/admin/netbsd-current/src/tools/pax

*** Failed target:  dependall
*** Failed command: cd /home/admin/netbsd-current/src/tools/pax;
/home/admin/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_64/bin/=
nbmake
realall
*** Error code 1

Stop.
nbmake: stopped in /home/admin/netbsd-current/src/tools/pax

*** Failed target:  dependall-pax
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1";
shift; case "${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .)
this=3D"tools/"; real=3D"/home/admin/netbsd-current/src/tools" ;; *)
this=3D"tools/${dir}/";
real=3D"/home/admin/netbsd-current/src/tools/${dir}" ;; esac;
show=3D${this:-.}; echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; =
cd
"${real}" && /home/admin/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-sm=
p-x86_64/bin/nbmake
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget pax dependall
*** Error code 1

Stop.
nbmake: stopped in /home/admin/netbsd-current/src/tools

*** Failed target:  do-tools
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1";
shift; case "${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .)
this=3D""; real=3D"/home/admin/netbsd-current/src" ;; *) this=3D"${dir}/";
real=3D"/home/admin/netbsd-current/src/${dir}" ;; esac; show=3D${this:-.};
echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/admin/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_64/bin/=
nbmake
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget tools dependall
*** Error code 1

Stop.
nbmake: stopped in /home/admin/netbsd-current/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1";
shift; case "${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .)
this=3D""; real=3D"/home/admin/netbsd-current/src" ;; *) this=3D"${dir}/";
real=3D"/home/admin/netbsd-current/src/${dir}" ;; esac; show=3D${this:-.};
echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/admin/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_64/bin/=
nbmake
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget . do-tools
*** Error code 1

Stop.
nbmake: stopped in /home/admin/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"/home/admin/netbsd-current/src" ;; *) this=3D"${dir}/";
real=3D"/home/admin/netbsd-current/src/${dir}" ;; esac; show=3D${this:-.};
echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/admin/netbsd-current/src/obj/tooldir.Linux-2.6.5-7.97-smp-x86_64/bin/=
nbmake
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget . build
NOPOSTINSTALL=3D1
*** Error code 1

Stop.
nbmake: stopped in /home/admin/netbsd-current/src

ERROR: Failed to make release
*** BUILD ABORTED ***
admin@linux:~/netbsd-current/src>