Re: drivers/gpu/drm/radeon/radeon_test.c:45: undefined reference to `__udivdi3'
From: Dave Hylands
Date: Sat Dec 19 2009 - 21:22:24 EST
Hi Jim,
> Thank you , For replying . Now I being a kernel level nothing ,
> How does this help me get past the 'ld' time undefined reference ? So we
> can have a kernel build complete (hopefully) successfully .
>
> I've another ? as well how is it that the drm/radeon_test.c is using
> (well at least referencing) a non-kernel symbol ? That alone is rather
> interesting .
>
> But all I had to do is Disable DRM in the kernel . Since this system
> is a remote device without a real need for DRI/DRM support that should cure
> my problem . But someone else is going to need that support & I am sure
> they'll hit that same bug .
I'm not familiar with the source code in question, but presumably,
someone will need to change the source to remove the 64-bit divide and
do it using the do_div macro or something equivalent.
--
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/
--
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/