PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Konflikt mit Borland, kein compilieren mehr möglich



ACU
19.04.2006, 11:24
Hallo!
Mein WinAVR lief bis vor kurzem anstandlos.
Jetzt habe ich Borland Builder 5 installiert und siehe da, nichts geht mehr.
Anscheind hat sich der Builder bei make eingetragen. Neuinstallation von WinAVR hat nichts gebracht. Beim compilieren bekomme ich nur die Meldung:

> "make.exe" all
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 379: Command syntax error
Error makefile 380: Command syntax error
Error makefile 381: Command syntax error
Error makefile 382: Command syntax error
Error makefile 385: Command syntax error
Error makefile 386: Command syntax error
Error makefile 388: Command syntax error
Error makefile 389: Command syntax error
Error makefile 391: Command syntax error
Error makefile 393: Command syntax error
Error makefile 394: Command syntax error
Error makefile 448: Colon expected
Error makefile 474: Too many rules for target '%.o'
Error makefile 501: Command syntax error
*** 14 errors during make ***

> Process Exit Code: 1
> Time Taken: 00:01



MfG ACU

ogni42
19.04.2006, 12:09
Du musst die Pfadangabe anpassen. Arbeitsplatz(RM)->Eigenschaften->Erweitert->Umgebungsvariablen

Dort dann den Pfad zur AVR Installation nach vorne.

IIRC findet Borland das eigene Make trotzdem ohne Probleme

ACU
19.04.2006, 12:22
Hallo!
Ich habe jetzt ein Fenster, in dem oben Umgebungsvariablen und Systemvariablen angezeigt werden.
Bei Umgebungsvariablen sind nur PATH TEMP und TMP.


MfG ACU

SprinterSB
19.04.2006, 12:24
hmmm also gefinden wir's ja noch.

Hast du mal ein "make clean" gemacht?

ACU
19.04.2006, 12:40
> "make.exe" clean
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 379: Command syntax error
Error makefile 380: Command syntax error
Error makefile 381: Command syntax error
Error makefile 382: Command syntax error
Error makefile 385: Command syntax error
Error makefile 386: Command syntax error
Error makefile 388: Command syntax error
Error makefile 389: Command syntax error
Error makefile 391: Command syntax error
Error makefile 393: Command syntax error
Error makefile 394: Command syntax error
Error makefile 448: Colon expected
Error makefile 474: Too many rules for target '%.o'
Error makefile 501: Command syntax error
*** 14 errors during make ***

> Process Exit Code: 1
> Time Taken: 00:00


Kommt bei make clean.


ACU

SprinterSB
19.04.2006, 14:06
Was steht dann an diesen Zeilen im Makefile?

ACU
19.04.2006, 21:44
Das ist eigentlich egal, Fakt ist, dass dort kein Borland hingehört.
Deshalb funktioniert es nicht, weil der Borland Make die Befehle nicht verarbeiten kann. Ich werde mal versuchen bei Programmers Notepad den Link zu ändern.


MfG ACU

SprinterSB
19.04.2006, 22:03
Achso, dann sag das doch ;-)

Hast du schon mal die Pfade kontrolliert? Wahrscheinlich hat sich Boland vor die bin-Pfade gehängt, in der dein make steht. Das OS führt das erste make aus, das es findet.

Falls du beide makes brauchst, hilft evtl. auch ein make umzubenennen. Bevorzugt das GNU make, weil die Aufrufe anzupassen sind.

Die PATH findest du bei den Umgebungsvariablen.

::Edit::

Oder das gewünschte make mit absolutem Pfad aufrufen.

ölgötz
09.05.2006, 06:45
Ich werde mal versuchen bei Programmers Notepad den Link zu ändern.


Moinsen ACU,

ich hab' das selbe Problem wie du. Hast du es lösen können? Falls ja, dann poste doch bitte mal, wie du es gemacht hast.
Ich finde auch keinen Pfad zum AVR in den Umgebungsvariablen, den ich nach vorne stellen könnte, wie es ogni42 vorgeschlagen hat. Und wo kann man was im Programmers Notepad ändern ?

Schöne Grüsse vom ölgötz

SprinterSB
09.05.2006, 12:07
Tools -> Options -> *Scheme-auswähl* -> *Tool-auswähl* -> Edit