Forum Discussion

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

Linux for Nios: flush_dcache_page undefined error

I am running make after using gconfig to enable MTD and JFFS2 support in the kernel, and MTD utilities in the user space. Followed the directions in section 4.4.3 of the Opensource_NiosII_Linux_User_Guide.

When make is run I get the following error

ERROR: "flush_dcache_page" [fs/jffs2/jffs2.ko] undefined!

make[3]: *** [__modpost] Error 1

make[2]: *** [modules] Error 2

make[2]: *** Waiting for unfinished jobs....

UIMAGE arch/nios2/boot/vmImage

Image Name: Linux-2.6.30-00494-g84a224b

Created: Wed Nov 11 16:56:17 2009

Image Type: NIOS II Linux Kernel Image (gzip compressed)

Thought would be appreciated.

Thanks

2 Replies

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

    It was a missing export of symbol.

    Please don't build as modules. Modules doesn't work yet. Please change it to compile-in.

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

    With help from dwesterg I found that MTD support was selected with [M] (Module) instead of

    [*]. It was a dependancy of JFFS2 which was thus set to build as a module.

    Thanks

    Steven