ltib
[Top][All Lists]
Advanced

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

[Ltib] Installation problems with Mandriva 2009.1 (mtd-utils)


From: Mark Craske
Subject: [Ltib] Installation problems with Mandriva 2009.1 (mtd-utils)
Date: Wed, 15 Jul 2009 11:37:34 +0100

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





reply via email to

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