From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12115 Path: news.gmane.org!.POSTED!not-for-mail From: Hamed Ghavamnia Newsgroups: gmane.linux.lib.musl.general Subject: Compiling libpcap from source using musl and clang Date: Mon, 20 Nov 2017 14:02:43 -0500 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045fc09c64f86e055e6ebcd9" X-Trace: blaine.gmane.org 1511204615 29869 195.159.176.226 (20 Nov 2017 19:03:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 20 Nov 2017 19:03:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12131-gllmg-musl=m.gmane.org@lists.openwall.com Mon Nov 20 20:03:32 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1eGrLt-0007QB-Ce for gllmg-musl@m.gmane.org; Mon, 20 Nov 2017 20:03:29 +0100 Original-Received: (qmail 26204 invoked by uid 550); 20 Nov 2017 19:03:33 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26116 invoked from network); 20 Nov 2017 19:03:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+DvPJ8JL+ibKwCsu2/c4D6f3e38n/v/w6XBPr+ZifFs=; b=dxJGhb+2VAWTK4H8jLRhmTeaGpccv9RJ0JTCpZIYN0cefLfhEKPiT0kyEPcTcADxtS QYFjrgXQA4dn97k65SL3+pNEWJ4LeCLEZYGOyEXsO/F/M0cYiCd/0jTSiYizKVHq5P8e XpOrWACpGByG272olsf7QBkGT4B9cWLCkuSQV71M6HZKVwN/9RNQ+rH7MNzj3LGJ+AS7 zlIzvTyqO9shJHJcvE8bBm/+KJxfXvxkjlhYmteu57pBLNXopaVkq7/4TKqKtnZQmwSz hj8EeoWOxLpTLjUWzjytigPBpu+pLfeDWG6EW8dbu8TG+/kZhcszh3K+vXWaMvoYGVsE iOgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+DvPJ8JL+ibKwCsu2/c4D6f3e38n/v/w6XBPr+ZifFs=; b=r35lE/vLJSQ5p42UK4P3uJw/efgNscNCalt/VMhUvwcE1hqArE1bMuXWgK8uHb75Yr 5ZM7KGaX+raX+SJ7tFnz3oMzOYLzi5xIM1jnPaRfsf06tbRuliI9GOZoTO6QEa92r6BY iU8gKW1w3aG7CeUDqTXLhVasiAmRqK5Nd8niy6rPnV/jc+M0qSE10J/yrS1vlQvyLA3a AVx9GO/i8CLsrnxuacePqnGQ4YPn96zhau0nm3NPRieUzDxXb2w5Zjjy8vvnnqcopsRg q0Mrj7aw9iwjvvg9xnMbBhn5C3FJDi2FzQGGkpQ4tRljYepfC38qV4bET9BuFWeR1SgC 0gTQ== X-Gm-Message-State: AJaThX7II2huAwE9kMx94MKmgQIUFuqzNm3103dFsK8I0lGaUyk82jCl vhi3BU9SjJJXorS0e2edSAJgNh7m+ZYbX6bdnfY= X-Google-Smtp-Source: AGs4zMYAlWCLY7SyuTxT/aHHAHj9s8E/rGg1w4caRBewvTXxhaROagewQthCocyh99P9TdgZs27wHaL/62yz6hPcVfs= X-Received: by 10.36.164.13 with SMTP id z13mr3405696ite.115.1511204583698; Mon, 20 Nov 2017 11:03:03 -0800 (PST) Xref: news.gmane.org gmane.linux.lib.musl.general:12115 Archived-At: --f403045fc09c64f86e055e6ebcd9 Content-Type: text/plain; charset="UTF-8" Hi to all, I'm trying to compile the libpcap library from source using musl and clang. It compiles if I only use clang with libc, but using musl it dies. The problem I'm currently facing is that the source codes require header files such as linux/types.h, but there isn't any linux sub folder in the include folder of my compiled musl library. Is that normal? Should I be able to compile libpcap using musl, or does it require any features which haven't been implemented in musl yet? Thanks, Hamed --f403045fc09c64f86e055e6ebcd9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi to all,

I'm trying= to compile the libpcap library from source using musl and clang. It compil= es if I only use clang with libc, but using musl it dies.
The prob= lem I'm currently facing is that the source codes require header files = such as linux/types.h, but there isn't any linux sub folder in the incl= ude folder of my compiled musl library. Is that normal? Should I be able to= compile libpcap using musl, or does it require any features which haven= 9;t been implemented in musl yet?

Thanks,
Hamed
--f403045fc09c64f86e055e6ebcd9--