Skip to contentSkip to conversation

drivers/gpu/drm/tilcdc: link failed

Suggestion Chen Gang 1 participant 2 messages Mar 10, 2013

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

Hello David Airlie:

link fail:

    drivers/gpu/drm/tilcdc/tilcdc_slave.o:(.data+0x54): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here
    drivers/gpu/drm/tilcdc/tilcdc_panel.o:(.data+0x54): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here
    drivers/gpu/drm/tilcdc/tilcdc_drv.o:(.data+0x184): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here

make command:
for next-20130307 tree:
make ARCH=arm EXTRA_CFLAGS=-W allmodconfig
make ARCH=arm EXTRA_CFLAGS=-W

solving ways:
please reference the mails and patch which provided by David Miller for sparc64 I think they are the same root cause (although different issues).
ref link: http://permalink.gmane.org/gmane.linux.ports.sparc/17155
ref commit: 226f7cea949303a3e1911999a9a2c71b0a708e73

thanks.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author
#1 lore raw

oh, it has been mentioned by Russell King. please reference: https://lkml.org/lkml/2013/3/4/114

this mail can be obsoleted.

gchen.

Quoted 25 lines · Chen Gang

Hello David Airlie:

link fail:

    drivers/gpu/drm/tilcdc/tilcdc_slave.o:(.data+0x54): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here
    drivers/gpu/drm/tilcdc/tilcdc_panel.o:(.data+0x54): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here
    drivers/gpu/drm/tilcdc/tilcdc_drv.o:(.data+0x184): multiple definition of `__mod_of_device_table'
    drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54):first defined here

make command:
for next-20130307 tree:
make ARCH=arm EXTRA_CFLAGS=-W allmodconfig
make ARCH=arm EXTRA_CFLAGS=-W

solving ways:
please reference the mails and patch which provided by David Miller for sparc64 I think they are the same root cause (although different issues).
ref link: http://permalink.gmane.org/gmane.linux.ports.sparc/17155
ref commit: 226f7cea949303a3e1911999a9a2c71b0a708e73

thanks.

Signature · 7 lines
Chen Gang

Asianux Corporation
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel