Hi Boris,

I suggest you just disable the build of nandtest. You won't need it for your platform and that version of mtd-utils is very old and has increasing difficulty building on newer machines.

Cheers,
Steve

On 15/02/2007, at 12:45 AM, Boris Vulikh wrote:

Hi Doug,

Thanks for the answer, I've solved it a few moments ago. My host Linux (Ubuntu 6.10) doesn't have the mtd-utils header files (linux/ mtd/*.h) do not exist in the default “include” path: /usr/include/, so I used this FAQ to solve it.

Now I have another problem:

make[2]: Entering directory `/home/user/work/uClinux-dist-intec- wildfiremod-2.4/user/mtd-utils'
gcc -I/usr/include -I. -o build/ftl_format ftl_format.c
gcc -I/usr/include -I. -o build/ftl_check ftl_check.c
gcc -I/usr/include -I. -o build/nanddump nanddump.c
gcc -I/usr/include -I. -o build/nandtest nandtest.c
nandtest.c:29:26: error: linux/config.h: No such file or directory
nandtest.c: In function ‘main’:
nandtest.c:120: warning: incompatible implicit declaration of built- in function ‘memset’ nandtest.c:176: warning: incompatible implicit declaration of built- in function ‘memset’ nandtest.c:213: warning: incompatible implicit declaration of built- in function ‘memset’ nandtest.c:266: warning: incompatible implicit declaration of built- in function ‘memcpy’
make[2]: *** [build/nandtest] Error 1
make[2]: Leaving directory `/home/user/work/uClinux-dist-intec- wildfiremod-2.4/user/mtd-utils'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/work/uClinux-dist-intec- wildfiremod-2.4/user'
make: *** [subdirs] Error 1

As far as I saw in various help forums config.h is deprecated in systems with 2.6 kernel version.
Not figured out on how to overcome this obstacle.

I'm trying to compile for Intec WildFireMod (based at freescale ColdFire m68k)
Kernel version 2.4
Tool-chain: m68k-elf-tools-20030314 .
The source version is uClinux-dist-intec-wildfiremod-2.4 .


On Wed, 2007-02-14 at 06:12 -0800, Doug Kehn wrote:
Hi Boris, Which uClinux distribution are you using? Which target are you building? Which tool-chain are you using? Regards, ...doug --- Boris Vulikh wrote: > I'm having troubles building the source. > make command exits with the following error message: > > > > > make[2]: Entering directory > `/home/user/work/uClinux-dist-intec- wildfiremod-2.4/user/mtd-utils' > > gcc -I/usr/include -I. -o build/ftl_format > ftl_format.c > > ftl_format.c:50:27: error: linux/mtd/ftl.h: No > such file or directory > > ftl_format.c:73: error: expected ‘)’ before > ‘*’ token > > ftl_format.c: In function ‘format_partition’: > > ftl_format.c:122: error: â €˜erase_unit_header_t’ > undeclared (first use in this function) > > ftl_format.c:122: error: (Each undeclared > identifier is reported only once > > ftl_format.c:122: error: for each function it > appears in.) > > ftl_format.c:122: error: expected ‘;’ before > ‘hdr’ > > ftl_format.c:142: error: ‘hdr’ undeclared > (first use in this function) > > ftl_format.c:176: error: ‘BLOCK_CONTROL’ > undeclared (first use in this function) > > make[2]: *** [build/ftl_format] Error 1 > > make[2]: Leaving directory > `/home/user/work/uClinux-dist-intec- wildfiremod-2.4/user/mtd-utils' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > `/home/user/work/uClinux-dist-intec- wildfiremod-2.4/user' > > make: *** [subdirs] Error 1 > > > What may cause this error message, and how do I > solve it? > > Thanks! > > Best regards, > Boris. > > _______________________________________________ > uClinux-dev mailing list > [email protected] > http:// mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by [email protected] > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev _____________________________________________________________________ _______________ Do you Yahoo!? Everyone is raving about the all- new Yahoo! Mail beta. http://new.mail.yahoo.com _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/ mailman/listinfo/uclinux-dev This message was resent by uclinux- [EMAIL PROTECTED] To unsubscribe see: http://mailman.uclinux.org/ mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

--
WorkWare Systems Pty Ltd
W: www.workware.net.au
P: 0434 921 300
F: 07 3102 9221
E: [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to