From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesus Molina To: ecos-discuss@sources.redhat.com Subject: [ECOS] compiling safl.c Date: Wed, 24 Jan 2001 13:34:00 -0000 Message-id: X-SW-Source: 2001-01/msg00414.html Hello, I am working with a strongARM ebsa285 board. kernel version 2.4.0-test10. I have problems compiling the flash drivers. These are the problems. Trying to compile safl.c the pointed modversions.h was a "fake" saying #error Modules should never use kernel-headers system headers #error but headers from an appropriate kernel-source file. I chanded the -f option of teh Makefile to a copy of modversions.h in the sources. Also when compiling vm_offset was not found. It seems that in 2.4.0, The vm_offset member of the vm_area_struct definition () seems to have been replaced with vm_pgoff. I replaced this, and finally i get my .o driver, but with a lot of warnings. and an unresolved symbol safl-scan, so I cannot install the module. When compiling, the exact error is: In function 'init-module': safl.c:200: warning: impllicit declaration of function 'safl_scan' Anybody knows why this symbol is unresolved? Regards, Jesus