|
From: | Estevam Fabio |
Subject: | RE: [Ltib] Porting asterisk to ltib |
Date: | Wed, 16 Jul 2008 12:37:07 -0300 |
Vadim,
Which OS do you have in your host? I remember that I have
had this same error in Ubuntu and the fix for this was to create a symlink to
/bin/sh as Ubuntu used a different shell. Please take a look at this
thread:
Also, there is a more recent MX27 BSP version which is
ltib-imx27ads-20071219:
Regards,
Fabio Estevam
From: address@hidden [mailto:address@hidden On Behalf Of Vadim Lebedev Sent: Wednesday, July 16, 2008 11:55 AM To: Hughes Stuart; ltibext Subject: Re: [Ltib] Porting asterisk to ltib It could be good to put this into the FAQ as i've was able to discover it only by reading ltib sources. I've a new problem however, i'm trying to do ./ltib -p kernel The config phase is ok but then i get following ================ + make ARCH=arm CROSS_COMPILE= HOSTCC=/usr/bin/gcc -B/usr/bin// zImage scripts/kconfig/conf -s arch/arm/Kconfig CHK include/linux/version.h SYMLINK include/asm-arm/arch -> include/asm-arm/arch-mxc make[1]: `include/asm-arm/mach-types.h' is up to date. CHK include/linux/utsrelease.h CC arch/arm/kernel/asm-offsets.s /bin/sh: Can't open gcc make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 2 make: *** [prepare0] Error 2 error: Bad exit status from /home/vadim/ltib/ltib-imx27ads-20070522/tmp/rpm-tmp.93573 (%build) RPM build errors: Bad exit status from /home/vadim/ltib/ltib-imx27ads-20070522/tmp/rpm-tmp.93573 (%build) Build time for kernel-2.6.19-mx: 1 seconds Failed building kernel-2.6.19-mx f_buildrpms() returned an error, exiting Started: Wed Jul 16 16:40:28 2008 Ended: Wed Jul 16 16:40:29 2008 Elapsed: 1 seconds These packages failed to build: kernel-2.6.19-mx Build Failed Exiting on error or interrupt ====================== Any Ideas? Thanks Vadim P.S. i'm attaching the ./config/platform/imx27ads/defconfig.dev for reference Stuart Hughes wrote: Hi Vadim You need to say: $ ./ltib -m prep -p zaptel.spec Until the package has been added to pkg_map and packages.lkc you're spec file name needs to be explicit. Regards, Stuart On Wed, 2008-07-16 at 15:03 +0200, Vadim Lebedev wrote:Stuart, Thanks a lot for clarifictaions. I've stumbled on a problem: I've folowed the Faq on: How can I add a completely new package to the root filesystem until step 5 where i need to execute ./ltib -m prep -p zaptel And i get following: Cannot find spec file that contains the package name zaptel. If necessary please give the whole spec file name (with the .spec extension). Exiting on error or interrupt |
[Prev in Thread] | Current Thread | [Next in Thread] |