[maemo-developers] Can't build i386 version of my package -- "checking for linux kernel module build works .. no"

From: Jason Edgecombe jason at rampaginggeek.com
Date: Sun May 4 15:35:46 EEST 2008
Jason Edgecombe wrote:
> Kees Jongenburger wrote:
>   
>> :
>>   
>>     
>>>     checking for linux kernel module build works...no"
>>>     configure:error: fix problem or use --disable-kernel-module
>>>     
>>>       
>> hi, i suggest you do what the configure suggests and run configure
>> with the given option.
>>
>> i am pretty sure people don't want kernel modules
>> to be installed on the host system.
>> do you think the kernel module is used on the device?
>>
>>
>>   
>>     
> The kernel module provides the core functionality for AFS.  I'm certain 
> that users really want the kernel module.
>   
>>>  I have the maemo kernel source available and my armel package built,
>>>  installed and works like achamp on my N800 w/OS2008.
>>>
>>>  How do I fix this?
>>>
>>>  Can I still upload the package to maemo-extras without the i386 version?
>>>     
>>>       
>> i don't know
>>
>>   
>>     
I found these errors in config.log, any suggestions:

...
test -e include/linux/autoconf.h -a -e include/config/auto.conf || 
(            
\echo;                                                           \echo 
"  ERROR: Kernel configuration is invalid.";               \echo 
"         include/linux/autoconf.h or include/config/auto.conf are 
missing.";      \echo "         Run 'make oldconfig && make prepare' on 
kernel src to fix it.";  
\echo;                                                           
\/bin/false)mkdir -p 
/home/maemo/afs/dpkg/1.4.7/openafs-1.4.7/build/conftest.dir/.tmp_versionsrm 
-f 
/home/maemo/afs/dpkg/1.4.7/openafs-1.4.7/build/conftest.dir/.tmp_versions/*

...
ake[1]: Leaving directory 
`/home/maemo/src/kernel-source-rx-34-2.6.21.0'sb_gcc_wrapper 
(arm-linux-gcc): arm-linux-gcc cannot be recognizedMaybe you are trying 
to run a compiler of a wrong architecture?sb_gcc_wrapper 
(arm-linux-gcc): arm-linux-gcc cannot be recognizedMaybe you are trying 
to run a compiler of a wrong architecture?make[2]: *** 
[/home/maemo/afs/dpkg/1.4.7/openafs-1.4.7/build/conftest.dir/conftest.o] 
Error 1make[1]: *** 
[_module_/home/maemo/afs/dpkg/1.4.7/openafs-1.4.7/build/conftest.dir] 
Error 2

More information about the maemo-developers mailing list