Skip to main content
Visitor II
October 11, 2007
Question

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

  • October 11, 2007
  • 3 replies
  • 923 views
Posted on October 11, 2007 at 09:32

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

    This topic has been closed for replies.

    3 replies

    Visitor II
    September 26, 2007
    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 ]

    Visitor II
    October 11, 2007
    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.

    Visitor II
    October 11, 2007
    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.