<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 <marco.stornelli@coritel.it><BR>À : Fabien Oriede <fabien.oriede@yahoo.fr><BR>Cc : linuxppc-embedded@ozlabs.org<BR>Envoyé le : Jeudi, 7 Août 2008, 11h59mn 19s<BR>Objet : Re: kernel 2.6.26 & gcc 4.0.0<BR><BR>Fabien Oriede ha scritto:<BR>> Hello all,<BR>> 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>> 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>> But when I make the command "make uImage", I have this problem :<BR>> [root@xxxx linux-2.6.26]# make uImage<BR>> CHK include/linux/version.h<BR>> CHK include/linux/utsrelease.h<BR>> CALL scripts/checksyscalls.sh<BR>> CHK include/linux/compile.h<BR>> CALL arch/powerpc/kernel/systbl_chk.sh<BR>> CC 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<BR>> <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. There is NO<BR>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE<BR>> 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>> Thanks in advance.<BR>> Regards,<BR>> Fabien.<BR>> <BR>> <BR>> _____________________________________________________________________________ <BR>> Envoyez avec Yahoo! Mail. Une boite mail plus intelligente <A href="http://mail.yahoo.fr/" target=_blank>http://mail.yahoo.fr</A><BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> _______________________________________________<BR>> Linuxppc-embedded mailing list<BR>> <A href="mailto:Linuxppc-embedded@ozlabs.org" ymailto="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</A><BR>> <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>