* BUILD_BUG_ON & __bad_udelay for linux 3.3.2 kernel compile on ARM
@ 2012-04-19 15:23 Abhijit Pawar
0 siblings, 0 replies; only message in thread
From: Abhijit Pawar @ 2012-04-19 15:23 UTC (permalink / raw)
To: kernelnewbies
Hi All,
I have compiled the latest linux kernel (3.3.2) (after hearing the
provided support of this series after the 2.6 series )for ARM platform
on fedora box.
I faced couple of problems:
1. BUILD_BUG_ON : There were errors and make stopped for couple of
files.
The error said , negative type value for array.
At this moment, I have just commented the calls. However just wondering
what could be potential problem?
2. __bad_udelay
After making the above changes, the compilation finished just fine,
however doing modpost presented new problems as mentioned below:
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 2136 modules
ERROR: "__bad_udelay" [sound/pci/ali5451/snd-ali5451.ko] undefined!
ERROR: "__bad_udelay" [drivers/scsi/atp870u.ko] undefined!
ERROR: "__bad_udelay" [drivers/net/ethernet/sun/sungem.ko] undefined!
ERROR: "__bad_udelay" [drivers/gpu/drm/radeon/radeon.ko] undefined!
ERROR: "__bad_udelay" [drivers/gpu/drm/nouveau/nouveau.ko] undefined!
ERROR: "__bad_udelay" [drivers/atm/he.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
I have to go and replace many of the calls for udelay having value
greater than 2000 with mdelay(2) or more. So is it that these drivers
are not meant for ARM or they are not yet completely supported for ARM?
Regards,
Abhijit Pawar
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-19 15:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19 15:23 BUILD_BUG_ON & __bad_udelay for linux 3.3.2 kernel compile on ARM Abhijit Pawar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).