[fpc-pascal] Re: Building (linux) kernel modules using fpc (for fun)

Lukasz Sokol el.es.cr at gmail.com
Sat Jan 15 20:40:52 CET 2011


Lukasz Sokol <el.es.cr at ...> writes:

ah and sorry some clarifications :
- i posted using gmane web interface that forces me to wrap lines at 80 chars
manually 
- what happens after: if I tell my system to
sudo insmod kernel_pmodule

results in

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

in dmesg

(i.e. the same that the modpost was warning about) and the module is not loaded)

Thanks for your attention,
Lukasz
(yes this is for fun :) 








More information about the fpc-pascal mailing list