A problem of module driver compiling


I’m working on Beaglebone Black 3.8.13-bone72, and developing ADC driver. Actually it’s a module driver. It worked before and I can use insmod to install driver. But today, I added a new function in my driver with printk for printing, and then compiled it. The driver cannot be installed any more. When I use modinfo to see its info, it diplays below:

root@beaglebone:~# modinfo ad1299.ko
filename: /root/ad1299.ko
modinfo: …/libkmod/libkmod-elf.c:207: elf_get_mem: Assertion `offset < elf->size’ failed.