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++
12604 Discussions

Linux for Nios: flush_dcache_page undefined error

Altera_Forum
Honored Contributor II
1,104 Views

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
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
385 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
386 Views

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
0 Kudos
Reply