<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=51&amp;t=16817&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2018-12-31T08:30:46+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=51&amp;t=16817&amp;mode</id>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2018-12-31T08:30:46+01:00</updated>
<published>2018-12-31T08:30:46+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=215255#p215255</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=215255#p215255"/>
<title type="html"><![CDATA[Re: Problem collect2.exe: error: ld returned 1 exit status]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=215255#p215255"><![CDATA[
wydaje mi się, że ten sam temat już wałkowałeś, i znowu nie zapisujesz pliku przed kompilacją albo nie ustawiasz sobie tej opcji autosave żeby samo się zapisywało po wciśnięciu BUILD<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 31 gru 2018, o 08:30</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Wójcik Robert]]></name></author>
<updated>2016-11-16T01:19:17+01:00</updated>
<published>2016-11-16T01:19:17+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174847#p174847</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174847#p174847"/>
<title type="html"><![CDATA[Re: Problem collect2.exe: error: ld returned 1 exit status]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174847#p174847"><![CDATA[
Problem połowicznie rozwiązany.<br /><br />Nowy workspace, nowy projekt, nowy main.c, wpisałem program mi zadziałało.<br /><br />Zaimportowałem pliki ze starego workspace i już wywala błędy. ALE, jak utworzyłem nowe pliki i hamsko skopiowałem listing programu to już zadziałało.<br /><br />Dziwne. <br /><br />Najważniejsze że działa <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1099">Wójcik Robert</a> — 16 lis 2016, o 01:19</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Wójcik Robert]]></name></author>
<updated>2016-11-14T16:50:52+01:00</updated>
<published>2016-11-14T16:50:52+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174722#p174722</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174722#p174722"/>
<title type="html"><![CDATA[Re: Problem collect2.exe: error: ld returned 1 exit status]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174722#p174722"><![CDATA[
<div class="quotetitle">Sparrow-hawk napisał(a):</div><div class="quotecontent"><br />Pokaż projekt, który kompilujesz.<br /></div><br />Projekty z książki, jak wrócę z pracy to wrzucę listing.<br /><br /><br /><div class="quotetitle">HomoChemicus napisał(a):</div><div class="quotecontent"><br />Z tego co widzę to masz spację w nazwie projektu. Zastąp ją np. &quot;_&quot;.<br /></div><br /><br />Zrobię tak, zobaczymy (ale dopiero wieczorem). In na sprawa, że do tej pory działało :/<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1099">Wójcik Robert</a> — 14 lis 2016, o 16:50</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Sparrow-hawk]]></name></author>
<updated>2016-11-14T09:46:45+01:00</updated>
<published>2016-11-14T09:46:45+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174699#p174699</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174699#p174699"/>
<title type="html"><![CDATA[Re: Problem collect2.exe: error: ld returned 1 exit status]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174699#p174699"><![CDATA[
Pokaż projekt, który kompilujesz.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=10614">Sparrow-hawk</a> — 14 lis 2016, o 09:46</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[HomoChemicus]]></name></author>
<updated>2016-11-14T09:17:58+01:00</updated>
<published>2016-11-14T09:17:58+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174696#p174696</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174696#p174696"/>
<title type="html"><![CDATA[Re: Problem collect2.exe: error: ld returned 1 exit status]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174696#p174696"><![CDATA[
Z tego co widzę to masz spację w nazwie projektu. Zastąp ją np. &quot;_&quot;.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=10470">HomoChemicus</a> — 14 lis 2016, o 09:17</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Mysteziz]]></name></author>
<updated>2016-11-13T23:54:35+01:00</updated>
<published>2016-11-13T23:54:35+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174684#p174684</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174684#p174684"/>
<title type="html"><![CDATA[Re: Problem collect2.exe: error: ld returned 1 exit status]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174684#p174684"><![CDATA[
-zrób clean projektu i jeszcze raz kompilacje<br />-skopioj projekt do innego workspace i tam skompiluj a potem przenieś znowu do tego pierwszego workspace<br />-jeśli masz programy z książki to możesz wywalić cały workspace i zaimportować wszystko jeszcze raz<br /><br />ja znam te sposoby które opisałem, może jeszcze ktoś coś podpowie<br />pozdrawiam<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=14012">Mysteziz</a> — 13 lis 2016, o 23:54</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Wójcik Robert]]></name></author>
<updated>2016-11-14T08:12:04+01:00</updated>
<published>2016-11-13T22:59:33+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174677#p174677</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174677#p174677"/>
<title type="html"><![CDATA[Problem collect2.exe: error: ld returned 1 exit status]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=16817&amp;p=174677#p174677"><![CDATA[
Witam.<br /><br />Eclipse działał fajnie, l\kompilowałem i mrygałem diodami.<br /><br />Aż nagle ni z gruszki ni z pietruszki problem:<br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />22:51:52 **** Build of configuration Release for project 1 ****<br />make all <br />'Building file: ../main.c'<br />'Invoking: AVR Compiler'<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega16 -DF_CPU=1000000UL -MMD -MP -MF&quot;main.d&quot; -MT&quot;main.o&quot; -c -o &quot;main.o&quot; &quot;../main.c&quot;<br />'Finished building: ../main.c'<br />' '<br />'Building target: 1.elf'<br />'Invoking: AVR C Linker'<br />avr-gcc -Wl,-Map,1.map -mmcu=atmega16 -o &quot;1.elf&quot;  ./main.o   <br />d:/program files/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr5/crtm16.o: In function `__vectors':<br />/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/crt1/gcrt1.S:52: undefined reference to `main'<br />collect2.exe: error: ld returned 1 exit status<br />make: *** [1.elf] Błąd 1<br /><br />22:51:58 Build Finished (took 5s.782ms)<br /></div><br />System: Win XP, Java 7 10 update, Athlon 3,2 (chyba), bez antywira i InternetSecurity - czyli staroć ale działało.<br /><br />Po kilku próbach decyzja:<br />- przywracanie systemu,<br />- pobranie gołego eclipse ze trony projektu (Mars)<br />- instalacja java 7 od Mirka z bloga (w dziale download chyba),<br />- instalacja ATMEL_toolchain_3_4 z uaktualnieniem (jw z bloga)<br />- instalacja plagina w eclipse<br />- nowy workspace i nowy plik main.c,<br />- zaptaszkowane auto sejwy, nowe AVR Dude z MKAVR i ustawione ścieżki do toolchaina + avrdude<br />- ustawiony programator usbasp<br />- ten sam problem się powtórzył, wpis z konsoli powyżej.<br /><br />Co jeszcze mogę zrobić? Bo działało i programowałem a nagle kupa :/ i dwa dni poszły...<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1099">Wójcik Robert</a> — 13 lis 2016, o 22:59</p><hr />
]]></content>
</entry>
</feed>