stable/6 make and build errors
Jeremy Chadwick
koitsu at FreeBSD.org
Sat Aug 30 02:06:09 UTC 2008
On Fri, Aug 29, 2008 at 03:39:30PM -0700, Sean Bruno wrote:
> Sean Bruno wrote:
>>
>> mkdep -f .depend -a -I/home/sbruno/bsd/6/lib/csu/i386-elf/../common
>> -I/home/sbruno/bsd/6/lib/csu/i386-elf/../../libc/include
>> /home/sbruno/bsd/6/lib/csu/i386-elf/crt1.c
>> /home/sbruno/bsd/6/lib/csu/i386-elf/crti.S
>> /home/sbruno/bsd/6/lib/csu/i386-elf/crtn.S
>> /usr/bin/mkdep: cannot create _mkdep18423: Permission denied
>> /usr/bin/mkdep: cannot create _mkdep18423: Permission denied
>> mkdep: compile failed
>> *** Error code 1
>>
>> Stop in /home/sbruno/bsd/6/lib/csu/i386-elf.
>> *** Error code 1
>>
>> Stop in /home/sbruno/bsd/6/lib.
>> *** Error code 1
>>
>> Stop in /home/sbruno/bsd/6.
>> *** Error code 1
>>
>>
>>
> After poking around a bit, I discovered an old build dir in /usr/obj/
> that matched the path that my tree was currently a part of.
>
> So, a "make clean" or a "make cleanworld" doesn't delete /usr/obj/(DIR)
> for some reason? Bug?
It's known that 'make clean' will occasionally not nuke all the
necessary objects in /usr/obj/*.
rm -fr /usr/obj/* is a better bet. Do not rely on 'make clean'.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-stable
mailing list