gcc-Problem -> stdio.h nicht gefunden

gcc-Problem -> stdio.h nicht gefunden

Ich muss ein Programm kompilieren. Theoretisch muss ich nur die beiden Pfade ändern ...

kannst du mir helfen?

Makefile

# Original
#CC=arm-1136jf_s_r1_vfp_hard_float-linux-gnueabi-gcc
#CFLAGS= -O3 -ffunction-sections -fdata-sections --sysroot=/home/mguivarch/Desktop/buildroot-2011.08-advansee/build/staging/ 
#LDFLAGS= -Wl,--gc-sections -lpthread -lrt -lm -L/home/mguivarch/Desktop/buildroot-2011.08-advansee/build/staging/usr/lib

# Change I made
CC=gcc 
CFLAGS= -O3 -ffunction-sections -fdata-sections --sysroot=/home/mihai/Desktop/MIPSEE/Programme
LDFLAGS= -Wl,--gc-sections -lpthread -lrt -lm -L/usr/include


EXEC=livic_sync

all: $(EXEC)


livic_sync: capture.o main.o clientTCP.o
$(CC) -o livic_sync capture.o main.o clientTCP.o $(LDFLAGS)


clientTCP.o: ClientTCP.c main.h
$(CC) -o clientTCP.o -c ClientTCP.c $(CFLAGS)

capture.o: capture.c ClientTCP.h
$(CC) -o capture.o -c capture.c $(CFLAGS)


main.o: main.c capture.h
$(CC) -o main.o -c main.c $(CFLAGS)


clean:
rm *.o


mrproper: clean
rm $(EXEC)

vPro:~/Desktop/MIPSEE/Programme$ make

gcc -o capture.o -c capture.c -O3 -ffunction-sections -fdata-sections --sysroot=/home /mihai/Desktop/MIPSEE/Programme

capture.c:9:19: Schwerwiegender Fehler: stdio.h: Keine solche Datei oder kein solches Verzeichnis

Kompilierung abgebrochen.

machen:*[capture.o] Fehler 1


:~/Desktop/MIPSEE/Programme$ ls -l

insgesamt 216

-rw-r--r-- 1 mihai mihai 15905 Okt 30 19:34 capture.c

-rw-r--r-- 1 mihai mihai 453 17. Juli 2012 capture.h

-rw-r--r-- 1 mihai mihai 3228 18. Juli 2012 ClientTCP.c

-rw-r--r-- 1 mihai mihai 217 13. September 2012 ClientTCP.h

-rw-r--r-- 1 mihai mihai 948 10. Februar 2012 ClientUDP.c

-rw-r--r-- 1 mihai mihai 141 9. Februar 2012 ClientUDP.h

drwxrwxr-x 18 mihai mihai 4096 1. November 10:11 html

-rw-r--r-- 1 mihai mihai 6459 30. Okt. 19:31 main.c

-rw-r--r-- 1 mihai mihai 1374 21. Juni 2012 main.h

-rw-r--r-- 1 mihai mihai 865 1. November 12:46 Makefile

-rw-r--r-- 1 mihai mihai 870 1. November 12:30 Makefile~

-rw-rw-r-- 1 mihai mihai 75566 1. Nov. 10:11 mihaiDoxygenConfig

-rw-rw-r-- 1 mihai mihai 75568 Okt 30 14:57 mihaiDoxygenConfig~

drwxr-xr-x 3 mihai mihai 4096 30. Oktober 19:55 MIPSEE

:~/Desktop/MIPSEE/Programme$


:~/Desktop/MIPSEE/Programme$ lokalisieren stdio.h

/usr/include/stdio.h

/usr/include/boost/iostreams/filter/stdio.hpp

/usr/include/c++/4.6/tr1/stdio.h

/usr/include/glib-2.0/glib/gstdio.h

/usr/include/i386-linux-gnu/bits/stdio.h

/usr/include/unicode/ustdio.h

/usr/lib/perl/5.14.2/CORE/nostdio.h

/usr/lib/syslinux/com32/include/stdio.h

verwandte Informationen