provideyourown / CodeBlocks-Arduino

Addons to Code::Blocks to support Arduinos and ATtinys
GNU General Public License v3.0
93 stars 45 forks source link

File not found: sys/cdefs.h #7

Open renatoaloi opened 10 years ago

renatoaloi commented 10 years ago

Original compiler message: /usr/include/features.h|374|fatal error: sys/cdefs.h: Arquivo ou diretório não encontrado|

Arquivo ou diretório não encontrado = File not found in pt-BR

Error while compiling /usr/includes/features.h

[code] /* This is here only because every header file already includes this one. _/ ifndef ASSEMBLER ifndef _SYS_CDEFSH include [sys/cdefs.h] / Error at this line! */ endif [/code]

Running from Ubuntu 32 bits 14.04 with gcc 4.8.2, libc6, ncurses5 etc.

renatoaloi@Dell745-32Bits:~/.codeblocks$ gcc --version gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

renatoaloi@Dell745-32Bits:~/.codeblocks$ uname -a Linux Dell745-32Bits 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686 i686 i686 GNU/Linux

renatoaloi commented 10 years ago

solved issuing: sudo apt-get install libc6-dev-x32 Note: I am at 32 bit system. But i think it is that way because of cross compiling,

chrisorwa commented 9 years ago

How do you solve the problem on Mac?

Capii1 commented 8 years ago

Did you ever figure out how to solve this on a Mac?