Reply
Thread Tools
Posts: 8 | Thanked: 1 time | Joined on May 2009
#1
Hi,

I try to compile a default kernel in the scratchbox. My objective is to include usb_audio support.

Even with the default configuration (after running make n800_defconfig), I get this error message :

/kernel-source/drivers/spi/omap2_mcspi.c: In function `omap2_mcspi_work':
/kernel-source/drivers/spi/omap2_mcspi.c:249: sorry, unimplemented: inlining failed in call to 'spi_pause_mutex_lock': function body not available
/kernel-source/drivers/spi/omap2_mcspi.c:380: sorry, unimplemented: called from here
/kernel-source/drivers/spi/omap2_mcspi.c:250: sorry, unimplemented: inlining failed in call to 'spi_pause_mutex_unlock': function body not available
/kernel-source/drivers/spi/omap2_mcspi.c:421: sorry, unimplemented: called from here
/kernel-source/drivers/spi/omap2_mcspi.c: At top level:
/kernel-source/drivers/spi/omap2_mcspi.c:248: warning: 'spi_pause_mutex_init' declared `static' but never defined
/kernel-source/drivers/spi/omap2_mcspi.c:249: warning: 'spi_pause_mutex_lock' declared `static' but never defined
/kernel-source/drivers/spi/omap2_mcspi.c:250: warning: 'spi_pause_mutex_unlock' declared `static' but never defined
make[2]: *** [drivers/spi/omap2_mcspi.o] Error 1
make[1]: *** [drivers/spi] Error 2
make: *** [drivers] Error 2


Anyone can help ?

Thanks,

Patrick
 

The Following User Says Thank You to pat26 For This Useful Post:
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#2
Diablo SDK in Scratchbox I assume?
What is "a default kernel"? Any number or revision available so people might try to reproduce?
__________________
maemo.org Bugmaster
 

The Following User Says Thank You to Andre Klapper For This Useful Post:
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#3
Originally Posted by pat26 View Post
Even with the default configuration (after running make n800_defconfig)
Try using nokia_2420_defconfig instead (confusing, I know, but see debian/rules).
 
Posts: 1 | Thanked: 0 times | Joined on Oct 2008
#4
I has the same problem as the pat26 and a has been used n800_defconfig, so now I use the nokia_2420_defconfig an it works.

So I want know wath's the diference between n800_defconfig and nokia_2420_defconfig.??

Thanks
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
diff -u arch/arm/configs/n800_defconfig arch/arm/configs/nokia_2420_defconfig
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#6
Originally Posted by brankinhu View Post
So I want know wath's the diference between n800_defconfig and nokia_2420_defconfig.??
The difference is that one works and the other one does not? ;-)

But seriously, n800_defconfig was used in OS2007 for 2.6.18 kernel and they didn't bother to remove it. For 2.6.21 kernel used in OS2008 nokia_2420_defconfig is the correct one.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following 3 Users Say Thank You to fanoush For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 06:55.