LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   firmware build error edimax br-6215SRG, It appears you have defined _FILE_OFFSET_BIT (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/firmware-build-error-edimax-br-6215srg-it-appears-you-have-defined-_file_offset_bit-786625/)

dont_stop_me 02-03-2010 04:19 AM

firmware build error edimax br-6215SRG, It appears you have defined _FILE_OFFSET_BIT
 
Hi,
I tried to build the original firmware of an EDIMAX br-6215SRG router
downloaded from the following page:

http://www.edimax.com/en/produce_det...id=3&pl2_id=21


after reading the README file and following instruction i got the following error message:

Code:


******************** Compiling busybox-1.00-pre2 ********************

make: Nothing to be done for `dep'.
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/bin/i386-uclibc-gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG -D_RDC3210_    -c -o applets/applets.o applets/applets.c
In file included from /opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/unistd.h:26,
                from applets/applets.c:28:
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/features.h:346:2: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/stdio.h:67,
                from applets/applets.c:29:
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/bits/uClibc_stdio.h:63:2: #error Sorry... uClibc was built without large file support!
In file included from applets/applets.c:29:
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/stdio.h:77: error: parse error before "fpos_t"
In file included from applets/applets.c:29:
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/stdio.h:507: error: parse error before "fpos_t"
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/stdio.h:510: error: parse error before '*' token
make: *** [applets/applets.o] Error 1
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/bin/i386-uclibc-gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG -D_RDC3210_    -c -o applets/applets.o applets/applets.c
In file included from /opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/unistd.h:26,
                from applets/applets.c:28:
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/features.h:346:2: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/stdio.h:67,
                from applets/applets.c:29:
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/bits/uClibc_stdio.h:63:2: #error Sorry... uClibc was built without large file support!
In file included from applets/applets.c:29:
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/stdio.h:77: error: parse error before "fpos_t"
In file included from applets/applets.c:29:
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/stdio.h:507: error: parse error before "fpos_t"
/opt/crosstool/gcc-3.3.1-glibc-2.3.2/i386-linux-uclibc/include/stdio.h:510: error: parse error before '*' token
make: *** [applets/applets.o] Error 1

******************** compile ERROR in busybox-1.00-pre2 !! ********************

I only wanted to try to compile it to see if it works before I started tampering with it. (For starters ssh wouldn't be that bad)

Any ideas to make it work? Please help me if you can, you would make a linux fan even more fanatic :D


All times are GMT -5. The time now is 02:47 AM.