[BusyBox] hdparm and byteorder.h
Stuart Hughes
stuarth at freescale.com
Mon Feb 28 17:15:24 UTC 2005
Hi everyone,
I'm trying to build busybox-1.00 with hdparm enabled for a powerpc
target. The toolchaim I'm using is gcc-3.4.3/glibc-2.3.3, which
includes linux-2.6.9 kernel headers.
This fails, and it seems to be due to __le64 not being defined. because
this is withing the __KERNEL_STRICT_NAMES in linux/types.h
Has anyone else run into this? The begining of the error output is:
/opt/mtwk/usr/local/powerpc-linux-gnuspe/gcc-3.4.3-e500-glibc-2.3.3-spe/bin/powerpc-linux-gnuspe-gcc
-I/home/seh/ltib/rpm/BUILD/busybox-1.00/include
-I/home/seh/ltib/rpm/BUILD/busybox-1.00/include
-I/home/seh/ltib/rpm/BUILD/busybox-1.00/libbb -Wall -Wstrict-prototypes
-Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG -c -o
/home/seh/ltib/rpm/BUILD/busybox-1.00/miscutils/hdparm.o
/home/seh/ltib/rpm/BUILD/busybox-1.00/miscutils/hdparm.c
In file included from
/opt/mtwk/usr/local/powerpc-linux-gnuspe/gcc-3.4.3-e500-glibc-2.3.3-spe/lib/gcc/powerpc-linux-gnuspe/3.4.3/../../../../powerpc-linux-gnuspe/sys-include/asm/byteorder.h:74,
from
/home/seh/ltib/rpm/BUILD/busybox-1.00/miscutils/hdparm.c:48:
/opt/mtwk/usr/local/powerpc-linux-gnuspe/gcc-3.4.3-e500-glibc-2.3.3-spe/lib/gcc/powerpc-linux-gnuspe/3.4.3/../../../../powerpc-linux-gnuspe/sys-include/linux/byteorder/big_endian.h:43:
error: parse error before "__cpu_to_le64p"
Regards, Stuart
More information about the busybox
mailing list