udda/multiload-ng

Does not build on Arch Linux

Closed this issue · 3 comments

  CCLD     libmultiload-ng.la
/usr/bin/ld: ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-colors.o):(.bss+0x0): multiple definition of `graph_types'; ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-autoscaler.o):(.bss+0x0): first defined here
/usr/bin/ld: ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-load-graph.o):(.bss+0x0): multiple definition of `graph_types'; ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-autoscaler.o):(.bss+0x0): first defined here
/usr/bin/ld: ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-multiload.o):(.bss+0x20): multiple definition of `graph_types'; ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-autoscaler.o):(.bss+0x0): first defined here
/usr/bin/ld: ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-multiload-config.o):(.bss+0x0): multiple definition of `graph_types'; ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-autoscaler.o):(.bss+0x0): first defined here
/usr/bin/ld: ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-preferences.o):(.bss+0x0): multiple definition of `graph_types'; ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-autoscaler.o):(.bss+0x0): first defined here
/usr/bin/ld: ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-ui.o):(.bss+0x0): multiple definition of `graph_types'; ../common/.libs/multiload-ng-core.a(multiload_ng_core_la-autoscaler.o):(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

udda commented

Hi @Photon89, is there a specific release of Arch which fails the build?

Unfortunately, I only know that the breakage happened between 2019-03-12 and 2020-06-14 and is still present, a large time window...

udda commented

Problem is now solved. Huge thanks to @Photon89 for pointing me in the right direction.