[uClinux-dev] hard disk, e2fsprogs on M5249C3

David McCullough davidm at snapgear.com
Wed Mar 19 11:54:28 EST 2003


Jivin Heiko Degenhardt lays it down ...
> Question 2: Do I have to worry about this "unknown partition table"
> error if fdisk finally seems to find the partitions quiet well?
> 
> Question 3: I would like to use the e2fsprogs (at least mke2fs and
> e2fsck) on the target, because allways transfering the disk to a pc
> to create/check the fs seems to be a bit - aehem - inconvenient ;).
> But if I set 
> 
> CONFIG_USER_E2FSPROGS_E2FSCK_E2FSCK=y
> CONFIG_USER_E2FSPROGS_MISC_MKE2FS=y
> 
> in config/.config I get:
> 
> e2fsck.elf2flt: In function `init_resource_track':
> /home/hede/uClinux/uClinux-dist-20030305/user/e2fsprogs/e2fsck/util.c:216:
> undefined reference to `sbrk'
> 
> I've seen in the archive that there was an issue with that, but I
> couldn't find the solution. May be I have to set something else too
> in the "User/Vendor Settings"? Or has it to do with uClibc, as the
> old thread in the archive seems to indicate?
> 
> In Documentation/ColdFire-HOWTO I read that for this board it should
> work.

Which uClinux-dist are you using ?  uClibc used to be missing the sbrk
call but it should be fixed in the latest dist (not tested though, YMMV),

Otherwise,  as Richard said, try uC-libc,

Cheers,
Davidm

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm at snapgear.com  Fx: +61 7 3891 3630  Custom Embedded Solutions + Security



More information about the uClinux-dev mailing list