[BusyBox] Compilation error : arm, gcc-3.3.4, uclibc

Jean-Philippe Francois jp.francois at cynove.com
Thu Oct 14 15:06:23 UTC 2004


Hello,

Here is the output I have when compiling coreutils/date.c:

/opt/arm/arm-9tdmi-linux-gnu/gcc-3.3.4-uclibc/bin/arm-uclibc-gcc
-I./include -Wall -Wstrict-prototypes -Wshadow -Os -fstrict-aliasing
-fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG     -c -o coreutils/date.o
coreutils/date.c
coreutils/date.c: In function `date_conv_ftime':
coreutils/date.c:80: error: assignment of read-only variable `t'
coreutils/date.c:84: error: assignment of read-only variable `t'
coreutils/date.c:88: error: assignment of read-only variable `t'
coreutils/date.c:94: error: assignment of read-only variable `t'
coreutils/date.c:99: error: assignment of read-only variable `t'
coreutils/date.c:105: error: assignment of read-only variable `t'
coreutils/date.c:113: error: assignment of read-only location

uclibc is version 0.9.20, and busybox is version 1.0-pre2,
toolchain was built using crosstool 0.28

Compilation is ok when using the glibc toolchain.

Is it a known problem ? What exactly does this error message mean ?

Thank you for any hint.

JP Francois




More information about the busybox mailing list