[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Re: asterisk / zaptel PPC
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Re: asterisk / zaptel PPC |
Date: |
Tue, 03 Mar 2009 16:43:43 +0000 |
Hi Bob,
This came up in another context and when I tried a different (later)
kernel I got the failure you cite. This can be fixed by applying this
to your zaptel source tree:
zaptel-1.4.11.modified/kernel/Kbuild:
$(obj)/makefw: $(src)/makefw.c
- $(HOSTCC) -o $@ $^
+ $(HOSTCC) $(HOSTCFLAGS) -o $@ $^
However, please note that if your kernel version is later than 2.6.26
you'll get a further failure:
[M] /home/seh/ltib_bsps/head/rpm/BUILD/zaptel-1.4.11/kernel/zaptel-base.o
/home/seh/ltib_bsps/head/rpm/BUILD/zaptel-1.4.11/kernel/zaptel-base.c: In
function 'zt_register':
/home/seh/ltib_bsps/head/rpm/BUILD/zaptel-1.4.11/kernel/zaptel-base.c:5230:
error: implicit declaration of function 'class_device_create'
This unfortunately will ultimately require the package in LTIB to be
upgraded as the changes here:
http://www.gossamer-threads.com/lists/atrpms/users/11468
do not currently apply to the zaptel version in LTIB.
Regards, Stuart
On Tue, 2009-03-03 at 11:11 +0000, Stuart Hughes wrote:
> Hi Bob,
>
> I just tried enabling zaptel/asterisk for PowerPC using the current
> Savannah CVS and it builds fine.
>
> Regards, Stuart
>
> On Tue, 2009-03-03 at 09:19 +0100, Vadim Lebedev wrote:
> > Bob,
> >
> > It seems that somehow it builds for an ARM architecture ....
> >
> >
> > Thanks
> > Vdim
> > Le 3 mars 09 à 01:19, Bob a écrit :
> >
> > > Vadim,
> > > I'm trying to put asterisk and zaptel on a mpc8315erdb. Asterisk
> > > seems to
> > > compiling fine, since I found your .spec file. (Thanks ;) ) I'm
> > > getting a
> > > bunch of assembly code errors in zaptel.
> > >
> > > Unfortunately, I can't even see what code is trying to be compiled
> > > here. Any
> > > Ideas?
> > >
> > > make[2]: Leaving directory
> > > `/home/bob/BSP/ltib-mpc8315erdb-20080630/rpm/BUILD/zaptel-1.4.11/
> > > menuselect'
> > > make -C /home/bob/BSP/ltib-mpc8315erdb-20080630/rpm/BUILD/linux
> > > ARCH=powerpc
> > > SUBDIRS=/home/bob/BSP/ltib-mpc8315erdb-20080630/rpm/BUILD/
> > > zaptel-1.4.11/kern
> > > el HOTPLUG_FIRMWARE=no 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]: Entering directory
> > > `/home/bob/BSP/ltib-mpc8315erdb-20080630/rpm/BUILD/linux-2.6.24'
> > > /usr/bin/gcc -o
> > > /home/bob/BSP/ltib-mpc8315erdb-20080630/rpm/BUILD/zaptel-1.4.11/
> > > kernel/makef
> > > w
> > > /home/bob/BSP/ltib-mpc8315erdb-20080630/rpm/BUILD/zaptel-1.4.11/
> > > kernel/makef
> > > w.c
> > > /tmp/ccipHt16.s: Assembler messages:
> > > /tmp/ccipHt16.s:25: Error: Unrecognized opcode: `leal'
> > > /tmp/ccipHt16.s:26: Error: Unrecognized opcode: `andl'
> > > /tmp/ccipHt16.s:27: Error: Unrecognized opcode: `pushl'
> > > /tmp/ccipHt16.s:28: Error: Unrecognized opcode: `pushl'
> > > /tmp/ccipHt16.s:29: Error: Unrecognized opcode: `movl'
> > >
> > >
> > > Did you ever get some hardware to try this on?
> > >
> > > Thanks
> > >
> > > Bob Conklin
> > > Rhino Equipment Corp.
> > > address@hidden
> > > Tel: +1 (480) 621-4014 Direct Dial
> > > +1 (480) 621-4000, +1 (877) RHINO-T1, Ext. 6353
> > > FAX: +1 (480) 961-1826
> > > IP: asterisk.rhinoequipment.com x6353
> > > FWD: 633686 x6353
> > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
> > > PROPRIETARY
> > > MATERIAL and is thus for use only by the intended recipient. If you
> > > received this in error, please contact the sender and delete the
> > > email
> > > and its attachments from all computers.
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > LTIB home page: http://bitshrine.org
> >
> > Ltib mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/ltib
> >
>
>
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
>