[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Failure to build pkgconfig on LPC32xx Target
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Failure to build pkgconfig on LPC32xx Target |
Date: |
Tue, 27 Jul 2010 18:59:02 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Kevin,
pkgconfig probably could be made to cross compile, it's just one of
those unfortunate cases which didn't get tests. In general most things
cross compile.
Regards, Stuart
Kevin Wells wrote:
> Hi Quentin & Tim,
>
>
>
> I think Stuart said the pkgconfig package in LTIB was meant for the host
> system. That being said, it won’t easily cross compile
>
> (and the errors I saw were related to cross compilation in the glb
> configure script used by pkgconfig).
>
>
>
> You should update from CVS. It will get you the latest specs which will
> pull the latest patches. If you really don’t want to update,
>
> you can pull full patches directly from ftp://ftp.lpclinux.com/ , but
> you’ll need to apply them to the source tree yourself.
>
>
>
> As an FYI, not every package in the package menu will compile on an ARM
> platform. And some packages (ie, microwindows)
>
> need some additional changes to work. This applies to any board.
>
>
>
> thanks,
>
> Kevin
>
>
>
>
>
>
>
> *Cc:* ltib
> *Subject:* Re: [Ltib] Failure to build pkgconfig on LPC32xx Target
>
>
>
> Hi Tim,
>
> Are you saying the latest LTIB release from CVS failed to build Linux
> image for Phytec 3250 board. (Phytec LPC32xx) ?
>
> In that case, I'll avoid updating my local LTIB installation.
>
> I've successfully built Linux image for Phytec 3250 board.
> ( previous kernel 2.6.27.8 and most recent kernel 2.6.34 both passed the
> LTIB build.
> I am using Fedora 9 with 2.6.27.25 kernel
> address@hidden ~]$ uname -r
> 2.6.27.25-78.2.56.fc9.i686
> )
>
> Let me know if you need any assistance.
> I can send u the kernel_pre_config and Phytec_Board_Make_config I used.
>
> Also, please make sure to run
> address@hidden ltib-qs]$./ltib -m distclean
> address@hidden ltib-qs]$./ltib --config
> if you want to do another build from scratch.
>
>
> Regards,
> Quentin
>
>
>
> On Tue, Jul 27, 2010 at 5:06 AM, Stuart Hughes <address@hidden
> <mailto:address@hidden>> wrote:
>
> Hi Tim,
>
> It's a bug in the package build rules, or at least it's incomplete. I'd
> not tested this before except for building as a host tool. Clearly it
> needs some TLC. Unfortunately I don't have time to do this right now.
> Maybe you could try to fix it and submit back a patch. Often what is
> needed in a case like this is to pre-supply the answer to configure with
> the appropriate symbol (you need to look into configure). There
> examples in other .spec files along the lines of:
>
> ac_cv_xxx_xxx=y ./configure .....
>
> Regards, Stuart
>
>
>
> Tim Nelson wrote:
>> As noted in an earlier post, I'm attempting to get LTIB working on a
> Phytec board with the LPC3205 SoC. The latest build was stopped with the
> relevant last lines of output below:
>>
>> ---BEGIN---
>> checking for extra flags to get ANSI library prototypes... configure:
> error: cannot run test program while cross compiling
>> See `config.log' for more details.
>> configure: error: /bin/sh './configure' failed for glib-1.2.8
>> error: Bad exit status from /usr/src/ltib/tmp/rpm-tmp.19931 (%build)
>>
>>
>> RPM build errors:
>> Bad exit status from /usr/src/ltib/tmp/rpm-tmp.19931 (%build)
>> Build time for pkgconfig: 53 seconds
>>
>> Failed building pkgconfig
>>
>>
>> f_buildrpms() returned an error, exiting
>> traceback:
>> main:567
>>
>>
>> Started: Mon Jul 26 09:06:32 2010
>> Ended: Mon Jul 26 09:09:31 2010
>> Elapsed: 179 seconds
>>
>> VERSION : 10.1.1
>> CVS_VERSION : $Revision: 1.68 $ (Savannah)
>> PLATFORM : phy3250
>> GNUTARCH : arm
>> TOOLCHAIN : tc-fsl-x86lnx-armeabi-nptl-4.1.2-3.i386.rpm
>> TOOLCHAIN_CFLAGS : -O2 -fsigned-char -mfloat-abi=softfp -mfpu=vfp
>>
>> These packages failed to build:
>> pkgconfig
>>
>> Build Failed
>>
>> Exiting on error or interrupt
>> ---END---
>>
>> Any thoughts?
>>
>> --Tim
>>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden <mailto:address@hidden>
> http://lists.nongnu.org/mailman/listinfo/ltib
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib