Fatal Error Stdio.h No Such File Or Directory Arm
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of fatal error stdio.h no such file or directory #include stdio.h ^ compilation terminated this site About Us Learn more about Stack Overflow the company Business
Libnewlib-arm-none-eabi
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask fatal error stdio.h no such file or directory ubuntu Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign stdio.h no such file or directory linux mint up Why error in cross compiling Arm Linux GCC? up vote 2 down vote favorite I'm trying to use AppWeb, and i wrote a very simple program to embed AppWeb into my application, it's using a function in AppWeb library. #include
Fatal Error Stdio H No Such File Or Directory Mac
successful. But, when I cross compile to Arm architecture, is have been getting error. This is my Makefile: CC = gcc LIBS = lib FLAG = -lappweb -lmpr TEST_TARGET = embed-appweb OBJS = embed-appweb all: clean compile compile: run $(CC) -Wall -L$(LIBS) $(FLAG) -o $(TEST_TARGET) $(OBJS).o run: $(CC) -Wall -L$(LIBS) $(FLAG) -c $(OBJS).c clean: @rm -rf $(TEST_TARGET) $(TEST_TARGET).trc *.o *~ @echo "Clean complete" I was replace "CC = gcc" to "CC = arm-linux-gcc" in oder to cross compile. The error in my problem is: arm-linux-gcc -Wall -Llib -lappweb -lmpr -c embed-appweb.c embed-appweb.c:1:27: error: appweb/appweb.h: No such file or directory embed-appweb.c: In function 'main': embed-appweb.c:4: warning: implicit declaration of function 'maRunWebServer' make: *** [run] Error 1 and i'm sure that the library "libappweb.so" was exist in my folder "lib" Someone may tell me, why it got error? and give me some advice? Thanks, gcc arm cross-compiling embedded-linux toolchain share|improve this question edited Jan 16 '12 at 8:43 asked Jan 16 '12 at 8:32 TidusLe 2116 1 What errors are you getting? Are you sure you have the required libraries cross-compiled and installed at the required places? &nd
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question http://stackoverflow.com/questions/8877359/why-error-in-cross-compiling-arm-linux-gcc _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Should `arm-none-eabi-gcc` http://askubuntu.com/questions/502815/should-arm-none-eabi-gcc-include-a-stdio-h include a `stdio.h`? up vote 1 down vote favorite I'm trying to build a simple example from the SDK for the TI CC3200 (Cortex M4), but when I try to compile it complains about stdio.h. make CC ../main.c ../main.c:45:19: fatal error: stdio.h: No such file or directory #include
work. I'm running:Ubuntu Gnome 14.10, installed it about two days ago. It works whenever I use the regular compiler by invoking it directly: $ gcc no such -o hello helloworld.c … and I get an executable file which works. But when I try with the one for my linux-platform, I get this: $ arm-angstrom-linux-gnueabi-gcc -o hello no such file helloworld.c helloworld.c:1:19: fatal error: stdio.h: No such file or directory compilation terminated. The code I'm trying to compile obviously isn't the problem, but anyway I'll include it here: #include