Erez Strauss - 2009-03-17


I'm trying to build version 1.41.4 on cygwin or mingw and fail with error on

/cygdrive/c/pkgs-build/e2fsprogs-1.41.4/misc/mke2fs.c:1451: undefined reference to `_ext2fs_get_device_size2'
collect2: ld returned 1 exit status
make[2]: *** [mke2fs] Error 1
make[2]: Leaving directory `/cygdrive/c/pkgs-build/e2fsprogs-1.41.4/misc'

Any help on the above, will be appreciated.

if I comment that section in the code, it compiles, but then I face problem with specifying the correct device name.

mingw would expect \\.\PhysicalDevice1
cygwin would expect /dev/sdb1

I failed to assigned a letter drive, as the diskmanager show no healthy filesystem.

It seems that I mixed the mingw and the cygwin environments, but for mingw only environment I need the correct makefile, without running configure script.

Does anyone on this list, have experience on how to run mke2fs on windows, and/or compile it on mingw environment ?

Thanks for your help,