[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] problem with comile with MMU option



Hi Finn,

On Wed, Mar 25, 2009 at 11:22 AM, Finn Stadel Nielsen
<finnstadel@xxxxxxxxxx> wrote:
> Hello,
>
> I'm compiling the distribution for a system with MMU. I'm using an updated
> snapshot of the SVN repository.
> I'm getting some strange compile error with a file in the include/mtd/
> directory:
>
> ----
> make[2]: Entering directory
> `/home/fn/projects/mpl3e/linux/trunk/software/petalinux-dist/user/flatfsd'
> mb-linux-gcc  -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin
> -Wall  -mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift -mhard-float
> -mcpu=v7.10.d   -DEMBED
> -I/home/fn/projects/mpl3e/linux/trunk/software/petalinux-dist
> -I/home/fn/projects/mpl3e/linux/trunk/software/petalinux-dist/include
> -I/home/fn/projects/mpl3e/linux/trunk/software/petalinux-dist/include
> -Dlinux -D__linux__ -Dunix -DLINUX -Wall -DUSING_MTD_DEVICE=1
> -DFLATFSD_VERSION='"1.0.0mtd"'   -c -o flatfs_mtd.o flatfs_mtd.c
> In file included from
> /home/fn/projects/mpl3e/linux/trunk/software/petalinux-dist/include/mtd/mtd-user.h:13,
>                from flatfs_mtd.c:19:
> /home/fn/projects/mpl3e/linux/trunk/software/petalinux-dist/include/mtd/mtd-abi.h:18:
> error: expected â:â, â,â, â;â, â}â or â__attribute__â before â*â token
> make[2]: *** [flatfs_mtd.o] Error 1
> make[2]: Leaving directory
> `/home/fn/projects/mpl3e/linux/trunk/software/petalinux-dist/user/flatfsd'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/fn/projects/mpl3e/linux/trunk/software/petalinux-dist/user'
> make: *** [subdirs] Error 1
> ----------
>
> Weird characters and stuff.. I don't make much sense of it .. Any ideas ?

That is very strange.  Can you try doing a make clean and rebuilding?
Do you have some non-standard  LOCALE setting in your shell or
something?


> I also noticed some compile warnings for the ethernet lite sources in the
> kernel build. It was only warnngs, but they didn't sound very reassuring ;-)

Can you post the warning messages please? :)

John
-- 
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com  p: +61-7-30090663  f: +61-7-30090663

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/