Subject: Cross compile from i386 to macppc fails
To: None <current-users@NetBSD.org>
From: Andreas Moschos <a_moschos@yahoo.com>
List: current-users
Date: 03/05/2006 06:45:15
Hello

i am running:
NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 
builds@works.netbsd.org

after succesfully building the tools for macppc i
tried to build it using:
build.sh -u -m macppc -x build

but it failed with the message:
dependall ===> lib/libssl
dependall ===> lib/libssh
#   compile  libssh/strtonum.o
/usr/src/obj/tooldir.NetBSD-3.0-i386/bin/powerpc--netbsd-gcc
-O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wno-traditional 
-Werror    -I/usr/src/crypto/dist/ssh   -nostdinc
-isystem /usr/src/obj/destdir.macppc/usr/include -c   
/usr/src/crypto/dist/ssh/strtonum.c -o strtonum.o
/usr/src/crypto/dist/ssh/strtonum.c:34: warning: no
previous prototype for `strtonum'

*** Failed target:  strtonum.o
*** Failed command:
/usr/src/obj/tooldir.NetBSD-3.0-i386/bin/powerpc--netbsd-gcc
-O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wno-traditional
-Werror -I/usr/src/crypto/dist/ssh -nostdinc -isystem
/usr/src/obj/destdir.macppc/usr/include -c
/usr/src/crypto/dist/ssh/strtonum.c -o strtonum.o
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libssh

*** Failed target:  dependall
*** Failed command: cd /usr/src/lib/libssh;
/usr/src/obj/tooldir.NetBSD-3.0-i386/bin/nbmake
realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libssh

*** Failed target:  dependall-libssh
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1"; shift; case "${dir}" in /*)
this="${dir}/"; real="${dir}" ;; .) this="lib/";
real="/usr/src/lib" ;; *) this="lib/${dir}/";
real="/usr/src/lib/${dir}" ;; esac; show=${this:-.};
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" &&
/usr/src/obj/tooldir.NetBSD-3.0-i386/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget
libssh dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib

*** Failed target:  do-lib
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1"; shift; case "${dir}" in /*)
this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/";
real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" &&
/usr/src/obj/tooldir.NetBSD-3.0-i386/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget
lib dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1"; shift; case "${dir}" in /*)
this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/";
real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" &&
/usr/src/obj/tooldir.NetBSD-3.0-i386/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget
. do-lib
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make build
*** BUILD ABORTED ***

the sources are updated using cvs update -A -Pd just a
couple of hours before.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com