On Thu, Oct 11, 2001 at 01:36:24PM +0200, Lena Svedlund (MIC) wrote:
> The problem is that on the Linux PC everything (open,close,read,write) works just 
>fine but when we try to run it on the ARM integrator (after cross-compiling and 
>insmod -f test.o) the driver can only be opened and closed. 
> It looks like it has problems finding the file_operation functions. 
> Could it have something to do with the include files or where (in what folder) we 
>have put our codes? Now we have put the files(.c, .h and our test function) under 
>lib/modules/2.4.0-test11-rmk1-arm4/kernel/drivers/char.

You need to use the _same_ header files as the kernel you're going to run
the module with when building the modules.  Some other random kernel
version is not good enough.

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to