Hallo m.a.r.v.i.n,
also Becci und ich sitzen ca. 50 cm voneinander weg.
Das rumkopieren war meine letzte Idee/Hoffnung/Rettungsversuch
also am Anfang habe ich es so gemacht wie du geschrieben hast.
1.) ASURO_src nicht angetastet
2.) lib kopiert
3.) makefile angepasst
4.) asurolib.a in Winavr\avr\lib kopiert
5.) make-lib.bat
dann sollte es doch gehen, aber es kommt
Code:
> "C:\Programmiertools\ASURO_src\FirstTry\Test-all.bat" 

C:\Programmiertools\ASURO_src\FirstTry>make all 
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -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) 4.1.2 (WinAVR 20070525)
Copyright (C) 2006 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 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o
In file included from asuro.h:34,
                 from asuro.c:29,
                 from test.c:1:
c:/programmiertools/winavr/bin/../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete.  Use <avr/interrupt.h>."
test.c: In function 'PrintInt':
test.c:14: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c: In function 'main':
test.c:72: warning: implicit declaration of function 'Gettime'
test.c:89: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:90: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:92: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:96: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:97: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:99: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:133: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:134: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:136: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:140: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:141: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:143: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:169: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:170: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:172: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:176: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:177: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:179: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:211: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:212: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:214: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:218: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:219: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:221: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:233:15: warning: no newline at end of file
test.c:233: error: expected declaration or statement at end of input
make: *** [test.o] Error 1

> Process Exit Code: 2
> Time Taken: 00:00
wobei ich denke das
test.c:72: warning: implicit declaration of function 'Gettime'
darauf hindeutet das er die lib nicht findet.
Dann habe ich irgendwo gelesen das man die orginal asuro.c/h überschreiben muss -> geht auch nicht
dann habe ich mit der rumkopiererrei angefangen -> tut auch nicht
was jetzt? ach installieren geht nicht da er AVR nicht findet
mir ist klar das es an mir und nicht an der lib liegt, sonst würde es ja bei den anderen auch nicht gehen, aber was ich falsch mache blick ich nicht.