Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

adding jfs_utils

I've read all sorts of posts, but still have been unsuccessful getting jfs_fsck integrated into my uClinux for my Cyclone II Dev board.

My last attempt has been:

1. got the jfsutils tar file - added it to nios2-linux/uClinux-dist/user/jfsutils-1.1.14

2. cd to the jfsutils-1.1.14 directory

LDFLAGS="-elf2flt" ./configure --host=nios2-linux-uclibc --disable-shared --prefix=/opt/nios2

The configure output is LONG but at the beginning I get

configure: WARNING: unrecognized options: --disable-shared

configure: WARNING: If you wanted to set the --build type, don't use --host.

If a cross compiler is detected then cross compile mode will be used.

AND AT THE END I GET ---

configure: error: 'Install e2fsprogs-libs e2fsprogs-devel or uuid-dev'

Can anyone steer me in the right direction?

Thanks in advance.

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    O.K - now I get the following at the end of the "make"

    *********************************************************

    checking for sys/disklabel.h... no

    checking uuid/uuid.h usability... no

    checking uuid/uuid.h presence... no

    checking for uuid/uuid.h... no

    configure: error: 'Install e2fsprogs-libs e2fsprogs-devel or uuid-dev'

    make[3]: *** [build-jfsutils-1.1.14/Makefile] Error 1

    make[3]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/jfsutils'

    make[2]: *** [jfsutils] Error 2

    make[2]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user'

    make[1]: *** [all] Error 2

    make[1]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user'

    make: *** [subdirs] Error 1

    [janet@localhost uClinux-dist]$

    ************************************

    So I'm assuming I need the

    "e2fsprogs-libs" "e2fsprogs-devel" OR "uuid-dev" libraries ? Or do I need the "uuid.h" header file accessable ??