<?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=4&amp;t=9264&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2014-11-15T18:39:36+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=9264&amp;mode</id>
<entry>
<author><name><![CDATA[Radzio M.]]></name></author>
<updated>2014-11-15T18:39:36+01:00</updated>
<published>2014-11-15T18:39:36+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104130#p104130</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104130#p104130"/>
<title type="html"><![CDATA[Re: Problem kompilacji.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104130#p104130"><![CDATA[
Znalazłem rozwiązanie na blogu mirka......<br />P.S tam już chyba jest wszystko <img src="https://forum.atnel.pl/images/smilies/icon_e_biggrin.gif" alt=":D" title="Bardzo szczęśliwy" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=396">Radzio M.</a> — 15 lis 2014, o 18:39</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PROTON]]></name></author>
<updated>2014-11-15T18:29:26+01:00</updated>
<published>2014-11-15T18:29:26+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104129#p104129</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104129#p104129"/>
<title type="html"><![CDATA[Re: Problem kompilacji.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104129#p104129"><![CDATA[
Wrzuć toolchaina do głównego katalogu na dysku C. Nie używaj spacji w nazwach katalogów.<br />Zamiast:<br />c:/program files (x86)/atmel/avr tools/avr toolchain<br />zainstaluj go w:<br />C:/toolchain<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1315">PROTON</a> — 15 lis 2014, o 18:29</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Radzio M.]]></name></author>
<updated>2014-11-15T18:06:02+01:00</updated>
<published>2014-11-15T18:06:02+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104127#p104127</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104127#p104127"/>
<title type="html"><![CDATA[Problem kompilacji.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=9264&amp;p=104127#p104127"><![CDATA[
Witam. Buduję pewien projekt z niepowodzeniem otrzymuję w konsoli :<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">**** Build of configuration Release for project VM_TEST ****<br /><br />make all <br />Building file: ../main.c<br />Invoking: AVR Compiler<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega128 -DF_CPU=14745600UL -MMD -MP -MF&quot;main.d&quot; -MT&quot;main.d&quot; -c -o &quot;main.o&quot; &quot;../main.c&quot;<br />Finished building: ../main.c<br /> <br />Building target: VM_TEST.elf<br />Invoking: AVR C Linker<br />avr-gcc -Wl,-Map,VM_TEST.map -mmcu=atmega128 -o &quot;VM_TEST.elf&quot;  ./VM/vm.o  ./io.o ./main.o   <br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(fp_arccos.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/fp_arccos.S:76:(.text.avr-libc.fplib+0x24): relocation truncated to fit: R_AVR_13_PCREL against symbol `__subsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_addsub_sf.o)<br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(fp_powsodd.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/fp_powsodd.S:59:(.text.avr-libc.fplib+0x10): relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_mul_sf.o)<br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(fp_powsodd.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/fp_powsodd.S:69:(.text.avr-libc.fplib+0x20): relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_mul_sf.o)<br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(inverse.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/inverse.S:50:(.text.avr-libc.fplib+0xc): relocation truncated to fit: R_AVR_13_PCREL against symbol `__divsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_div_sf.o)<br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(log10.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/log10.S:47:(.text.avr-libc.fplib+0xa): relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_mul_sf.o)<br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(log.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/log.S:96:(.text.avr-libc.fplib+0x46): relocation truncated to fit: R_AVR_13_PCREL against symbol `__addsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_addsub_sf.o)<br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(log.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/log.S:100:(.text.avr-libc.fplib+0x4e): relocation truncated to fit: R_AVR_13_PCREL against symbol `__addsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_addsub_sf.o)<br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(modf.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/modf.S:90:(.text.avr-libc.fplib+0x3e): relocation truncated to fit: R_AVR_13_PCREL against symbol `__subsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_addsub_sf.o)<br />c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr51\libc.a(square.o):/data2/home/toolsbuild/jenkins-knuth/workspace/avr8-gnu-toolchain/src/avr-libc/libm/fplib/square.S:43:(.text.avr-libc.fplib+0x4): relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsf3' defined in .text section in c:/program files (x86)/atmel/avr tools/avr toolchain/bin/../lib/gcc/avr/4.7.2/avr51\libgcc.a(_mul_sf.o)<br />collect2.exe: error: ld returned 1 exit status<br />make: *** &#91;VM_TEST.elf&#93; Błąd 1<br /><br />**** Build Finished ****<br /></div><br /><br />Dostałem podpowiedź, że muszę dołączyć do linkowania bibliotęke libm.a. Szukam w sieci i nie znalazłem. Czy ona jest gdzieś na dysku? Korzystam z eclipse + atmel toolchain. Jak to zrobić?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=396">Radzio M.</a> — 15 lis 2014, o 18:06</p><hr />
]]></content>
</entry>
</feed>