Jason and I tried, it doesn't work, unfortunately. It yields : /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld : src/binarystoragebuffer.o : dans la fonction « BinaryStorageBuffer::store(void*, unsigned int) » : binarystoragebuffer.cc:(.text+0x0) : définitions multiples de « BinaryStorageBuffer::store(void*, unsigned int) »; src/binarydatasaver.o:binarydatasaver.cc:(.text+0x170) : défini pour la première fois ici /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld : src/individual.o : dans la fonction « BinaryStorageBuffer::store(void*, unsigned int) » : individual.cc:(.text+0x260) : définitions multiples de « BinaryStorageBuffer::store(void*, unsigned int) »; src/binarydatasaver.o:binarydatasaver.cc:(.text+0x170) : défini pour la première fois ici /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld : src/metapop.o : dans la fonction « BinaryStorageBuffer::store(void*, unsigned int) » : metapop.cc:(.text+0xa30) : définitions multiples de « BinaryStorageBuffer::store(void*, unsigned int) »; src/binarydatasaver.o:binarydatasaver.cc:(.text+0x170) : défini pour la première fois ici Sorry for the French, a wild guess is that the English version of "définitions multiples" would be... "multiple definitions"? Jason said in his last email:
Turns out trying to either remove the inline or move it to the header doesn't work correctly because the developer has included binarystoragebuffer.cc in several other .cc files (but also still built into an object file). I don't understand the developer's intent and so I don't know how to fix it. You should report the problem upstream.
Which I interpreted as "there is no easy fix, report to upstream". Cheers, Pierre Le jeudi 2 avril 2020, 13:55:20 CEST Jan Engelhardt a écrit :
On Thursday 2020-04-02 13:31, Pierre wrote:
Hi,
OK, then I'll report upstream, seems it is not possible to come up with an easy fix (I mean, if you guys can't, I certainly can't).
uh, just remove the "inline" keyword?
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org