cancel
Showing results for 
Search instead for 
Did you mean: 

Problems when build ucLinux imagefor STR710-Eval board.!!!

ladykiller_lkp
Associate
Posted on October 11, 2007 at 09:32

Problems when build ucLinux imagefor STR710-Eval board.!!!

3 REPLIES 3
ladykiller_lkp
Associate
Posted on September 26, 2007 at 08:31

Hi all...I have a problem when build ucLinux image for STR710-Eval board.

when i try the build of uClinux

excute command

make user_only

but It stops with the below mentioned error:

gcc - I/usr/include - o build/erase erase.c

erace.c: 9: 27: error: linux/mtd/mtd.h: No such file or directory.

As for having used

-uClinux-dist-20040408

-arm-elf-tools-20030314.sh

-uClinux-dist-20040408-str710-patch.tar.gz

i've done according to the manual Aplication Note (Getting Started with uClinux for STR71x)

anyone help me to solve this problem

thanks very much

Judas(sorry ,my English very bad)

[ This message was edited by: Judas on 26-09-2007 12:02 ]

[ This message was edited by: Judas on 27-09-2007 06:50 ]

kaouther
Associate II
Posted on October 11, 2007 at 06:49

Could you check the mtd.h file if it is available in the directory .../linux/mtd/? it should be created when unzipping the ''uClinux-dist-20040408.tar.gz '' package.

kaouther
Associate II
Posted on October 11, 2007 at 09:32

Hello,

In the ''Makefile '' file available in''uClinux-dist/user/mdt-util'' directory, please change the following ; '' MY_CFLAGS = -I/usr/include''

By

''MY_CFLAGS = -I$(ROOTDIR)/$(LINUXDIR)/include''

Let me knnow if this does not solves the problem.

Regards.