Re: from where comes "__moddi3"?

From: Alexander Shishkin
Date: Sat Jul 21 2007 - 15:33:27 EST


On 7/21/07, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:

again, probably displaying my abject ignorance, but i wrote a
trivial module that tries to "var % 15", and i get:

WARNING: "__moddi3" undefined!
...which comes from libgcc1 which you obviously don't want to link against.

Does (var & 0x0f) not work for you?

Regards,
--
Alex
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/