Current-Users archive

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

Re: C compiler cannot create executables



On 23.08.2011 16:41, Rares Aioanei wrote:
> 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

You nuked /usr/obj but didn't set it with ./build.sh -O when building
tools. Was it intentional? You may still have stale files, so rm -rf'ing
the new OBJDIR/TOOLDIR is preferable.

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index