Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: C compiler cannot create executables



On Mon, 22 Aug 2011 10:33:15 +0200
"Ian D. Leroux" <idleroux%fastmail.fm@localhost> wrote:

> On Mon, 22 Aug 2011 11:05 +0300, "Rares Aioanei" 
> <bsdlisten%gmail.com@localhost>
> wrote:
> > I'm running -current, updated as of yesterday, 21.08, and, while gcc
> > can compile simple C programs, when I try to rebuild all my packages,
> > I get the error stated in the subject. Anyone else seeing this?
> 

Ok, now I have another problem : I thought of recompiling my system, maybe 
it'll help. So I rm -rf'd /usr/obj/*, did a make clean in /usr/src, updated the 
source to the latest and proceeded with a './build.sh tools' .
It fails with 

configure: creating ./config.status
config.status: creating defs.mk
config.status: creating nbtool_config.h
#    create  compat/atoll.d
/usr/src/obj/tooldir.NetBSD-5.99.55-i386/bin/nbhost-mkdep -f atoll.d --      
-I. -I./include -I/usr/src/tools/compat -I/usr/src/tools/compat/sys  
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE  
/usr/src/tools/compat/../../lib/libc/stdlib/atoll.c
sh: /usr/src/obj/tooldir.NetBSD-5.99.55-i386/bin/nbhost-mkdep: not found

*** Failed target:  atoll.d
*** Failed command: /usr/src/obj/tooldir.NetBSD-5.99.55-i386/bin/nbhost-mkdep 
-f atoll.d -- -I. -I./include -I/usr/src/tools/compat 
-I/usr/src/tools/compat/sys -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 
-D__DBINTERFACE_PRIVATE /usr/src/tools/compat/../../lib/libc/stdlib/atoll.c
*** Error code 127

Stop.
nbmake: stopped in /usr/src/tools/compat

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

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

ERROR: Failed to make dependall in "tools"
*** BUILD ABORTED ***

Am I missing something obvious? Thanks in advance, 


-- 
Rares Aioanei


Home | Main Index | Thread Index | Old Index