ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Ltib Build Question


From: Stuart Hughes
Subject: Re: [Ltib] Ltib Build Question
Date: Tue, 13 Apr 2010 09:46:25 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Mike/Juliano,

It's probably better to leave the toolchain alone and put it back to its
original form.

I checked into this and the issue is due to a patch that needed an
update.  I've now replaced:

mtd-utils-20060302-cf-byteswap_h-1.patch
with:
mtd-utils-cf-byteswap_h.patch

This is used to work around a known faulty toolchain for 68k platforms.
 It needed updating to work on later distros (an extra condition was
needed in the test for "Never use <bits/byteswap.h> directly" test.

If you pull the latest from CVS, remove the failed build from
/opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils* and re-run it should
work.  If it's not practical to do that (you're using an ISO).  Edit
dist/lfs-5.1/mtd-utils/mtd-utils.spec and change patch1 from
mtd-utils-20060302-cf-byteswap_h-1.patch to mtd-utils-cf-byteswap_h.patch

Regards, Stuart

Mike Goins wrote:
>> In file included from /usr/include/endian.h:61,
>>                  from /usr/include/sys/types.h:217,
>>                  from ftl_format.c:38:
>> ../include/bits/byteswap.h:21:3: error: #error "Never use <bits/byteswap.h>
>> directly; include <byteswap.h> instead."
> 
> 
> I had the same error when I switched from from an older CodeSourcery
> PPC toolchain to the newest.  I just edited the header file in the
> toolchain to do just what it said.
> 
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]