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

Re: [microblaze-uclinux] problem building current SVN microblaze build



Aha!!  perfect...  thank you very much!

Pauli Chen wrote:
Try this:
replace <linux/blk.h> with <linux/initrd.h>.

Paul

On Tue, May 12, 2009 at 12:06 AM, Dan Miller <dan@xxxxxxxxxx> wrote:
  
I'm trying to build the version from the subversion server, downloaded a
couple of weeks ago.  The build fails at init.c :

  CC      arch/microblaze/mm/init.o
arch/microblaze/mm/init.c:20:43: linux/blk.h: No such file or directory
make[2]: *** [arch/microblaze/mm/init.o] Error 1
make[1]: *** [arch/microblaze/mm] Error 2
make[1]: Leaving directory
`/home/petalinux/PetaLogix/trunk/software/linux-2.6.x-petalogix'
make: *** [linux] Error 1

I looked in init.c and saw:

//  from init.c :
#ifdef CONFIG_BLK_DEV_INITRD
#include <linux/blk.h>          /* for initrd_* */
#endif

hmmm... can't find a blk.h anywhere that I look.  Then, while searching
around on the web, I saw comments that blk.h was obsolete, so I tried adding
CONFIG_BLK_DEV_INITRD=n
to .config, but that didn't resolve anything.  Thinking that maybe
menuconfig needed to do something with the file, I tried running that, but
didn't see anything about initrd (even with various vendor options turned
on), and when I exited from the program, it deleted my entry from .config.

I'm tempted to just comment out the line and forget about it, but I'm
worried that this is a symptom of a bigger issue. *Is* it??

Dan Miller

___________________________ microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx Project Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
    

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


  

___________________________ microblaze-uclinux mailing list microblaze-uclinux@xxxxxxxxxxxxxx Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/