Hi,

On Sun, Feb 10, 2019 at 05:40:46PM +0100, Gerd v. Egidy wrote:
> Hi,
> 
> I tried compiling libsigrok and it failed because of lot's of symbols being
> defined twice, like this:
> 
> bindings/cxx/include/libsigrokcxx/enums.hpp:24:32: error: redeclaration of 
> 'const sigrok::LogLevel* const sigrok::LogLevel::NONE'
>   static const LogLevel * const NONE;
>                                 ^~~~
> bindings/cxx/include/libsigrokcxx/enums.hpp:12:32: note: previous declaration 
> 'const sigrok::LogLevel* const sigrok::LogLevel::NONE'
>   static const LogLevel * const NONE;
>                                 ^~~~

This seems to work to a certain degree, but it broke other cases for me.
I finally managed to reliably reproduce the issue (this was previously
reported as bug #547 and others as well) and I found a slightly
different solution that seems to work fine for me in all cases now:
directories with and without symlinks being involved, in-tree-builds and
out-of-tree builds.

https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff;h=3535a6eeee267ebb0092a0f6600b0b3edc055bf8

Please do report back in case there are still any build issues with the
current git mainline code, thanks!

 
Cheers, Uwe.
-- 
http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to