[maemo-developers] [maemo-developers] building an application with custom kernel-headers

From: Yves-Alexis Perez corsac at corsac.net
Date: Thu Oct 19 11:44:25 EEST 2006
On Thu, 2006-10-19 at 11:31 +0300, Eero Tamminen wrote:
> > [sbox-fitz: ~] > grep
> >
> IFA_F_HOMEADDRESS /usr/src/su-18-kernel-headers/include/linux/rtnetlink.h
> > #define IFA_F_HOMEADDRESS       0x10
> 
> Is this in the part of the kernel header that is not "exported"
> unless you're compiling kernel source code?  (or claiming
> so with a define used for this) 

I don't really know what you mean here, but this works outside of
scratchbox/maemo, and it works using not 'gcc' but 'gcc-3.4'

(gcc is a link to sb_gcc_wrapper in /scratchbox/compilers/bin/ while
gcc-3.4 is a pure arm compiler in /usr/bin):

 [sbox-fitz: ~] > file /scratchbox/compilers/bin/sb_gcc_wrapper
/scratchbox/compilers/bin/sb_gcc_wrapper: ELF 32-bit LSB executable,
Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked
(uses shared libs), stripped

[sbox-fitz: ~] >  file /usr/bin/gcc-3.4
/usr/bin/gcc-3.4: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for
GNU/Linux 2.4.17, dynamically linked (uses shared libs), stripped


So I build my package using CC=gcc-3.4

Thanks, anyway.
-- 
Yves-Alexis Perez


More information about the maemo-developers mailing list