On 15 Jan 2011, at 20:40, Lukasz Sokol wrote:

> insmod: error inserting 'kernel_pmodule.ko': -1 Unknown symbol in module
> 
> and 
> 
> [16646.934537] kernel_pmodule: Unknown symbol unregister_chrdev
> [16646.934835] kernel_pmodule: Unknown symbol proc_root
> [16646.935174] kernel_pmodule: Unknown symbol register_chrdev

Since the Linux kernel breaks ABI compatibility on purpose all the time, any 
source code example of a kernel module is probably only going to to work with a 
few kernel versions. E.g., in the current kernel register_chrdev() is a "static 
inline" function, which means that it does not exist as a separate 
function/symbol inside the final compiled kernel.


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to