<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV>Hello all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm trying to put a cramfs image on my custom board, and for this, I have followed this topic : <A href="http://www.denx.de/wiki/view/DULG/RootFileSystemOnACramfsFileSystem">http://www.denx.de/wiki/view/DULG/RootFileSystemOnACramfsFileSystem</A></DIV>
<DIV>Now I have my cramfs image, but I have seen that I need to download my cramfs image in a mtdblock and for that, I need to set some MTD options in the kernel. (<A href="http://www.denx.de/wiki/view/DULG/FlashFilesystemsMTD">http://www.denx.de/wiki/view/DULG/FlashFilesystemsMTD</A>)</DIV>
<DIV>But when I make the command "make uImage", I have this problem :</DIV>
<DIV>&nbsp;</DIV>
<DIV>[root@xxxx linux-2.6.26]# make uImage<BR>&nbsp; CHK&nbsp;&nbsp;&nbsp;&nbsp; include/linux/version.h<BR>&nbsp; CHK&nbsp;&nbsp;&nbsp;&nbsp; include/linux/utsrelease.h<BR>&nbsp; CALL&nbsp;&nbsp;&nbsp; scripts/checksyscalls.sh<BR>&nbsp; CHK&nbsp;&nbsp;&nbsp;&nbsp; include/linux/compile.h<BR>&nbsp; CALL&nbsp;&nbsp;&nbsp; arch/powerpc/kernel/systbl_chk.sh<BR>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arch/ppc/syslib/m8xx_setup.o<BR>arch/ppc/syslib/m8xx_setup.c:68: error: array type has incomplete element type<BR>arch/ppc/syslib/m8xx_setup.c:70: error: field name not in record or union initializer<BR>arch/ppc/syslib/m8xx_setup.c:70: error: (near initialization for 'mpc8xxads_partitions')<BR>arch/ppc/syslib/m8xx_setup.c:71: error: field name not in record or union initializer<BR>arch/ppc/syslib/m8xx_setup.c:71: error: (near initialization for 'mpc8xxads_partitions')<BR>arch/ppc/syslib/m8xx_setup.c:72: error: field name not in record or union
 initializer<BR>arch/ppc/syslib/m8xx_setup.c:72: error: (near initialization for 'mpc8xxads_partitions')<BR>arch/ppc/syslib/m8xx_setup.c:73: error: field name not in record or union initializer<BR>arch/ppc/syslib/m8xx_setup.c:73: error: (near initialization for 'mpc8xxads_partitions')<BR>arch/ppc/syslib/m8xx_setup.c:73: error: 'MTD_WRITEABLE' undeclared here (not in a function)<BR>arch/ppc/syslib/m8xx_setup.c:75: error: field name not in record or union initializer<BR>arch/ppc/syslib/m8xx_setup.c:75: error: (near initialization for 'mpc8xxads_partitions')<BR>arch/ppc/syslib/m8xx_setup.c:76: error: field name not in record or union initializer<BR>arch/ppc/syslib/m8xx_setup.c:76: error: (near initialization for 'mpc8xxads_partitions')<BR>arch/ppc/syslib/m8xx_setup.c: In function 'm8xx_show_percpuinfo':<BR>arch/ppc/syslib/m8xx_setup.c:312: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned
 int'<BR>arch/ppc/syslib/m8xx_setup.c:312: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int'<BR>arch/ppc/syslib/m8xx_setup.c: In function 'platform_init':<BR>arch/ppc/syslib/m8xx_setup.c:451: warning: assignment from incompatible pointer type<BR>make[1]: *** [arch/ppc/syslib/m8xx_setup.o] Erreur 1<BR>make: *** [arch/ppc/syslib] Erreur 2</DIV>
<DIV><BR>[root@xxxx linux-2.6.26]# powerpc-linux-gcc --version<BR>powerpc-linux-gcc (GCC) 4.0.0 (DENX ELDK 4.1 4.0.0)<BR>Copyright (C) 2005 Free Software Foundation, Inc.<BR>This is free software; see the source for copying conditions.&nbsp; There is NO<BR>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE</DIV>
<DIV>&nbsp;</DIV>
<DIV>It seems that this is a problem with the version 4 of the gcc, and I would like to know if I need to change for an old version of gcc ? like 3.0. Or may be a patch exists to bring down this problem ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>Thanks in advance.</DIV>
<DIV>Regards,</DIV>
<DIV>Fabien.</DIV></DIV></div><br>


      <hr size="1"> 
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a></body></html>