[asterisk-embedded] Zaptel on ARM

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jun 10 04:08:19 CDT 2008


On Tue, Jun 10, 2008 at 10:44:31AM +0200, Mathieu Roger wrote:
> Hi,
> > autoconf's settings do not affect the kernel (Kbuild).
> i don't understand what you want to say.

Can you use your toolchan to build any other external kernel module? 
The kernel source itself?

I'd like to have a "working" reference to have an idea of how to fix
things.

Also:

> 
> I have a new error while compiling :
> Here is a (long) trace.
> 
> 
> $ make KVERS=2.6.25.3
> KSRC=/home/octera/Bureau/Stage/Telesurveillance/platineARM/kernel/linux-2.6.25.3
> CC=arm-linux-gcc LD=arm-linux-ld CPP=arm-linux-cpp ARCH=arm
> 
> make[1]: entrant dans le répertoire «
> /home/octera/Bureau/Stage/Telesurveillance/platineARM/zaptel/zaptel-1.4.11
> »
> make -C
> /home/octera/Bureau/Stage/Telesurveillance/platineARM/kernel/linux-2.6.25.3
> ARCH=arm
> SUBDIRS=/home/octera/Bureau/Stage/Telesurveillance/platineARM/zaptel/zaptel-1.4.11/kernel
> HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o
> wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o
> ztdummy.o ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/
> wcte12xp/" modules
> make[2]: entrant dans le répertoire «
> /home/octera/Bureau/Stage/Telesurveillance/platineARM/kernel/linux-2.6.25.3
> »
>   CC [M] 
> /home/octera/Bureau/Stage/Telesurveillance/platineARM/zaptel/zaptel-1.4.11/kernel/pciradio.o
> In file included from
> /home/octera/Bureau/Stage/Telesurveillance/platineARM/zaptel/zaptel-1.4.11/kernel/pciradio.c:46:
> include/linux/kernel.h:181: warning: 'regparm' attribute directive ignored
> include/linux/kernel.h:183: warning: 'regparm' attribute directive ignored
> In file included from include/asm/vm86.h:148,
>                  from include/asm/processor.h:7,
>                  from include/linux/prefetch.h:14,
>                  from include/linux/list.h:8,
>                  from include/linux/module.h:9,
>                  from
> /home/octera/Bureau/Stage/Telesurveillance/platineARM/zaptel/zaptel-1.4.11/kernel/pciradio.c:48:

vm86.h? that's an odd name for a file in include/asm-arm/ . In a 2.6.24
tree I happen to have:

$ ls include/asm-*/vm86.h
include/asm-um/vm86.h  
include/asm-x86/vm86.h

Maybe include/asm points to asm-x86/ in that specific kernel tree.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-embedded mailing list