问题
I am writing parallel LED board driver, .ko is successfully generated.
I am facing this issue
[63722.594233] led: Unknown symbol parport_register_device (err 0)
[63722.594264] led: Unknown symbol parport_register_driver (err 0)
回答1:
parport_register_device
is exported in drivers/parport/share.c. So you have to load parport driver first (modprobe parport
) and then your driver.
来源:https://stackoverflow.com/questions/22954268/insmod-error-unknown-symbol-in-module