Hallo, ich habe ein Problem beim komilieren des ethernut Pakets, das config.log ist angehängt.. Kann mir jemand helfen? (avr-gcc läuft und PATH ist /usr/local/avr/bin:/usr/local/avr/avr/bin:/sbin:/bin:/usr/sbin:/usr/bin: /usr/local/bin:/home/flux/CONFIG:/opt/maple8/bin:/opt/eclipse ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Timo
Gast
#366669
Das vom configure Script per GCC übersetzte Programm a.out ist auf deinem Entwiclungsrechner nicht lauffähig. Leider sind auch im Logfile keine Angaben vorhanden, wieso nicht. Du kannst probieren, den Kompilerlauf mit der Testsource nachzustellen (gcc conftest.c) und dabei auf Fehler achten oder du kannst ein einfaches 'Hello World' kompilieren, um zu sehen, ob der GCC korrekt arbeitet. Du kannst auch die Attribute von a.out prüfen, ob die Datei für dich als User bzw. für in deinem Account ausgeführte Scripte ausführbar ist.