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

Re: [microblaze-uclinux] Issues Building Fresh Environment



Hi Tom,


On Fri, Feb 13, 2009 at 5:02 AM, Thomas D Tessier <tomt@xxxxxxxxx> wrote:
> I am trying to build a fresh uClinux Environment.  I have successfully built
> this tree on a RHEL 4.6 machine.  I am now moving to a RHEL 5.3 machine.
>
> On the RHEL 5.3 machine I cannot run "make menuconfig" as it says I do not
> have Ncurses loaded - which I do and have tested?  But I can get around that
> by just using "make config"

You have the ncurses runtime, but you also need ncurses-devel for
building the menuconfig tools:

$ sudo yum install ncurses-devel

I have a rather standard environment that I am
> building on a Spartan3ADSP-1800A board.  Just trying to get the tool flow
> working on the new environment before I move my real work over.
>
> After I complete "make config" I try to build the environment using "make"
>  I get the following error:
>
> arch/microblaze/mm/init.c:20:43: linux/blk.h: No such file or directory
>  CC      arch/microblaze/kernel/opb_timer.o
>  CC      arch/microblaze/kernel/heartbeat.o
> make[2]: *** [arch/microblaze/mm/init.o] Error 1
>
> Now I have looked at my RHEL 4 environment and I don't have a linux/blk.h in
> that tree either but it seems to build.  I believe I have setup both
> environments the same so I am a little confused.  I am using a 2.6 kernel
> with the .30rc1 release of Petalinux?

Sounds like a config error - can you copy your linux-2.6.x/.config
from the working RHEL 4 tree over to your newer tree?

Cheers,

John
___________________________
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/