Re: drivers/gpu/drm/radeon/radeon_test.c:45: undefined reference to `__udivdi3'

From: Mr. James W. Laferriere
Date: Sun Dec 20 2009 - 16:11:16 EST


Hello Dave ,

On Sun, 20 Dec 2009, Dave Airlie wrote:
On Sat, Dec 19, 2009 at 6:54 AM, Mr. James W. Laferriere
<babydr@xxxxxxxxxxxxxxxx> wrote:
       Hello Benjamin ,  I am not having a good time compiling 2.6.32.1 .
First RCU 'inline' difficulties then fusion-mpt 'inline' difficulty ,  Now
this .
       This one is not a simple as removing 'inline' from a statement .
       Would you please look into this ?  Anything else you need please just
ask .
       Please cc: me as I am not subscribed to linux-fbdev .

               Tia ,  JimL


Can you try the attached patch?

Dave.

With the below DRM items configured . The patch allows me to complete the compilation of linux ...

# grep -i drm .config
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_TDFX=y
CONFIG_DRM_R128=y
CONFIG_DRM_RADEON=y
CONFIG_DRM_I810=y
# CONFIG_DRM_I830 is not set
CONFIG_DRM_I915=y
# CONFIG_DRM_I915_KMS is not set
CONFIG_DRM_MGA=y
CONFIG_DRM_SIS=y
CONFIG_DRM_VIA=y
CONFIG_DRM_SAVAGE=y

# dir -alrt arch/x86/boot/bzImage
6336 -rw-r--r-- 1 root root 6475472 2009-12-20 21:01 arch/x86/boot/bzImage


Hth , JimL
--
+------------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network&System Engineer | 3237 Holden Road | Give me Linux |
| babydr@xxxxxxxxxxxxxxxx | Fairbanks, AK. 99709 | only on AXP |
+------------------------------------------------------------------+