On Mon, 5 Mar 2018 16:49:24 +0530 Srishti Sharma <srishtishar@xxxxxxxxx> wrote: > Hello, > I was trying to work with the iio dummy driver, and when I try to load > the iio_dummy_evgen.ko module I am getting unknown symbols found in > module error on running modprobe. > > These variables are unknown > iio_bus_type > irq_sim_init > irq_sim_fini > irq_sim_fire > irq_sim_fini > > All of these variables are present in the Module.symvers file in the > /lib/modules/<kernel version>/build directory. The kernel and the > modules versions match. I ran make clean, make, and make > modules_install before trying to load them. I am unable to figure out > the problem. Where I might be going wrong any ideas ? The required functions are built into the kernel - there is no option to build them as a module. As such you'd need to also install the kernel image in order to be able to probe the module. The selected to be built when the dummy_evgen module is configured to be built. Jonathan > > Thanks, > Srishti > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html