Пытаюсь собрать КФС используя buildroot-2009.08 Использую ubuntu 12.04 x32 При сборке получаю вот такую ошибку #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
Вот вывод консоли:
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc -Os -pipe -Os -I/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include -I/home/v4x32/buildroot-2009.08/build_arm/staging_dir/include --sysroot=/home/v4x32/buildroot-2009.08/build_arm/staging_dir/ -isysroot /home/v4x32/buildroot-2009.08/build_arm/staging_dir -mtune=arm920t -march=armv4t -mabi=aapcs-linux -msoft-float -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7.7\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -c -o logrotate.o logrotate.c
In file included from /home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/sys/cdefs.h:25,
from /home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/sys/queue.h:36,
from logrotate.c:1:
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/features.h:416:4: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/stdio.h:72,
from /home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/popt.h:12,
from logrotate.c:7:
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/bits/uClibc_stdio.h:61:2: error: #error Sorry... uClibc was built without large file support!
In file included from /home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/popt.h:12,
from logrotate.c:7:
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/stdio.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/stdio.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos64_t'
In file included from /home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/popt.h:12,
from logrotate.c:7:
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/stdio.h:714: error: expected declaration specifiers or '...' before 'fpos_t'
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/stdio.h:716: error: expected ';', ',' or ')' before '*' token
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/stdio.h:728: error: expected declaration specifiers or '...' before 'fpos64_t'
/home/v4x32/buildroot-2009.08/build_arm/staging_dir/usr/include/stdio.h:729: error: expected ';', ',' or ')' before '*' token
make[1]: *** [logrotate.o] Ошибка 1
make[1]: Выход из каталога `/home/v4x32/buildroot-2009.08/build_arm/logrotate-3.7.7'
make: *** [/home/v4x32/buildroot-2009.08/build_arm/logrotate-3.7.7/logrotate] Ошибка 2
Я в использовании линукса совсем зелёный, поэтому не имею ни малейшего представления как заставить его работать. Сразу скажу, что поддержка 64 битной архитектуры меня не интересует. Помогите пожалуйста разобраться