<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: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div>András Murányi wrote:<br>
&gt; Thanks! Without root i&#39;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&#39;t check out as root but it seems a previous &#39;sudo make install&#39; messed up the build directory. Chown didn&#39;t help, so i deleted the whole source and checked it out again - problem gone.<br>


<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
&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  -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&#39; 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 &quot;-fPIC&quot; 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><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" 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: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">

<font size="1">make[3]: Entering directory `/home/muranyia/Download/0.41/externals/miXed/cyclone&#39;</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   -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  -shared hammer/accum.o </font><br>

<font size="1">/usr/bin/ld: hammer/accum.o: relocation R_X86_64_32 against `a local symbol&#39; 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&#39;</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&#39;</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&#39;</font><br>

<font size="1">make: *** [install] Error 2</font><br></blockquote><br></div></div>Sadly i don&#39;t have the skills to dive into this by myself, so again i&#39;m hoping for your advice.<br><br>Thanks,<br><br>Andras<br>