<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV>No, I did not modify this file.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">----- Message d'origine ----<BR>De : Marco Stornelli &lt;marco.stornelli@coritel.it&gt;<BR>À : Fabien Oriede &lt;fabien.oriede@yahoo.fr&gt;<BR>Cc : linuxppc-embedded@ozlabs.org<BR>Envoyé le : Jeudi, 7 Août 2008, 11h59mn 19s<BR>Objet&nbsp;: Re: kernel 2.6.26 &amp; gcc 4.0.0<BR><BR>Fabien Oriede ha scritto:<BR>&gt; Hello all,<BR>&gt; 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" target=_blank>http://www.denx.de/wiki/view/DULG/RootFileSystemOnACramfsFileSystem</A><BR>&gt; 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"
 target=_blank>http://www.denx.de/wiki/view/DULG/FlashFilesystemsMTD</A>)<BR>&gt; But when I make the command "make uImage", I have this problem :<BR>&gt; [root@xxxx linux-2.6.26]# make uImage<BR>&gt;&nbsp; CHK&nbsp; &nbsp; include/linux/version.h<BR>&gt;&nbsp; CHK&nbsp; &nbsp; include/linux/utsrelease.h<BR>&gt;&nbsp; CALL&nbsp; &nbsp; scripts/checksyscalls.sh<BR>&gt;&nbsp; CHK&nbsp; &nbsp; include/linux/compile.h<BR>&gt;&nbsp; CALL&nbsp; &nbsp; arch/powerpc/kernel/systbl_chk.sh<BR>&gt;&nbsp; CC&nbsp; &nbsp; &nbsp; arch/ppc/syslib/m8xx_setup.o<BR>&gt; arch/ppc/syslib/m8xx_setup.c:68: error: array type has incomplete element type<BR>&gt; arch/ppc/syslib/m8xx_setup.c:70: error: field name not in record or union initializer<BR>&gt; arch/ppc/syslib/m8xx_setup.c:70: error: (near initialization for 'mpc8xxads_partitions')<BR>&gt; arch/ppc/syslib/m8xx_setup.c:71: error: field name not in record or union initializer<BR>&gt; arch/ppc/syslib/m8xx_setup.c:71:
 error: (near initialization for 'mpc8xxads_partitions')<BR>&gt; arch/ppc/syslib/m8xx_setup.c:72: error: field name not in record or union initializer<BR>&gt; arch/ppc/syslib/m8xx_setup.c:72: error: (near initialization for 'mpc8xxads_partitions')<BR>&gt; arch/ppc/syslib/m8xx_setup.c:73: error: field name not in record or union initializer<BR>&gt; arch/ppc/syslib/m8xx_setup.c:73: error: (near initialization for 'mpc8xxads_partitions')<BR>&gt; arch/ppc/syslib/m8xx_setup.c:73: error: 'MTD_WRITEABLE' undeclared here (not in a function)<BR>&gt; arch/ppc/syslib/m8xx_setup.c:75: error: field name not in record or union initializer<BR>&gt; arch/ppc/syslib/m8xx_setup.c:75: error: (near initialization for 'mpc8xxads_partitions')<BR>&gt; arch/ppc/syslib/m8xx_setup.c:76: error: field name not in record or union initializer<BR>&gt; arch/ppc/syslib/m8xx_setup.c:76: error: (near initialization for 'mpc8xxads_partitions')<BR>&gt; arch/ppc/syslib/m8xx_setup.c: In
 function 'm8xx_show_percpuinfo':<BR>&gt; arch/ppc/syslib/m8xx_setup.c:312: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int'<BR>&gt; arch/ppc/syslib/m8xx_setup.c:312: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int'<BR>&gt; arch/ppc/syslib/m8xx_setup.c: In function 'platform_init':<BR>&gt; arch/ppc/syslib/m8xx_setup.c:451: warning: assignment from incompatible pointer type<BR>&gt; make[1]: *** [arch/ppc/syslib/m8xx_setup.o] Erreur 1<BR>&gt; make: *** [arch/ppc/syslib] Erreur 2<BR>&gt; <BR>&gt; [root@xxxx linux-2.6.26]# powerpc-linux-gcc --version<BR>&gt; powerpc-linux-gcc (GCC) 4.0.0 (DENX ELDK 4.1 4.0.0)<BR>&gt; Copyright (C) 2005 Free Software Foundation, Inc.<BR>&gt; This is free software; see the source for copying conditions.&nbsp; There is NO<BR>&gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE<BR>&gt; 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 ?<BR>&gt; Thanks in advance.<BR>&gt; Regards,<BR>&gt; Fabien.<BR>&gt; <BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; _____________________________________________________________________________ <BR>&gt; Envoyez avec Yahoo! Mail. Une boite mail plus intelligente <A href="http://mail.yahoo.fr/" target=_blank>http://mail.yahoo.fr</A><BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Linuxppc-embedded mailing list<BR>&gt; <A href="mailto:Linuxppc-embedded@ozlabs.org" ymailto="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</A><BR>&gt; <A href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded"
 target=_blank>https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR><BR>Have you modified that file?<BR><BR>-- <BR>Marco Stornelli<BR>Embedded Software Engineer<BR>CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni<BR><A href="http://www.coritel.it/" target=_blank>http://www.coritel.it</A><BR><BR><A href="mailto:marco.stornelli@coritel.it" ymailto="mailto:marco.stornelli@coritel.it">marco.stornelli@coritel.it</A><BR>+39 06 72582838<BR></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>