[uClinux-dev] mtd_utils compilation probleme and utilities of mtd_utils

meyer.yannick@libertysurf.fr meyer.yannick at libertysurf.fr
Thu Jun 7 03:30:21 EDT 2007


Hello all,

i have encountered compiling problem with the mtd-utils
application from µCLinux on a ColdFire 5271.

It seems that the makefile is wrong. Here is a part of the
makefile
#
# These flags are used for build native versions of the
tools for the
# host system so it can generate images etc
#
MY_CFLAGS = -I/usr/include -I.
BUILD_CFLAGS += $(MY_CFLAGS)
BUILD_CC = gcc
CFLAGS += -D__USE_BSD -I.

I make a cross compilation for the ColdFire, and the tool
chain use m68k-elf-gcc. Or with this makefile, he use gcc,
that his the compiler from my machine and not for the
target. So i did not find the file zlib.h on my computer.

Or i am complete wrong, so this application his not for the
target. If it is the case, what is the library needed to
compile on my computer this application ? this application
needs probably to be in another repertory like /tools than
/user ?

I understand that the mtd-utils package is for managing
memory technology devices (mtd on flash), and used for some
filesystem like jffs2 that we use on the project. Is it
correct ? What does the package mtd-utils ?

Thanks for all answer that can help me to understand why i
have error.

Yannick MEYER

------------------------ ALICE C'EST ENCORE MIEUX AVEC CANAL+ LE BOUQUET ! ---------------
Découvrez vite l'offre exclusive ALICEBOX et CANAL+ LE BOUQUET, en cliquant ici http://alicebox.fr
Soumis à conditions.




More information about the uClinux-dev mailing list