ok vilen dank !
ich werts gleich mal testen
ok vilen dank !
ich werts gleich mal testen
habe schreiben erst heute gelernt.
bin legasteniger.
by Ferdinand.
So ich habe nun das gleiche broble wie dort
https://www.roboternetz.de/phpBB2/viewtopic.php?t=25888
und bei mir komt folgente feler meldung
[scroll:22e44da6c4]
C:\Dokumente und Einstellungen\Donald\Eigene Dateien\Download\ASURO\Asuro-CD\ASURO_src\FirstTry>make all
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o test.o asuro.o --output test.elf -Wl,-Map=test.map,--cref -lm
test.o(.text+0x74): In function `main':
C:\Dokumente und Einstellungen\Donald\Eigene Dateien\Download\ASURO\Asuro-CD\ASURO_src\FirstTry/test.c:27: undefined reference to `PrintInt'
test.o(.text+0x82):C:\Dokumente und Einstellungen\Donald\Eigene Dateien\Download\ASURO\Asuro-CD\ASURO_src\FirstTry/test.c:29: undefined reference to `PrintInt'
make: *** [test.elf] Error 1
> Process Exit Code: 2
[/scroll:22e44da6c4]
Wie kan ich den das einfacher Compilieren ???
oder kan mir das einer machen
Danke
M.F.G Ferdinand
habe schreiben erst heute gelernt.
bin legasteniger.
by Ferdinand.
0o ich sehe gerade das das doof zum lessen ist
hir noch mal
C:\Dokumente und Einstellungen\Donald\Eigene Dateien\Download\ASURO\Asuro-CD\ASURO_src\FirstTry>make all
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o test.o asuro.o --output test.elf -Wl,-Map=test.map,--cref -lm
test.o(.text+0x74): In function `main':
C:\Dokumente und Einstellungen\Donald\Eigene Dateien\Download\ASURO\Asuro-CD\ASURO_src\FirstTry/test.c:27: undefined reference to `PrintInt'
test.o(.text+0x82):C:\Dokumente und Einstellungen\Donald\Eigene Dateien\Download\ASURO\Asuro-CD\ASURO_src\FirstTry/test.c:29: undefined reference to `PrintInt'
make: *** [test.elf] Error 1
> Process Exit Code: 2
habe schreiben erst heute gelernt.
bin legasteniger.
by Ferdinand.
du brauchst die neue lib.
kannste dir bei sourceforge runterladen
...
und was sol ich den dan mit der machen
wo sol ich die hin tun usw
habe schreiben erst heute gelernt.
bin legasteniger.
by Ferdinand.
wen ich das ales neu mache mit der neuen lib.
dan kommt das
C:\Dokumente und Einstellungen\Donald\Eigene Dateien\Download\ASURO\asuro_v261\examples\FirstTr y>make all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../../lib/src/asuro.lst ../../lib/src/asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
[ -s test.d ] || rm -f test.d
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
avr-gcc -c -mmcu=atmega8 -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o
avr-gcc -c -mmcu=atmega8 -I. -g -Os -I../../lib/inc -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../../lib/src/asuro.lst ../../lib/src/asuro.c -o asuro.o
../../lib/src/asuro.c:184: warning: return type defaults to `int'
../../lib/src/asuro.c:184: warning: function declaration isn't a prototype
../../lib/src/asuro.c: In function `SIGNAL':
../../lib/src/asuro.c:188: warning: control reaches end of non-void function
../../lib/src/asuro.c: At top level:
../../lib/src/asuro.c:195: warning: return type defaults to `int'
../../lib/src/asuro.c:195: warning: function declaration isn't a prototype
../../lib/src/asuro.c:195: error: redefinition of `SIGNAL'
../../lib/src/asuro.c:184: error: `SIGNAL' previously defined here
../../lib/src/asuro.c:212: warning: return type defaults to `int'
../../lib/src/asuro.c:212: warning: function declaration isn't a prototype
../../lib/src/asuro.c:212: error: redefinition of `SIGNAL'
../../lib/src/asuro.c:195: error: `SIGNAL' previously defined here
make: *** [asuro.o] Error 1
> Process Exit Code: 2
habe schreiben erst heute gelernt.
bin legasteniger.
by Ferdinand.
hast du die alte lib gerlöscht, und die neue nur dazukopiert?
könnt sein, dasses mit nem neueren winavr oder so geht
...
sol ich mal alles komplet runter machen und mal das was hir beschriben wirt aus brobiren
https://www.roboternetz.de/phpBB2/ze...ight=avr+c+cgg
habe schreiben erst heute gelernt.
bin legasteniger.
by Ferdinand.
also
du lädtst die neue lib runter (2.6, NICHT version 3.0) und entpacks sie. da drin ist eine datei asuro.c und eine asuro.h. diese beiden dateien kopierst du in das verzeichnis in dem auch die test.c liegt, in der du dein programm schreibst. dadurch wird die alte asuro.c und die alte asuro.h überschrieben. dann versuchst du das nochmal zu kompilieren.
kleiner tip: über deinen posts ist ein button "edit". dadurch kannst du deine posts editieren, wenn sie mal schwer zu lesen sind... =)
Lesezeichen