Unresolved symbol __divdi3 in module

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

 



Hi,

When inserting my module,insmod says:

"Unresolved symbol __divdi3"

__divdi3 is defined on archs like sparc,ia64 etc but not on 
i386. I understand that its some sort of gcc bug for long
divisions, where gcc calls __divdi3 lib function. So one 
solution would be to replace all long divisions with right
shifts, but this is not practical in my module since there
are many such divisions.

Is there any workaround or solution to this problem ?

Thanks in advance,
Swapnil.



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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