LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 02-03-2010, 04:19 AM   #1
dont_stop_me
Member
 
Registered: Sep 2005
Location: Romania
Distribution: Slackware 12
Posts: 42

Rep: Reputation: 15
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
 
  


Reply

Tags
compile, file, firmware, support, uclibc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on install:GLIBC_2.0 not defined fordown Linux - Software 7 04-02-2009 05:28 AM
kfloppy error: device not correctly defined Chuckinator Linux - Software 0 12-20-2005 06:03 PM
Used but not defined as type error ChemicalBurn Programming 2 05-24-2005 08:04 AM
Error on install:GLIBC_2.0 not defined fordown Linux - Software 2 09-20-2004 12:42 AM
You have not defined root partition .. RH9 install error poison5151 Linux - Software 3 01-28-2004 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration