[Buildroot] Missing 'sys/queue.h' on musl

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Nov 28 17:49:15 UTC 2015


Sergio,

On Sat, 28 Nov 2015 15:31:36 -0200, Sergio Prado wrote:

> Musl does not provide a 'sys/queue.h' implementation [1].
> 
> This is causing problems with some packages that depends on it, like
> f2fs-tools [2] and others packages that are already fixed like libtirpc [3].
> 
> Adding an implementation of 'sys/queue.h' as a patch (like in [3]) is a
> proper way to fix this problem?
> 
> What about creating a package with the 'sys/queue.h' implementation and
> installing it in the staging directory. Then we would just need to make all
> packages that need it depend on it when compiling with musl. Is this a good
> solution?

This seems like a very good idea to me: creating a package that
installs sys/queue.h. It's a lot better than patching all the packages
that use sys/queue.h to make them build with musl.

Do you volunteer to work on this?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list