DragonFly bugs List (threaded) for 2004-12
Re: Buildworld fails...
On Fri, Dec 17, 2004 at 04:37:32PM +0100, Joerg Anslik wrote:
> In file included from
> from ioctl.c:101:
> /usr/src/usr.bin/kdump/../../sys/sys/proc.h:47:2: #error "Userland
> must include sys/user.h instead of sys/proc.h"
> In file included from ioctl.c:270:
> opt_pcvt.h: No such
> file or directory
> mkdep: compile failed
> *** Error code 1
> Stop in /usr/src/usr.bin/kdump.
The "@"'s should not appear in the source tree. They are symbolic links
and usually gets created in the source tree when you tried building something
without populating objdir tree(probably usb driver?)
IIRC, `make cleandir' twice from /usr/src should clean up the garbage.
If you have the CVS repository cvsup'ed locally, remove /usr/src completely
and checkout the fresh source tree again. Don't forget to preserve your
local modification(if any) by running
$ cd /usr/src && cvs -R di -uN > ~/my_mods.diff
before removing the tree!