[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] hdparm and byteorder.h
From:       Stuart Hughes <stuarth () freescale ! com>
Date:       2005-02-28 17:15:24
Message-ID: 422351AC.7080609 () freescale ! com
[Download RAW message or body]

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/powerp \
c-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/powerp \
c-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



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic