Bug#842653: ableton-link: FTBFS on non-Linux: htonll/ntohll undeclared
Aaron M. Ucko
amu at alum.mit.edu
Mon Oct 31 03:38:04 UTC 2016
Source: ableton-link
Version: 1.0.0+dfsg-2
Severity: important
Tags: upstream
Justification: fails to build from source
Thanks for taking care of #842410 promptly! ableton-link now builds
on all Linux architectures, but fails on kFreeBSD and the Hurd:
/«BUILDDIR»/ableton-link-1.0.0+dfsg/include/ableton/discovery/NetworkByteStreamSerializable.hpp:204:41: error: 'htonll' was not declared in this scope
return detail::copyToByteStream(htonll(ll), std::move(out));
The problem appears to be that there's no definition of htonll for
generic POSIX systems, just for Linux and other specific OSes. I'd
recommend arranging to use bswap_64 on all systems using the GNU C
Library (whose headers define __GLIBC__).
Could you please take a look?
Thanks!
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
More information about the pkg-multimedia-maintainers
mailing list