Bug#712047: libc6-dev: cannot build C programs
tag 712047 + moreinfo
thanks
On Wed, Jun 12, 2013 at 04:30:08PM +0200, Michal Suchanek wrote:
> Package: libc6-dev
> Version: 2.13-38
> Severity: important
>
> Hello,
>
> I tried building a C program with libc-dev installed.
>
> The program would not build because headers were missing:
>
> libc6-dev-i386: /usr/include/bits
You don't need this one, your compiler should look into
/usr/include/x86_64-linux-gnu/bits.
> libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/predefs.h
This is libc6-dev the package you are reporting the bug against,
so it can't be missing.
> linux-libc-dev:amd64: /usr/include/x86_64-linux-gnu/asm/errno.h
libc6-dev already depends on this one.
> gcc-multilib: /usr/include/asm
You don't need this one, your compiler should already lokk into
/usr/include/x86_64-linux-gnu/asm.
>
> For the asm/errno.h (referenced from common header) to be present gcc-multilib must be installed.
>
> Similarily for bits/predefs.h to be present libc6-dev-i386 must be installed.
>
> The libc6-dev package is incomplete and cannot stand on its own.
>
> Dependency on gcc-multilib is bogus. It requires specific version of gcc installed.
>
> Also, libc6-dev does not depend on these packages.
>
> Please make a libc package against which C programs do compile.
This is what libc6-dev is for. Please provide examples which do not
work.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: