Subject: Re: CFLAGS and building X from xsrc
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <timo.schoeler@macfinity.net>
List: current-users
Date: 09/05/2004 00:24:54
>> my mk.conf has both options set (MKX11=yes and X11SRCDIR=/usr/xsrc).
>> but building fails. if i build w/o X, it runs fine and successfully
>> (installed a cross-built release on my Power Mac G4 yesterday).
>
> How does it fail? I've just built x11 yesterday, updating my laptop.
- checked out (-current) src and xsrc approx. six hours ago
- /etc/mk.conf says:
X11SRCDIR=/usr/xsrc
MKX11=yes
- built toolchain for macppc (host is i386/MP (-j 2 runs fine))
dreyfus: {100} uname -a
NetBSD dreyfus.es43-bln.macfinity.net 2.0_BETA NetBSD 2.0_BETA
(GENERIC.MP) #0: Mon Aug 16 05:58:45 UTC 2004
autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/
netbsd-2-0/src/sys/arch/i386/compile/GENERIC.MP i386
- now building for macppc:
./build.sh -m macppc -j 2 -x -T /usr/cross_macppc -O /usr/obj release
fails with:
(...)
--- libc_p.a ---
/usr/cross_macppc/bin/powerpc--netbsd-ranlib libc_p.a
[1] Killed /usr/cross_macpp...
*** [libc_p.a] Error code 137
--- libc_pic.a ---
/usr/cross_macppc/bin/powerpc--netbsd-ranlib libc_pic.a
1 error
nbmake: stopped in /usr/src/lib/libc
*** Failed target: dependall
*** Failed command: cd /usr/src/lib/libc; /usr/cross_macppc/bin/nbmake
realall
*** Error code 2
Stop.
nbmake: stopped in /usr/src/lib/libc
*** [do-lib-libc] Error code 1
1 error
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/cross_macppc/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget . do-lib-libc
*** Error code 2
Stop.
nbmake: stopped in /usr/src
*** [release] Error code 1
1 error
nbmake: stopped in /usr/src
ERROR: Failed to make release
*** BUILD ABORTED ***
dreyfus: {100}
building w/o X is successful...
tia!
>
> SY, Uwe
> --
> uwe@ptc.spbu.ru | Zu Grunde kommen
> http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen
--
mit vorzueglichster Hochachtung/best regards,
Timo Schoeler
//macfinity -- finest IT services | Triftstrasse 39 | 13353 Berlin |
Germany
Fon ++49 30 25 20 30 20 | Fax ++49 30 25 20 30 19
PGP data http://www.macfinity.net/~tis/contact/PGPPKB_timo.schoeler.txt