Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File not found: sys/cdefs.h #7

Open
renatoaloi opened this issue Sep 30, 2014 · 3 comments
Open

File not found: sys/cdefs.h #7

renatoaloi opened this issue Sep 30, 2014 · 3 comments

Comments

@renatoaloi
Copy link

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_CDEFS_H
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
Copy link
Author

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
Copy link

How do you solve the problem on Mac?

@Capii1
Copy link

Capii1 commented Oct 21, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants