Hi there,
I got the following error message while building Luppp on Debian
testing:
/libengine_gui.a(lvtwohost.cpp.0.o): In function `Lilv::uri_to_path(char
const*)':
/usr/include/lilv-0/lilv/lilvmm.hpp:24: multiple definition of
`Lilv::uri_to_path(char const*)'
./libengine_gui.a(offlineworker.cpp.0.o):/usr/include/lilv-0/lilv/lilvmm.hpp:24:
first defined here
collect2: ld returned 1 exit status
/usr/include/lilv-0/lilv/lilvmm.hpp:24 reads:
const char* uri_to_path(const char* uri) { return lilv_uri_to_path(uri); }
When this header gets included in more than one compilation unit,
uri_to_path gets defined several times, which causes the error.
In the current upstream version of lilv from [1], the function is
declared 'static inline' which fixes the problem.
- Johannes
[1] http://drobilla.net/software/lilv/
_______________________________________________
pkg-multimedia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers