Division involving u64 : undefined reference to __udivdi3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sukanto Ghosh
Date: Wednesday, February 4, 2009 - 9:28 pm

Hi,

In a kernel module I need to do an division of an unsigned int by a
u64 value, but I am getting a linker error: undefined reference to
__udivdi3.

My system has the following
OS: Ubuntu 8.04
GCC version:  4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Processor: Intel Core 2 Duo



--
Regards,
Sukanto Ghosh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Division involving u64 : undefined reference to __udivdi3, Sukanto Ghosh, (Wed Feb 4, 9:28 pm)
RE: Division involving u64 : undefined reference to __udivdi3, Vivek Kumar Gupta, (Fri Feb 6, 6:38 am)