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

Really bad compile bug :C #23

Closed
Arandomgithubber opened this issue Feb 6, 2014 · 7 comments
Closed

Really bad compile bug :C #23

Arandomgithubber opened this issue Feb 6, 2014 · 7 comments

Comments

@Arandomgithubber
Copy link

make
gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ -o fexc fexc.c script.c script_uboot.c script_bin.c script_fex.c
In file included from fexc.h:22:0,
from fexc.c:18:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory

include_next <stdint.h>

                      ^

compilation terminated.
script.c:20:20: fatal error: assert.h: No such file or directory
#include <assert.h>
^
compilation terminated.
In file included from script_uboot.c:19:0:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory

include_next <stdint.h>

                      ^

compilation terminated.
script_bin.c:20:19: fatal error: errno.h: No such file or directory
#include <errno.h>
^
compilation terminated.
script_fex.c:19:19: fatal error: ctype.h: No such file or directory
#include <ctype.h>
^
compilation terminated.
make: *** [fexc] Error 1

Well. I have no idea what to install. Already checked readme.
Distro= Linux mint

@amery
Copy link
Member

amery commented Feb 6, 2014

try installing build-essential

@Arandomgithubber
Copy link
Author

I did that, somehow It didn't work. I installed a package according to the error and everything was fixed. but still, if you want, you can leave this up for people who have trouble (put in the help file)

@Arandomgithubber
Copy link
Author

If you do that, I'll close this.

@amery
Copy link
Member

amery commented Feb 9, 2014

we don't delete tickets... don't know if it's even possible in github.

good to know the problem is solved. cheers! and enjoy your sunxi device.

@amery amery closed this as completed Feb 9, 2014
@Warun26
Copy link

Warun26 commented Nov 21, 2014

Hi. I am facing the same issue when I try to compile an open cv application.
Could you please tell me what the package was you installed to fix this problem?

@amery
Copy link
Member

amery commented Nov 22, 2014

the headers you are missing come from the -dev package of your libc. in debian/ubuntu it should be pulled in by build-essential

@Warun26
Copy link

Warun26 commented Nov 22, 2014

Thank you. build-essential does it.

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