|
From: | Stuart Hughes |
Subject: | Re: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils) |
Date: | Wed, 15 Jul 2009 14:23:05 +0100 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080707) |
Hi Mark,Are you sure you have the latest from Savannah CVS? the byteswap patch was remote from the host mtd-utils spec file. Can you check:
dist/lfs-5.1/mtd-utils/mtd-utils-20060302.spec It should only have at (the start) [snip] Summary : Memory Technology Device tools Name : mtd-utils Version : 20060302 Release : 2 License : GPL Vendor : Freescale Packager : Stuart Hughes Group : Applications/System Source : %{name}-%{version}.tar.bz2 Patch2 : mtd-utils-20060302-find_fs_entry.patch Patch3 : mtd-utils-20060302-eraseall.patch Patch4 : mtd-utils-20060302-eraseall_prog.patch BuildRoot : %{_tmppath}/%{name} Prefix : %{pfx} [snip]If that verifies. Can you verify that when it tries to build mtd-utils for the host you see:
Processing: u-boot-tools ========================== Processing: mtd-utils-20060302 .... Regards, Stuart Mark Craske wrote:
I tried to install the latest litb (from CVS) onto Mandriva 2009.1 It failed: gcc -I../include -O2 -Wall -g -c -o ftl_format.o ftl_format.c -g -Wp,-MD,.ftl_format.c.dep 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." make: *** [ftl_format.o] Error 1 make: Leaving directory `/opt/ltib/usr/src/rpm/BUILD/mtd/util' ... Failed building mtd-utils Died at ./ltib line 1251. traceback: main::build_host_rpms:1251 main::host_checks:1305 main:480 This failure is the same as reported on Fedora FC10. It seems to be caused by the mtd-utils build including its own ../include/bits/byteswap.h instead of the correct /usr/include/bits/byteswap.h that also checks whether _ENDIAN_H is defined before reporting the error. M Craske
[Prev in Thread] | Current Thread | [Next in Thread] |