I get this error when I compile 2.6 dom0: CC drivers/char/mem.o drivers/char/mem.c: In function `mmap_mem'': drivers/char/mem.c:247: error: `start_info'' undeclared (first use in this function) drivers/char/mem.c:247: error: (Each undeclared identifier is reported only once drivers/char/mem.c:247: error: for each function it appears in.) drivers/char/mem.c:247: error: `SIF_PRIVILEGED'' undeclared (first use in this function) drivers/char/mem.c:253: warning: implicit declaration of function `direct_remap_area_pages'' drivers/char/mem.c:255: error: `domid_t'' undeclared (first use in this function) drivers/char/mem.c:255: error: parse error before "file" make[2]: *** [drivers/char/mem.o] Error 1 make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 maybe a missing include file somewhere? James
> I get this error when I compile 2.6 dom0: > > CC drivers/char/mem.o > drivers/char/mem.c: In function `mmap_mem'': > drivers/char/mem.c:247: error: `start_info'' undeclared (first use in this function) > drivers/char/mem.c:247: error: (Each undeclared identifier is reported only once > drivers/char/mem.c:247: error: for each function it appears in.) > drivers/char/mem.c:247: error: `SIF_PRIVILEGED'' undeclared (first use in this function) > drivers/char/mem.c:253: warning: implicit declaration of function `direct_remap_area_pages'' > drivers/char/mem.c:255: error: `domid_t'' undeclared (first use in this function) > drivers/char/mem.c:255: error: parse error before "file" > make[2]: *** [drivers/char/mem.o] Error 1 > make[1]: *** [drivers/char] Error 2 > make: *** [drivers] Error 2 > > maybe a missing include file somewhere?James, I just did a complete pull and rebuild without problems. I suspect that your bk repo must be in a funny state and needs re-cloneing. Ian ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, Aug 12, 2004 at 02:56:30PM +1000, James Harper wrote:> > I get this error when I compile 2.6 dom0:Forgot to use ARCH=xen on make?> > > > CC drivers/char/mem.o > drivers/char/mem.c: In function `mmap_mem'': > drivers/char/mem.c:247: error: `start_info'' undeclared (first use in > this function) > drivers/char/mem.c:247: error: (Each undeclared identifier is reported > only once > drivers/char/mem.c:247: error: for each function it appears in.) > drivers/char/mem.c:247: error: `SIF_PRIVILEGED'' undeclared (first use > in this function) > drivers/char/mem.c:253: warning: implicit declaration of function > `direct_remap_area_pages'' > drivers/char/mem.c:255: error: `domid_t'' undeclared (first use in this > function) > drivers/char/mem.c:255: error: parse error before "file" > make[2]: *** [drivers/char/mem.o] Error 1 > make[1]: *** [drivers/char] Error 2 > make: *** [drivers] Error 2-- Flávio Bruno Leitner <fbl@conectiva.com.br> [ E74B 0BD0 5E05 C385 239E 531C BC17 D670 7FF0 A9E0 ] ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Curiously enough, it hung on the next reboot with a stack of filesystem errors. Must have been a hangover from the corruption a while ago. Mem.c was one of the files that was reported as being corrupt. I''ve cloned the tree again and am trying a recompile. James> -----Original Message----- > From: Ian Pratt [mailto:Ian.Pratt@cl.cam.ac.uk] > Sent: Thursday, 12 August 2004 16:03 > To: James Harper > Cc: xen-devel@lists.sourceforge.net; Ian.Pratt@cl.cam.ac.uk > Subject: Re: [Xen-devel] 2.6 compile error > > > I get this error when I compile 2.6 dom0: > > > > CC drivers/char/mem.o > > drivers/char/mem.c: In function `mmap_mem'': > > drivers/char/mem.c:247: error: `start_info'' undeclared (first use in > this function) > > drivers/char/mem.c:247: error: (Each undeclared identifier isreported> only once > > drivers/char/mem.c:247: error: for each function it appears in.) > > drivers/char/mem.c:247: error: `SIF_PRIVILEGED'' undeclared (firstuse in> this function) > > drivers/char/mem.c:253: warning: implicit declaration of function > `direct_remap_area_pages'' > > drivers/char/mem.c:255: error: `domid_t'' undeclared (first use inthis> function) > > drivers/char/mem.c:255: error: parse error before "file" > > make[2]: *** [drivers/char/mem.o] Error 1 > > make[1]: *** [drivers/char] Error 2 > > make: *** [drivers] Error 2 > > > > maybe a missing include file somewhere? > > James, > > I just did a complete pull and rebuild without problems. I > suspect that your bk repo must be in a funny state and needs > re-cloneing. > > Ian------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel