[BusyBox] e2fsprogs can't compile under mipsel cross-compilation toolchain

Mike Frysinger vapier at gentoo.org
Tue Jun 28 13:10:24 UTC 2005


On Monday 27 June 2005 11:00 pm, Wei-Che, Hsu wrote:
> Binutil 2.14
> Glibc 2.3.2
> Gcc 3.2.3
> -
> Traget is mipsel

built fine for me with a mipsel toolchain:
binutils-2.16.1 / gcc-3.4.4 / uclibc-0.9.27

> The error message is
> --
> /opt/CrossCompile/mipsel-binutils-2.14-glibc-2.3.2-gcc-3.2.3/root/bin/mipse
>l -linux-gcc -I/home/responder/NAS/build/busybox/include
> -I/home/responder/NAS/build/busybox/include
> -I/home/responder/NAS/build/busybox/libbb -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes
> -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG
> -I/home/responder/NAS/build/busybox/e2fsprogs/ -include
> /home/responder/NAS/build/busybox/e2fsprogs/e2fsbb.h -c -o
> /home/responder/NAS/build/busybox/e2fsprogs/blkid/llseek.o
> /home/responder/NAS/build/busybox/e2fsprogs/blkid/llseek.c
> /home/responder/NAS/build/busybox/e2fsprogs/blkid/llseek.c:61: syntax error
> before "_llseek"

if you edit llseek.c and put this at the top, does it work ?
#define HAVE_LlSEEK
-mike



More information about the busybox mailing list