[uClibc]Problems compiling e2fsprogs-1.27

Felix Radensky felix at allot.com
Wed Jul 24 16:35:24 UTC 2002


Hi,

I have problems compiling  e2fsprogs-1.27 for i386
with uClibc-0.9.12 and the latest uClibc snapshot.

The unmodified e2fsprogs code compilation fails
on  undefined reference to syscall (even with uClibc
configured with UNIFIED_SYSCALL = true).

I've followed the suggestion on the mailing list
to patch  lib/ex2fs/llseek.c to use  _llseek instead
of syscall, but then compilation of llseek.c fails :

llseek.c: In function `_llseek':
llseek.c:66: Invalid `asm' statement:
llseek.c:66: fixed or forbidden register 3 (bx) was spilled for class BREG.

My kernel is 2.2.19, I use gcc-2.95.3 and binutils 2.11.90.0.19

The modified llseek file attached.

Please help.

Thanks.

Felix.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: llseek.c
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20020724/fe77a23f/attachment.diff 


More information about the uClibc mailing list