[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] microwindows compile error (and also about loadable module support)
Hi Aslam,
Islam Samir wrote:
PetaLinux v. 0.2-rc3
I try to compile microwindows (Nano-X) . First I got an error:
We're in the process of cleaning up microwin so it will build. It
sounds like you are making progress too.
Creating library
/home/ihhs/petalinux/petalinux-v0.20-rc3/software/petalinux-dist/user/microwin/src/lib/libnano-X.a
...
Linking
/home/ihhs/petalinux/petalinux-v0.20-rc3/software/petalinux-dist/user/microwin/src/bin/nano-X
...
/home/ihhs/petalinux/petalinux-v0.20-rc3/software/petalinux-dist/user/microwin/src/bin/nano-X.elf2flt:
In function `main':
/home/ihhs/petalinux/petalinux-v0.20-rc3/software/petalinux-dist/user/microwin/src/nanox/srvmain.c:173:
undefined reference to `GsSelect'
/home/ihhs/petalinux/petalinux-v0.20-rc3/software/petalinux-dist/user/microwin/src/bin/nano-X.elf2flt:
In function `GdCreateFont':
/home/ihhs/petalinux/petalinux-v0.20-rc3/software/petalinux-dist/user/microwin/src/engine/devfont.c(.text+0x108d8):
undefined reference to `strcmpi'
convert these obsolete strcmpi calls to strcasecmp and so on.
Another thing, the hello world module attached here did not compile due
to the following error:
make[1]: Entering directory
`/home/ihhs/petalinux/petalinux-v0.20-rc3/software/linux-2.6.x-petalogix'
CC [M]
/home/ihhs/petalinux/2007.07.07_loadable_modules/hello_modules/hello.o
In file included from include/linux/wait.h:26,
from include/linux/kobject.h:28,
from include/linux/module.h:17,
from
/home/ihhs/petalinux/2007.07.07_loadable_modules/hello_modules/hello.c:2:
include/asm/current.h:19: error: invalid register name for ‘current’
make[2]: ***
This error is coming because you are trying to compile a microblaze
kernel module with the host (i386) toolchain.
Try something like
make ARCH=microblaze
It may not be all that is required, but will be a step in the righth
direction.
Regards,
John
___________________________
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/