<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Rapahel,<br>
<br>
The corrent ltib contains my port of zaptel....<br>
Maybe you can take an insipiration from it<br>
<br>
<br>
Thanks<br>
Vadim<br>
<br>
Raphael Amorim wrote:
<blockquote
cite="mid:c96665f10909210806vbd2d0bbs34c714c99f71d0f3@mail.gmail.com"
type="cite">Hello all,<br>
<br>
I'm trying to cross-compile dahdi-linux on PPC (mpc8315erdb),<br>
I'd included it to LTIB and I'm getting the following error:<br>
<br>
sources=dahdi-linux-2.2.0.2.
<div>tar.gz<br>
<br>
pkg_dir_name=dahdi-linux-2.2.0.2<br>
patches=<br>
prefix=/opt/freescale/rootfs/i386<br>
vendor=Digium<br>
Build path taken because: build key set, no prebuilt rpm,<br>
<br>
rpmbuild --dbpath<br>
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rootfs//var/lib/rpm<br>
--target ppc --define '_unpackaged_files_terminate_build 0' --define<br>
'_target_cpu ppc' --define '__strip strip' --define '_topdir<br>
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm' --define<br>
'_prefix /usr' --define '_tmppath<br>
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/tmp' --define<br>
'_mandir /usr/share/man' --define '_sysconfdir /etc' --define<br>
'_localstatedir /var' -bc --short-circuit<br>
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/dist/lfs-5.1/dahdi-linux/dahdi-linux.spec<br>
Building target platforms: ppc<br>
Building for target ppc<br>
Executing(%build): /bin/sh -e<br>
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/tmp/rpm-tmp.58943<br>
+ umask 022<br>
+ cd
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm/BUILD<br>
+ cd dahdi-linux-2.2.0.2<br>
+ make<br>
make -C drivers/dahdi/firmware firmware-loaders<br>
make[1]: Entering directory<br>
`/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/firmware'<br>
make[1]: Leaving directory<br>
`/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/firmware'<br>
make -C /lib/modules/2.6.28-15-generic/build<br>
SUBDIRS=/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi<br>
DAHDI_INCLUDE=/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm/BUILD/dahdi-linux-2.2.0.2/include<br>
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m<br>
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-15-generic'<br>
CC [M]<br>
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/dahdi-base.o<br>
cc1: error: unrecognized command line option "-mregparm=3"<br>
cc1: error: unrecognized command line option "-march=i586"<br>
make[2]: ***<br>
[/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi/dahdi-base.o]<br>
Error 1<br>
make[1]: ***<br>
[_module_/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/rpm/BUILD/dahdi-linux-2.2.0.2/drivers/dahdi]<br>
Error 2<br>
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'<br>
make: *** [modules] Error 2<br>
error: Bad exit status from<br>
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/tmp/rpm-tmp.58943<br>
(%build)<br>
<br>
<br>
RPM build errors:<br>
Bad exit status from<br>
/home/raphael/devel/atmx/implementacao/motherboard/fw/ltib/tmp/rpm-tmp.58943<br>
(%build)<br>
Build time for dahdi-linux: 0 seconds<br>
<br>
Failed building dahdi-linux<br>
<br>
<br>
f_scbuild() returned an error, exiting<br>
traceback:<br>
main:501<br>
<br>
Exiting on error or interrupt<br>
<br>
<br>
Any tricks or hints?</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>--
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: <a class="moz-txt-link-freetext" href="http://www.astricon.net">http://www.astricon.net</a>
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></pre>
</blockquote>
<br>
</body>
</html>