[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] loadable module support in petalinux kernel 2.6
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: [microblaze-uclinux] loadable module support in petalinux kernel 2.6
- From: Islam Samir <islambio@xxxxxxxxx>
- Date: Mon, 2 Jul 2007 21:23:03 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=KYd74V4TekEbpvZtlz45cZJtoyT0OIp9NATf5PK0Ol/8zSiG0sAjOODTscFeChVVeIAfjBnLlxZztOI/q5DyyYqGep7sME0lBqm8EbVNcwHu5AOU6MaW+1kxLfjhL3Jk89V14xwKrpaSBd1kwkHRSS7qYPOGhHGLgIJWEBhT1f4=;
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
Hi, I tried to compile loadable module support into the kernel 2.6 of petalinux... The compilation stopped with the following error:
CC arch/microblaze/kernel/init_task.o
AS usr/initramfs_data.o
In file included from init/main.c:13:
include/linux/module.h:315: error: field `arch' has incomplete type
LD usr/built-in.o
CC arch/microblaze/mm/init.o
In file included from arch/microblaze/kernel/init_task.c:11:
include/linux/module.h:315: error: field `arch' has incomplete type
make[2]: ***
[init/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC arch/microblaze/kernel/setup.o
make[2]: *** [arch/microblaze/kernel/init_task.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC arch/microblaze/platform/common/xgpio.o
CC arch/microblaze/mm/consistent.o
In file included from arch/microblaze/mm/consistent.c:30:
include/linux/module.h:315: error: field `arch' has incomplete type
In file included from include/linux/device.h:20,
from include/linux/platform_device.h:14,
from include/linux/xilinx_devices.h:24,
from arch/microblaze/platform/common/xgpio.c:18:
include/linux/module.h:315: error: field `arch' has incomplete type
make[3]: *** [arch/microblaze/platform/common/xgpio.o] Error 1
make[2]: *** [arch/microblaze/platform/common] Error 2
make[1]: *** [arch/microblaze/platform] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [arch/microblaze/kernel] Error 2
make[2]: *** [arch/microblaze/mm/consistent.o] Error
1
make[1]: *** [arch/microblaze/mm] Error 2
dnsdomainname: Host name lookup failure
make[1]: *** [init] Error 2
make[1]: Leaving directory `/home/ihhs/petalinux/petalinux-v0.20-rc3/software/linux-2.6.x-petalogix'
make: *** [linux] Error 1
Does loadable module support require specific hardware settings ?? my board is spartan3E1600 development kit
Note that the compilation process goes without errors if I disable modules
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.