error while compiling module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
   I am following the book LDD3 by rubini.I implemented scull driver
similar to the scull device that is given in the book.First i wrote
minimal functions read,write,open,release,llseek
And while compiling the modules i am getting the error that


Building modules, stage 2.
  MODPOST
*** Warning:
"__divdi3" [/home/nagaraj/others/Backup-Progs/Device-Drivers/charDrivers-rubini/scull/scull_1.ko] undefined!
*** Warning:
"__moddi3" [/home/nagaraj/others/Backup-Progs/Device-Drivers/charDrivers-rubini/scull/scull_1.ko] undefined!

CC      /home/nagaraj/others/Backup-Progs/Device-Drivers/charDrivers-rubini/scull/scull_1.mod.o
  LD
[M]  /home/nagaraj/others/Backup-Progs/Device-Drivers/charDrivers-rubini/scull/scull_1.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'

will you please help why it came.
thanks in advance.
raja


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux