build-essential installation falhando

3

Estou tendo problemas para acessar os vários arquivos de cabeçalho críticos que mostram que fazem parte do processo de criação.

O Ubuntu Software Center mostra que o build-essential está instalado:

Emseguida,fizosdoiscomandosaseguir,quenãomelhoraramoproblema:

~$sudoapt-getinstallbuild-essential[sudo]passwordfor:Readingpackagelists...DoneBuildingdependencytreeReadingstateinformation...Donebuild-essentialisalreadythenewestversion.0upgraded,0newlyinstalled,0toremoveand0notupgraded.:~$sudoapt-getinstall-fReadingpackagelists...DoneBuildingdependencytreeReadingstateinformation...Done0upgraded,0newlyinstalled,0toremoveand0notupgraded.

Despejodecabeçalhosapóstentativasdeinstalação.

/usr/include/boost/interprocess/detail/atomic.hpp/usr/include/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp/usr/include/qt4/Qt/qatomic.h/usr/include/qt4/Qt/qbasicatomic.h/usr/include/qt4/QtCore/qatomic.h/usr/include/qt4/QtCore/qbasicatomic.h/usr/share/doc/git-annex/html/bugs/git_annex_unlock_is_not_atomic.html/usr/src/linux-headers-3.11.0-15/arch/alpha/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/arc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/arm/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/arm64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/avr32/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/blackfin/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/cris/include/arch-v10/arch/atomic.h/usr/src/linux-headers-3.11.0-15/arch/cris/include/arch-v32/arch/atomic.h/usr/src/linux-headers-3.11.0-15/arch/cris/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/frv/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/h8300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/hexagon/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/ia64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/m32r/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/m68k/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/metag/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/microblaze/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/mips/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/mn10300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/parisc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/powerpc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/s390/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/score/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/sh/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/sparc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/tile/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/x86/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/arch/xtensa/include/asm/atomic.h/usr/src/linux-headers-3.11.0-15/include/asm-generic/atomic.h/usr/src/linux-headers-3.11.0-15/include/asm-generic/bitops/atomic.h/usr/src/linux-headers-3.11.0-15/include/asm-generic/bitops/ext2-atomic.h/usr/src/linux-headers-3.11.0-15/include/asm-generic/bitops/non-atomic.h/usr/src/linux-headers-3.11.0-15/include/linux/atomic.h/usr/src/linux-headers-3.11.0-15-generic/include/linux/atomic.h/usr/src/linux-headers-3.11.0-17/arch/alpha/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/arc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/arm/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/arm64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/avr32/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/blackfin/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/cris/include/arch-v10/arch/atomic.h/usr/src/linux-headers-3.11.0-17/arch/cris/include/arch-v32/arch/atomic.h/usr/src/linux-headers-3.11.0-17/arch/cris/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/frv/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/h8300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/hexagon/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/ia64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/m32r/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/m68k/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/metag/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/microblaze/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/mips/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/mn10300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/parisc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/powerpc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/s390/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/score/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/sh/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/sparc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/tile/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/x86/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/arch/xtensa/include/asm/atomic.h/usr/src/linux-headers-3.11.0-17/include/asm-generic/atomic.h/usr/src/linux-headers-3.11.0-17/include/asm-generic/bitops/atomic.h/usr/src/linux-headers-3.11.0-17/include/asm-generic/bitops/ext2-atomic.h/usr/src/linux-headers-3.11.0-17/include/asm-generic/bitops/non-atomic.h/usr/src/linux-headers-3.11.0-17/include/linux/atomic.h/usr/src/linux-headers-3.11.0-17-generic/include/linux/atomic.h/usr/src/linux-headers-3.11.0-18/arch/alpha/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/arc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/arm/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/arm64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/avr32/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/blackfin/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/cris/include/arch-v10/arch/atomic.h/usr/src/linux-headers-3.11.0-18/arch/cris/include/arch-v32/arch/atomic.h/usr/src/linux-headers-3.11.0-18/arch/cris/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/frv/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/h8300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/hexagon/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/ia64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/m32r/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/m68k/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/metag/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/microblaze/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/mips/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/mn10300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/parisc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/powerpc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/s390/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/score/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/sh/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/sparc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/tile/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/x86/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/arch/xtensa/include/asm/atomic.h/usr/src/linux-headers-3.11.0-18/include/asm-generic/atomic.h/usr/src/linux-headers-3.11.0-18/include/asm-generic/bitops/atomic.h/usr/src/linux-headers-3.11.0-18/include/asm-generic/bitops/ext2-atomic.h/usr/src/linux-headers-3.11.0-18/include/asm-generic/bitops/non-atomic.h/usr/src/linux-headers-3.11.0-18/include/linux/atomic.h/usr/src/linux-headers-3.11.0-18-generic/include/linux/atomic.h/usr/src/linux-headers-3.11.0-19/arch/alpha/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/arc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/arm/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/arm64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/avr32/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/blackfin/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/cris/include/arch-v10/arch/atomic.h/usr/src/linux-headers-3.11.0-19/arch/cris/include/arch-v32/arch/atomic.h/usr/src/linux-headers-3.11.0-19/arch/cris/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/frv/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/h8300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/hexagon/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/ia64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/m32r/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/m68k/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/metag/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/microblaze/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/mips/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/mn10300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/parisc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/powerpc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/s390/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/score/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/sh/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/sparc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/tile/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/x86/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/arch/xtensa/include/asm/atomic.h/usr/src/linux-headers-3.11.0-19/include/asm-generic/atomic.h/usr/src/linux-headers-3.11.0-19/include/asm-generic/bitops/atomic.h/usr/src/linux-headers-3.11.0-19/include/asm-generic/bitops/ext2-atomic.h/usr/src/linux-headers-3.11.0-19/include/asm-generic/bitops/non-atomic.h/usr/src/linux-headers-3.11.0-19/include/linux/atomic.h/usr/src/linux-headers-3.11.0-19-generic/include/linux/atomic.h/usr/src/linux-headers-3.11.0-20/arch/alpha/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/arc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/arm/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/arm64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/avr32/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/blackfin/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/cris/include/arch-v10/arch/atomic.h/usr/src/linux-headers-3.11.0-20/arch/cris/include/arch-v32/arch/atomic.h/usr/src/linux-headers-3.11.0-20/arch/cris/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/frv/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/h8300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/hexagon/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/ia64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/m32r/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/m68k/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/metag/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/microblaze/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/mips/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/mn10300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/parisc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/powerpc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/s390/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/score/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/sh/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/sparc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/tile/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/x86/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/arch/xtensa/include/asm/atomic.h/usr/src/linux-headers-3.11.0-20/include/asm-generic/atomic.h/usr/src/linux-headers-3.11.0-20/include/asm-generic/bitops/atomic.h/usr/src/linux-headers-3.11.0-20/include/asm-generic/bitops/ext2-atomic.h/usr/src/linux-headers-3.11.0-20/include/asm-generic/bitops/non-atomic.h/usr/src/linux-headers-3.11.0-20/include/linux/atomic.h/usr/src/linux-headers-3.11.0-20-generic/include/linux/atomic.h/usr/src/linux-headers-3.11.0-22/arch/alpha/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/arc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/arm/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/arm64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/avr32/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/blackfin/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/cris/include/arch-v10/arch/atomic.h/usr/src/linux-headers-3.11.0-22/arch/cris/include/arch-v32/arch/atomic.h/usr/src/linux-headers-3.11.0-22/arch/cris/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/frv/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/h8300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/hexagon/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/ia64/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/m32r/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/m68k/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/metag/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/microblaze/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/mips/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/mn10300/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/parisc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/powerpc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/s390/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/score/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/sh/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/sparc/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/tile/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/x86/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/arch/xtensa/include/asm/atomic.h/usr/src/linux-headers-3.11.0-22/include/asm-generic/atomic.h/usr/src/linux-headers-3.11.0-22/include/asm-generic/bitops/atomic.h/usr/src/linux-headers-3.11.0-22/include/asm-generic/bitops/ext2-atomic.h/usr/src/linux-headers-3.11.0-22/include/asm-generic/bitops/non-atomic.h/usr/src/linux-headers-3.11.0-22/include/linux/atomic.h/usr/src/linux-headers-3.11.0-22-generic/include/linux/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/alpha/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/arc/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/arm/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/arm64/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/avr32/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/blackfin/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/cris/include/arch-v10/arch/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/cris/include/arch-v32/arch/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/cris/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/frv/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/hexagon/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/ia64/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/m32r/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/m68k/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/metag/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/microblaze/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/mips/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/mn10300/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/parisc/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/powerpc/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/s390/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/score/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/sh/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/sparc/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/tile/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/x86/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/arch/xtensa/include/asm/atomic.h/usr/src/linux-headers-3.14.4-031404/include/asm-generic/atomic.h/usr/src/linux-headers-3.14.4-031404/include/asm-generic/bitops/atomic.h/usr/src/linux-headers-3.14.4-031404/include/asm-generic/bitops/ext2-atomic.h/usr/src/linux-headers-3.14.4-031404/include/asm-generic/bitops/non-atomic.h/usr/src/linux-headers-3.14.4-031404/include/linux/atomic.h/usr/src/linux-headers-3.14.4-031404-generic/include/linux/atomic.h/usr/src/linux-headers-3.14.4-031404-lowlatency/include/linux/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/alpha/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/arc/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/arm/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/arm64/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/avr32/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/blackfin/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/cris/include/arch-v10/arch/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/cris/include/arch-v32/arch/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/cris/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/frv/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/h8300/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/hexagon/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/ia64/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/m32r/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/m68k/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/metag/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/microblaze/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/mips/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/mn10300/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/parisc/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/powerpc/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/s390/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/score/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/sh/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/sparc/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/tile/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/x86/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/arch/xtensa/include/asm/atomic.h/usr/src/linux-lts-saucy-3.11.0/include/asm-generic/atomic.h/usr/src/linux-lts-saucy-3.11.0/include/asm-generic/bitops/atomic.h/usr/src/linux-lts-saucy-3.11.0/include/asm-generic/bitops/ext2-atomic.h/usr/src/linux-lts-saucy-3.11.0/include/asm-generic/bitops/non-atomic.h/usr/src/linux-lts-saucy-3.11.0/include/linux/atomic.h/usr/src/linux-lts-saucy-3.11.0/ubuntu/lttng/lib/ringbuffer/vatomic.h/usr/src/linux-lts-saucy-3.11.0/ubuntu/lttng/wrapper/ringbuffer/vatomic.h/usr/src/linux-lts-saucy-3.11.0/ubuntu/lttng-modules/lib/ringbuffer/vatomic.h/usr/src/linux-lts-saucy-3.11.0/ubuntu/lttng-modules/wrapper/ringbuffer/vatomic.h

Sim,seiqueexistemvárioscabeçalhosdomesmotipoaqui,massãoversõesdiferentes.Aversão"linux-headers-3.14.4-031404" é a mais recente.

O Ubuntu mostra "Nada precisava ser instalado".

No entanto, os arquivos de cabeçalhos C / C ++ a seguir estão ausentes no Eclipse e no QT4.

#include <linux/version.h>
#include <linux/module.h>
#include <linux/socket.h>
#include <linux/miscdevice.h>
#include <linux/list.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include <asm/atomic.h>
#include <linux/delay.h>
#include <linux/usb.h>

Esse problema aparece na minha versão de 32 bits do Ubuntu e em ambas as minhas versões de 64 bits.

O que estou fazendo de errado?

    
por Brickman 28.05.2014 / 18:37

1 resposta

1

Parece que você está tentando compilar um projeto que usa arquivos de cabeçalho do kernel do Linux, um driver de kernel ou outro projeto que usa estruturas de dados e APIs do kernel do Linux. O desenvolvimento do kernel é um caso de uso muito específico que não é coberto pelo essencial para a construção ,porissonãoésurpresaqueainstalaçãoObuild-essentialnãoestádisponibilizandoautomaticamenteessesarquivosdecabeçalhoparavocê.

Parainstalarestesarquivosdecabeçalho,vocêdevecertificar-sedequeos linux-headers-generic pacoteestáinstalado.IstoiráinstalarosarquivosdecabeçalhocorrespondentesàversãoatualdokernelfornecidapelosrepositóriosdoUbuntu.

Mesmodepoisdeinstaladoscorretamente,essesarquivosdecabeçalhonãosãoinstaladosnocaminhodeinclusãodosistemapadrão(nodiretório/usr/include)porquenãodevemserincluídosporbibliotecasdehosteaplicativos.Emvezdisso,elessãoinstaladosemumdiretóriocomversãoespecíficaparacadacópiainstaladadokernel.

AmaneiracanônicadelocalizarosarquivosdecabeçalhodokerneldoLinuxassimqueelessãoinstaladosparasuaversãodokerneléprocurarem/lib/modules/$(uname-r)/build/include,onde$(uname-r)éumasubstituiçãodeshellparaaversãoatualdokernel:

$ls/lib/modules/$(uname-r)/build/include/

Depoisdeterasseguradoqueopacotedearquivosdecabeçalhoestáinstalado,vocêteráqueapontarseusistemadecompilaçãoparaocaminhodeinclusãodokerneldoLinux.SevocêestivertrabalhandocomumprojetobaseadonoMakefileouAutomake,issopodeserfeitocomumavariávelCPPFLAGSnoMakefiledoprojeto:

CPPFLAGS=-I/lib/modules/$(shelluname-r)/build/include

Agora,sevocêestáconstruindoummódulodokernelLinux,existemmaneirasespecíficasdeconfiguraroseuprojetoMakefileparaintegrar-seaosistemadecompilaçãodokerneldoLinux,vejaporexemplo

por Mike Miller 29.05.2014 / 22:49