<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 1, 2009, at 7:34 PM, András Murányi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">2009/10/1 IOhannes m zmoelnig <span dir="ltr">&lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; "> <div>András Murányi wrote:<br> &gt; Thanks! Without root i'm still getting those access denied errors, as root<br> <br> <br> </div>most likely because you checked out as root, which results in files<br> being owned by root and not you.<br> simple fix is:<br> % cd /home/muranyia/Download/0.41/<br> % chown -R muranyia .<br> <br> imho, you should do this before anything else and then continue to work<br> as user.<br> <div><br></div></blockquote><div><br>I didn't check out as root but it seems a previous 'sudo make install' messed up the build directory. Chown didn't help, so i deleted the whole source and checked it out again - problem gone.<br></div></div></blockquote><div><br></div><div><br></div><div>Never run any builds as root, its a good way to mess things up. &nbsp;:)</div><div><br></div><br><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; "><div><br>&gt; it goes as far as this:<br> &gt;<br> &gt; gcc -o ../bin/accum.pd_linux -Wall -W -Wstrict-prototypes -Wno-unused<br> &gt;&gt; -Wno-parentheses -Wno-switch -O2 -funroll-loops -fomit-frame-pointer -DUNIX<br> &gt;&gt; -I . -I ../../../pd/src -I ../shared -export_dynamic &nbsp;-shared hammer/accum.o<br> &gt;&gt;<br> &gt;&gt; /usr/bin/ld: hammer/accum.o: relocation R_X86_64_32 against `a local<br> &gt;&gt; symbol' can not be used when making a shared object; recompile with -fPIC<br> &gt;&gt; hammer/accum.o: could not read symbols: Bad value<br> <br> </div>like the others and the error message have said: recompile with -fPIC.<br> you will have to clean the build first (make clean), in order to make<br> the added "-fPIC" copiler flag have any affect on the created object files.<br> <br> </blockquote><div><br>Make clean got into and endless loop, had to delete source again :o/<br><br>I also took a look at this doc:<br><cite><a href="http://support.amd.com/us/Processor_TechDocs/32035.pdf">http://support.amd.com/us/Processor_TechDocs/32035.pdf</a></cite><br> ...and decided to add this to the Makefile:<br></div></div></blockquote><div><br></div><div><br></div><div>Which Makefile? &nbsp;It should be 0.41/packages/linux_make/Makefile</div><div><br></div><div>When you run 'uname -m' &nbsp;what does it tell you?</div><br><blockquote type="cite"><div class="gmail_quote"><div><blockquote style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; " class="gmail_quote"><font size="1"># AMD64</font><br><font size="1">ifeq ($(TARGET_PLATFORM),x86_64)</font><br> <font size="1">OPT_CFLAGS += -march=k8 -fPIC </font><br><font size="1">OPT_CFLAGS += -O3 -ffast-math</font><br><font size="1">endif</font><br></blockquote><br>...which concluded at this:<br><br><blockquote style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; " class="gmail_quote"> <font size="1">make[3]: Entering directory `/home/muranyia/Download/0.41/externals/miXed/cyclone'</font><br><font size="1">gcc -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O2 -funroll-loops -fomit-frame-pointer -DUNIX -I . -I ../../../pd/src -I ../shared&nbsp;&nbsp; -c -o hammer/accum.o hammer/accum.c</font><br> <font size="1">gcc -o ../bin/accum.pd_linux -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O2 -funroll-loops -fomit-frame-pointer -DUNIX -I . -I ../../../pd/src -I ../shared -export_dynamic&nbsp; -shared hammer/accum.o </font><br> <font size="1">/usr/bin/ld: hammer/accum.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC</font><br><font size="1">hammer/accum.o: could not read symbols: Bad value</font><br> <font size="1">collect2: ld returned 1 exit status</font><br><font size="1">make[3]: *** [../bin/accum.pd_linux] Error 1</font><br><font size="1">make[3]: Leaving directory `/home/muranyia/Download/0.41/externals/miXed/cyclone'</font><br> <font size="1">make[2]: *** [cyclone] Error 2</font><br><font size="1">make[2]: Leaving directory `/home/muranyia/Download/0.41/externals'</font><br><font size="1">make[1]: *** [externals_install] Error 2</font><br><font size="1">make[1]: Leaving directory `/home/muranyia/Download/0.41/packages'</font><br> <font size="1">make: *** [install] Error 2</font><br></blockquote><br></div></div>Sadly i don't have the skills to dive into this by myself, so again i'm hoping for your advice.<br></blockquote><div><br></div></div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="font-size: medium;">For whatever reason, the OPT_FLAGS didn't get set for cyclone again, since its the same error. &nbsp;Let's find that reason (see above questions).</span></div><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="font-size: medium;"><br></span></div><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="font-size: medium;">.hc<br class="Apple-interchange-newline"></span><div><br class="khtml-block-placeholder"></div><div><br></div><div>----------------------------------------------------------------------------<br></div><div><br class="khtml-block-placeholder"></div><div>&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;kill your television</div><br class="Apple-interchange-newline"></div></span> </div><br></body></html>