Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

ext2fs build error

Altera_Forum
Honored Contributor II
1,115 Views

Custom board derived from Altera High Speed board with 16MB FLASH, 16MB SDRAM (for kernel and root fs), and 512MB DDR2 SDRAM for large vector file storage in pattern generator application. 

 

Need to mount an ext2fs on ramdisks in DDR2, but get build error when ext2fs file applications are added to configuration. ext2fs support is enabled in kernel. 

 

Kernel is uClinux-dist from wiki, with patch (applied only once) and compiled with binary toolchain on RedHat EW V4 machine specific for this project. 

 

Specific error: 

 

In function `init_resource_track': 

.../user/e2fsprogs/e2fsck/util.c:217 undefined reference to `sbrk' 

 

another undefined reference to `sbrk', and 

 

In function `ext2fs_llseek': 

.../user/e2fsprogs/lib/ext2fs/llseek.c:102: undefined reference to `llseek' 

 

 

I'm a hardware guy, and I have battled many many problems along the way to getting an embedded user interface running as a cgi application served up by fnord. Please let me know what the process for working around kernel build errors. Thank you.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
360 Views

I checked those ext2 user apps with the latest uClinux-dist-20070130 release. It compiled without problem.

0 Kudos
Reply