[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] problem building current SVN microblaze build
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: Re: [microblaze-uclinux] problem building current SVN microblaze build
- From: Pauli Chen <paulichen@xxxxxxxxx>
- Date: Tue, 12 May 2009 02:32:03 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uSuM4oqvyjbRE0qWEATHJccS1zUV9hSRWiaEHqQ31EQ=; b=LKvwceYMllhCd4Yeuhr5hlhWJMgcoYgvgkieCyzYr3RfwwZkF5uWULV0I6lp4f+EB9 I02LBkcF+NvwFFIW/S7DC1SrQcpXdfmeQ6M2Yj7SHJCIXz0id9Onu7ahmVilF/WCq7bO S5lHDklriSLdtNav7+vO9HfLV0KXiF0/5p9bE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Afo1OR140Ci6q46lh3Sq308t/4jLOhGjZyJ1RWnWOCF647xhLC64VbJufkVAwJIpmQ ZILx0aPM44IEKIxjvjWXFBpmSyhLW9a5NanTsv0zme00nWkK8oUkAAab5HBDuY2Tl1QY Fb9AXartYr2bcxPOXJrg11VKktJKKlkRZ9Hkg=
- In-reply-to: <4A084D1C.2060203@xxxxxxxxxx>
- References: <4A084D1C.2060203@xxxxxxxxxx>
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx
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/