Re: Error building kernel

From: Willem Jan Withagen <wjw_at_withagen.nl>
Date: Sun, 1 Aug 2004 19:45:26 +0200
> > /home2/src/sys/amd64/amd64/mem.c: In function `memrw':
> > /home2/src/sys/amd64/amd64/mem.c:96: warning: implicit declaration of
> > function `
> > PHYS_TO_DMAP'
> > /home2/src/sys/amd64/amd64/mem.c:96: warning: nested extern
> > declaration of `PHYS
> > _TO_DMAP'
> > /home2/src/sys/amd64/amd64/mem.c:96: warning: cast to pointer from
> > integer of di
> > fferent size
> > /home2/src/sys/amd64/amd64/mem.c:102: error: `DMAP_MIN_ADDRESS'
> > undeclared (firs
> > t use in this function)
> > /home2/src/sys/amd64/amd64/mem.c:102: error: (Each undeclared
> > identifier is repo
> > rted only once
> > /home2/src/sys/amd64/amd64/mem.c:102: error: for each function it
> > appears in.)
> > /home2/src/sys/amd64/amd64/mem.c:102: error: `DMAP_MAX_ADDRESS'
> > undeclared (firs
> > t use in this function)
> > /home2/src/sys/amd64/amd64/mem.c:103: warning: implicit declaration
> > of function
> > `DMAP_TO_PHYS'
> > /home2/src/sys/amd64/amd64/mem.c:103: warning: nested extern
> > declaration of `DMA
> > P_TO_PHYS'
> > /home2/src/sys/amd64/amd64/mem.c:117: error: `KERNBASE' undeclared
> > (first use in
> >  this function)
> > *** Error code 1
> >
> > I have defined
> >     device    mem
> >     device    null
> >
> > in my config. Compilation is on an amd64 system.
> >
> > --WjW
>
> Same here on my amd64 box.  Looks like sys/amd64/include/vmparam.h is
> not being included in the build.

Tried doing that, then it misses things from again another file...
/usr/src/sys/sys/memrange.h about somethigns wrong with MEMDESC

After which I hang up for the time being. But Something needs to be included
Somewhere.....

--WjW
Received on Sun Aug 01 2004 - 15:45:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC