Port-hpcarm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Error trying to build userland for Jornada 728
Klaus Heinz(e)k dio:
Quentin Garnier wrote:
On Sat, Mar 22, 2008 at 03:01:06PM +0100, J. Vicente Carrasco -Bixen- wrote:
rm: ktrace: is a directory
You forgot -P (prune empty dirs) when doing the cvs checkout/update.
I have the following in ~/.cvsrc
$ cat ~/.cvsrc
update -dP
diff -u
rdiff -u
because I always forget the options :)
I did an update of sources with this on my .cvsrc and, as previously,
the first step was done happily. The userland part failed again.
If you are building NetBSD-current it's recommended to read the
current-users list as well. Many building problems derive from the very
nature of NetBSD-current, being the head of the development tree.
I've been lurking in current-users archive, but I'm not sure what I'm
looking for. In fact, an error in something with a name like
"/usr/src/sys/kern/sys_generic.c" must be so big that has an "HEADS-UP"
on it, or any silly thing that stops a guy that, like me, can't read C code.
# link cd9660fs/cd9660fs
/usr/src/hpcarmtools/bin/arm--netbsdelf-gcc -Wl,-nostdlib
-Wl,--wrap=malloc -Wl,--fatal-warnings -o cd9660fs
-Wl,-rpath-link,/usr/hpcarmbuild/lib:/usr/hpcarmbuild/usr/lib
-L/usr/hpcarmbuild/lib -B/usr/hpcarmbuild/usr/lib/
-B/usr/hpcarmbuild/usr/lib/ cd9660fs.o
-L/usr/src/sys/rump/fs/lib/libcd9660fs/obj -Wl,--whole-archive
-lcd9660fs -Wl,--no-whole-archive -L/usr/src/sys/rump/fs/lib/libp2k/obj
-Wl,--whole-archive -lp2k -Wl,--no-whole-archive
-L/usr/src/sys/rump/fs/lib/libukfs/obj -Wl,--whole-archive -lukfs
-Wl,--no-whole-archive /usr/hpcarmbuild/usr/lib/libutil.a
/usr/hpcarmbuild/usr/lib/libpuffs.a
-L/usr/src/sys/rump/librump/rumpkern/obj -Wl,--whole-archive -lrump
-Wl,--no-whole-archive -lpthread -L/usr/hpcarmbuild/usr/lib
-L/usr/hpcarmbuild/usr/lib
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o): In
function `selcommon':
/usr/src/sys/kern/sys_generic.c:860: undefined reference to `lwp_unlock_to'
/usr/src/sys/kern/sys_generic.c:861: undefined reference to `sleepq_enqueue'
/usr/src/sys/kern/sys_generic.c:863: undefined reference to `sleepq_block'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o): In
function `pollcommon':
/usr/src/sys/kern/sys_generic.c:1055: undefined reference to `lwp_unlock_to'
/usr/src/sys/kern/sys_generic.c:1056: undefined reference to
`sleepq_enqueue'
/usr/src/sys/kern/sys_generic.c:1058: undefined reference to `sleepq_block'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o): In
function `selnotify':
/usr/src/sys/kern/sys_generic.c:1209: undefined reference to
`sleepq_unsleep'
/usr/src/sys/kern/sys_generic.c:1214: undefined reference to
`uvm_kick_scheduler'
/usr/src/sys/kern/sys_generic.c:1229: undefined reference to `sleepq_wake'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o): In
function `selsysinit':
/usr/src/sys/kern/sys_generic.c:1286: undefined reference to `sleepq_init'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o): In
function `pollsock':
/usr/src/sys/kern/sys_generic.c:1373: undefined reference to `sopoll'
/usr/src/sys/kern/sys_generic.c:1384: undefined reference to `lwp_unlock_to'
/usr/src/sys/kern/sys_generic.c:1385: undefined reference to
`sleepq_enqueue'
/usr/src/sys/kern/sys_generic.c:1387: undefined reference to `sleepq_block'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o):(.data+0x4):
undefined reference to `sleepq_unsleep'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o):(.data+0x8):
undefined reference to `sleepq_changepri'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o):(.data+0xc):
undefined reference to `sleepq_lendpri'
/usr/src/sys/rump/librump/rumpkern/obj/librump.a(sys_generic.o):(.data+0x10):
undefined reference to `syncobj_noowner'
collect2: ld returned 1 exit status
*** Failed target: cd9660fs
*** Failed command: /usr/src/hpcarmtools/bin/arm--netbsdelf-gcc
-Wl,-nostdlib -Wl,--wrap=malloc -Wl,--fatal-warnings -o cd9660fs
-Wl,-rpath-link,/usr/hpcarmbuild/lib:/usr/hpcarmbuild/usr/lib
-L/usr/hpcarmbuild/lib -B/usr/hpcarmbuild/usr/lib/
-B/usr/hpcarmbuild/usr/lib/ cd9660fs.o
-L/usr/src/sys/rump/fs/lib/libcd9660fs/obj -Wl,--whole-archive
-lcd9660fs -Wl,--no-whole-archive -L/usr/src/sys/rump/fs/lib/libp2k/obj
-Wl,--whole-archive -lp2k -Wl,--no-whole-archive
-L/usr/src/sys/rump/fs/lib/libukfs/obj -Wl,--whole-archive -lukfs
-Wl,--no-whole-archive /usr/hpcarmbuild/usr/lib/libutil.a
/usr/hpcarmbuild/usr/lib/libpuffs.a
-L/usr/src/sys/rump/librump/rumpkern/obj -Wl,--whole-archive -lrump
-Wl,--no-whole-archive -lpthread -L/usr/hpcarmbuild/usr/lib
-L/usr/hpcarmbuild/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump/fs/bin/cd9660fs
*** Failed target: dependall
*** Failed command: cd /usr/src/sys/rump/fs/bin/cd9660fs;
/usr/src/hpcarmtools/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump/fs/bin/cd9660fs
*** Failed target: dependall-cd9660fs
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="sys/rump/fs/bin/"; real="/usr/src/sys/rump/fs/bin" ;; *)
this="sys/rump/fs/bin/${dir}/"; real="/usr/src/sys/rump/fs/bin/${dir}"
;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" && /usr/src/hpcarmtools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget cd9660fs dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump/fs/bin
*** Failed target: dependall-bin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="sys/rump/fs/"; real="/usr/src/sys/rump/fs" ;; *)
this="sys/rump/fs/${dir}/"; real="/usr/src/sys/rump/fs/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/hpcarmtools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget bin dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump/fs
*** Failed target: dependall-fs
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="sys/rump/"; real="/usr/src/sys/rump" ;; *)
this="sys/rump/${dir}/"; real="/usr/src/sys/rump/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/hpcarmtools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget fs dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/rump
*** Failed target: dependall-rump
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="sys/"; real="/usr/src/sys" ;; *) this="sys/${dir}/";
real="/usr/src/sys/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/src/hpcarmtools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget rump dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys
*** Failed target: dependall-sys
*** 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/hpcarmtools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget sys dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: do-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/hpcarmtools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** 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/hpcarmtools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . do-build
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: distribution
*** 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/hpcarmtools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
--
===================================================
J. Vicente Carrasco -- Bixen
carvay [tikismikis.org | es.FreeBSD.org]
Current Basque Beret: Spanish FDP Translationmeister
====================================================
--
Home |
Main Index |
Thread Index |
Old Index