Gast
#6434
Menschen, Veruntschuldigunen fur mein schlechte deutsche sprache, ich bin ein niederlander. Mein problehm ist das ich bei linken meiner code an der NutOS bibliotheken error meldungen bekomme. -----------[ KniP ]--------------- /usr/bin/avr-gcc -mmcu=atmega128 -L/afs2/nut-2.5.91/lib/gcc/atmega128 -lnutos -lnutdev -lnutnet -lnutpro -lnutfs -o kompas.out /afs2/nut-2.5.91/lib/gcc/atmega128/init.o i2c.o Sensor_Kompas.o main_thread.o /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0x0): In function `NutIdle': : undefined reference to `NutTimerInit' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0xc): In function `NutIdle': : undefined reference to `NutMain' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0xe): In function `NutIdle': : undefined reference to `NutMain' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0x14): In function `NutIdle': : undefined reference to `NutThreadCreate' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0x1a): In function `NutIdle': : undefined reference to `NutThreadSetPriority' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0x1e): In function `NutIdle': : undefined reference to `NutThreadYield' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0x84): In function `NutSaveConfig': : undefined reference to `eeprom_wb' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0xd2): In function `main': : undefined reference to `NutHeapAdd' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0xfa): In function `main': : undefined reference to `NutHeapAdd' /afs2/nut-2.5.91/lib/gcc/atmega128/init.o(.text+0x10e): In function `main': : undefined reference to `NutThreadCreate' Sensor_Kompas.o(.text+0x72): In function `Sensor_Kompas': : undefined reference to `NutPrintString_P' Sensor_Kompas.o(.text+0x82): In function `Sensor_Kompas': : undefined reference to `NutPrintString_P' Sensor_Kompas.o(.text+0x8e): In function `Sensor_Kompas': : undefined reference to `NutSleep' Sensor_Kompas.o(.text+0xbe): In function `Sensor_Kompas': : undefined reference to `NutPrintString_P' Sensor_Kompas.o(.text+0xd6): In function `Sensor_Kompas': : undefined reference to `NutPrintInteger' main_thread.o(.text+0x32): In function `THREATH': : undefined reference to `NutDeviceIOCtl' main_thread.o(.text+0x42): In function `THREATH': : undefined reference to `NutPrintString_P' main_thread.o(.text+0x4e): In function `THREATH': : undefined reference to `NutPrintString_P' main_thread.o(.text+0x5a): In function `THREATH': : undefined reference to `NutPrintString_P' main_thread.o(.text+0x66): In function `THREATH': : undefined reference to `NutPrintString_P' main_thread.o(.text+0x72): In function `THREATH': : undefined reference to `NutPrintString_P' main_thread.o(.text+0x86): In function `THREATH': : undefined reference to `NutThreadCreate' main_thread.o(.text+0x92): In function `THREATH': : undefined reference to `NutSleep' make: *** [kompas.out] Error 1 [root@gateway kompas]# -----------[ KniP ]--------------- Alle bibliotheken stehen im path und sind error und warning frei compiliert Alle undefined functionen stehen im index von de bibliotheken (avr-nm -s /afs2/nut-2.5.91/lib/gcc/atmega128/libnut*.a) Ich gebrauch avr-gcc-3.2.75.20021216-1.rh7x, avr-binutils-2.13.75.021216-1.rh7x und avr-libc-20021217cvs-1 (alle von rpm installiert) auf ein RH7.3 machine. Ich habe nichts gefunden auf meine suchereis auf das WWW und ich hoffe das jemand mich helfen kan. Danke, Gert Jan Kruizinga.