X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail.toastin.space (mail.toastin.space [207.246.93.162]) by lists.alpinelinux.org (Postfix) with ESMTP id 94E83F816AC for ; Fri, 1 Mar 2019 04:20:47 +0000 (UTC) Received: from mail.toastin.space (localhost [127.0.0.1]) by mail.toastin.space (OpenSMTPD) with ESMTP id 45eb5f4e for ; Thu, 28 Feb 2019 23:20:46 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=toastin.space; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=ml; bh=ReAeRdbOdlgIIy RSRu34A/ZHi4o=; b=nC/y1riuflfDcphcWrHOkRQNCj/NGQRvNsaHp07nWQtU47 LeguJjZ0Ch7iEiRekcfliumtdarI3YGfdQVSH2fPsHZ4ka3pe/eCUUaSnRru3g4E va1hG4ciFhmpPkR72p3g4GNPBYWWy5Sqas97uwvSz99V7KPofp3dT85WHMwI52pf qjkEezrV9sCqJbyWkBt0vVV7CL4S5wdgtoHv+IZrNNJB5diTB9V/FiL4+jlE2vYV bFreOOuXXZBccl3bt3cJKB9xuoR+k3biAWlCsE1ZqVB1onJpzdbWUT94j46uuvqV J+/i6grlcsm07Rm9FXZXuRlCjkp/aRFEOKsoASLQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=toastin.space; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=ml; b=WrlOO7t7 yPjSL//TjhUFBEMuV5o1Sw9cKk5iQvTapAcdZe0rSiZd+Xim7+tQPhpCkPGZvfJE Vi+FGoeXI7runR5dt+V5RVcugi7oMH4AAlXhQQLTu+7aruVqnSl6x5u9CGcvUic1 lKVq4m7CUKDy/beQH/KKbjfS7KazhVzCBJM9P7Epj6S45kW7h9sguF82EORIumCT pSQ59SFbQYzAOo+zL3yX4GIXay0kg/H9Dg5zXG0peNayy/XbuYRbZ+rKZoNwK3PF ORV10sJZPWd1WHk2dPU/w0Fqjvtvlb7uxx61lnfgC31j05c0vsw/1OJ2wromA6Cy 1dzX+J+DF+CsbQ== Received: from [192.168.0.135] (173-246-15-165.qc.cable.ebox.net [173.246.15.165]) by mail.toastin.space (OpenSMTPD) with ESMTPSA id f79601de (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 28 Feb 2019 23:20:46 -0500 (EST) Subject: Re: [alpine-user] missing header sys/queue.h To: alpine-user@lists.alpinelinux.org References: <18833665-ea51-febd-5695-5098b5986135@libero.it> <69dc00e5-7e32-1a6a-0cf8-71bf675c15bd@libero.it> From: Chloe Kudryavtsev Message-ID: Date: Thu, 28 Feb 2019 23:20:45 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:66.0) Gecko/20100101 Thunderbird/66.0 X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: <69dc00e5-7e32-1a6a-0cf8-71bf675c15bd@libero.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 2/28/2019 2:02 PM, Riccardo Mottola wrote: Hi Riccardo, > how to detect AlpineLinux sources compared to standard Linux I'm afraid that's not quite the issue you're running into. Alpine includes all of the standard *linux* headers under the linux-headers package. The problem you are running into is that glibc is not linux, and not necessarily standard. > fatal error: sys/queue.h: No such file or directory Alpine uses the musl libc. musl does not include sys/queue.h[1]. As mentioned, you can find it in bsd-compat-headers (as per the recommendation of the musl author). > sys/sysctl.h: No such file or directory sysctl(2) is deprecated in linux[2], and should not be used. As such, musl removed it (5 years ago)[3]. Any application using it should be modified to not use it. > how did you get FireFox running? I'm not sure on that one, I can't find the mention of sysctl under testing/firefox, so I assume upsteam has added the ability to detect this header's presence. [1]: https://wiki.musl-libc.org/faq.html#Q:-Why-is-%3Ccode%3Esys/queue.h%3C/code%3E-not-included? [2]: man 2 sysctl [3]: musl commit 2c5e7560251b25b36ae3785211962e9597dc7e7d --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---