It's building now on OpenSUSE-11.2. For reference, these are essentially the 
steps I took:


1) If you've already installed & built it, wipe it all and start again:
./ltib –m distclean
sudo rm -rf /opt/freescale
sudo rm -rf /tmp/rpm*
rm -rf <install dir>

2) (re)install:

3) <install dir>/dist/lfs-5.1/rpm/rpm-fs.spec - add this after line 112:
cp rpmopt-4.0.4 rpmopt

<install dir>/pkgs/mtd-utils-20060302-cf-byteswap_h-1.patch - change these 
lines:

+#if !defined _BYTESWAP_H && !defined _NETINET_IN_H
+# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
+#endif


to

+//#if !defined _BYTESWAP_H && !defined _NETINET_IN_H
+//# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
+//#endif

run md5sum mtd-utils-20060302-cf-byteswap_h-1.patch
and update mtd-utils-20060302-cf-byteswap_h-1.patch.md5 with the new md5sum

4) build it:
./ltib
and / or
.ltib --configure

I've yet to prove the created binaries are any good ;-)

Thanks to Mike Goins for his help, and also the postings on 
https://community.freescale.com/welcome


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to