hi people<br>&nbsp;<br><br>thanks hans, but is almost the same:<br><br>i do the clean, so: make distclean and svn update<br>checked the makefile and put OPT_CFLAGS += -fPIC -march=nocona -m64 in packages/linux-make/Makefile, take off the eviroment CFLAG<br>
and do make install, but the opengl don&#39;t want to be included on this, they don&#39;t follow the rules from the Makefile inside of packages/linux_make <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P_VERSION=\&quot;0.12.5-darcs\&quot; -o pdp_3d_state.o -c pdp_3d_state.c<br>
cc -DPD -O2 -funroll-loops -fomit-frame-pointer&nbsp; -ffast-math -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -g -I../../../../pd/src&nbsp; -I../../include -I../include -I/usr/X11R6/include -DPDP_VERSION=\&quot;0.12.5-darcs\&quot; -o pdp_3d_subcontext.o -c pdp_3d_subcontext.c<br>
make[4]: se sale del directorio `/home/jano/pure-data/externals/pdp/opengl/modules&#39;<br>make -C include<br>make[4]: se ingresa al directorio `/home/jano/pure-data/externals/pdp/opengl/include&#39;<br>make[4]: No se hace nada para `all&#39;.<br>
make[4]: se sale del directorio `/home/jano/pure-data/externals/pdp/opengl/include&#39;<br>rm -f pdp_opengl.pd_linux<br>cc -export_dynamic -shared -o pdp_opengl.pd_linux modules/*.o system/*.o -lGL -lglut -g<br>/usr/bin/ld: modules/pdp_3d_color.o: relocation R_X86_64_32 against `a local symbol&#39; can not be used when making a shared object; recompile with -fPIC<br>
modules/pdp_3d_color.o: could not read symbols: Bad value<br>collect2: ld devolvió el estado de salida 1<br>make[3]: *** [pdp_opengl.pd_linux] Error 1<br>make[3]: se sale del directorio `/home/jano/pure-data/externals/pdp/opengl&#39;<br>
make[2]: *** [/home/jano/pure-data/externals/pdp/opengl/pdp_opengl.pd_linux] Error 2<br>make[2]: se sale del directorio `/home/jano/pure-data/externals&#39;<br>make[1]: *** [externals_install] Error 2<br>make[1]: se sale del directorio `/home/jano/pure-data/packages&#39;<br>
make: *** [install] Error 2<br>root@jano-mac:/home/jano/pure-data/packages/linux_make# less Makefile <br>root@jano-mac:/home/jano/pure-data/packages/linux_make# <br><br><br><br>so, i do in externals/pdp/opengl/Makefile.config&nbsp;&nbsp; i don&#39;t know the &#39;rigth&#39; way, and it works...this part<br>
later i have the same error than before:<br><br>cd /home/jano/pure-data/externals/miXed/toxy &amp;&amp; make OUT_DIR=/home/jano/pure-data/packages/linux_make/build//usr/lib/pd/extra/toxy<br>make[3]: se ingresa al directorio `/home/jano/pure-data/externals/miXed/toxy&#39;<br>
gcc -o /home/jano/pure-data/packages/linux_make/build//usr/lib/pd/extra/toxy/tot.pd_linux -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O2<span style="background-color: rgb(255, 102, 102);"> -fPIC</span> -march=nocona -m64 -DUNIX -I . -I ../../../pd/src -I ../shared -export_dynamic&nbsp; -shared tot.o ../shared/unstable/forky.o ../shared/common/loud.o ../shared/common/grow.o ../shared/common/os.o ../shared/hammer/file.o ../shared/hammer/gui.o ../shared/common/props.o ../shared/toxy/scriptlet.o <br>
/usr/bin/ld: ../shared/common/props.o: relocation R_X86_64_32 against `a local symbol&#39; can not be used when making a shared object; <span style="background-color: rgb(255, 102, 102);">recompile with -fPIC</span><br>../shared/common/props.o: could not read symbols: Bad value<br>
collect2: ld devolvió el estado de salida 1<br>make[3]: *** [/home/jano/pure-data/packages/linux_make/build//usr/lib/pd/extra/toxy/tot.pd_linux] Error 1<br>make[3]: se sale del directorio `/home/jano/pure-data/externals/miXed/toxy&#39;<br>
make[2]: *** [toxy_install] Error 2<br>make[2]: se sale del directorio `/home/jano/pure-data/externals&#39;<br>make[1]: *** [externals_install] Error 2<br>make[1]: se sale del directorio `/home/jano/pure-data/packages&#39;<br>
make: *** [install] Error 2<br>root@jano-mac:/home/jano/pure-data/packages/linux_make# <br><br><br>i mean: i&#39;m using -fPIC but ld still reclaims for him!<br><br><br>salut<br><br><br><br><br><div class="gmail_quote">2008/11/18 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@eds.org">hans@eds.org</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 style="">
<div><br></div><div>I think you want to set the CFLAGS in packages/linux_make/Makefile</div><div><br></div><div>.hc</div><br><div><div><div></div><div class="Wj3C7c"><div>On Nov 16, 2008, at 7:31 PM, jano . wrote:</div><br>
</div></div><blockquote type="cite"><div><div></div><div class="Wj3C7c">hi! still trying..<br><br>i discover some parts of the source where the enviroment CFLAGS has no effect, i don&#39;k know why so i add by hand, they are: externals/pdp/opengl &lt;--- i modify the ../Makefile.common to add -march=nocona -m64 -fPIC because ld say-me &#39;recompile with -fPIC&#39;<br>
 externals/miXed/cyclone &lt;--- the same<br>but i&#39;m stacked with the toxy, this is the extract:<br><br>t@jano-mac:/home/jano/pure-data/externals/miXed/toxy# <br>root@jano-mac:/home/jano/pure-data/externals/miXed/toxy# make clean<br>
 rm -f Makefile.deps<br>touch Makefile.deps<br>chmod 666 Makefile.deps<br>rm -f *.o *.pd_linux<br>root@jano-mac:/home/jano/pure-data/externals/miXed/toxy# make<br>gcc -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch <span style="background-color: rgb(255, 255, 102);">-fPIC</span> -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -march=nocona -m64 -DUNIX -I . -I ../../../pd/src -I ../shared&nbsp;&nbsp; -c -o tot.o tot.c<br>
 tot.c: En la función &#39;tot_dogetpathname&#39;:<br>tot.c:160: aviso: conversión de puntero a entero de tamaño diferente<br>tot.c: En la función &#39;tot_detach&#39;:<br>tot.c:402: aviso: conversión de puntero a entero de tamaño diferente<br>
 tot.c: En la función &#39;tot_attach&#39;:<br>tot.c:429: aviso: conversión de puntero a entero de tamaño diferente<br>tot.c: En la función &#39;tot_capture&#39;:<br>tot.c:464: aviso: conversión de puntero a entero de tamaño diferente<br>
 tot.c: En la función &#39;tot_new&#39;:<br>tot.c:571: aviso: conversión de puntero a entero de tamaño diferente<br>tot.c:595: aviso: conversión de puntero a entero de tamaño diferente<br>gcc -o ../bin/tot.pd_linux -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch <span style="background-color: rgb(255, 255, 102);">-fPIC </span>-O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -march=nocona -m64 -DUNIX -I . -I ../../../pd/src -I ../shared -export_dynamic&nbsp; -shared tot.o ../shared/unstable/forky.o ../shared/common/loud.o ../shared/common/grow.o ../shared/common/os.o ../shared/hammer/file.o ../shared/hammer/gui.o ../shared/common/props.o ../shared/toxy/scriptlet.o <br>
 /usr/bin/ld: ../shared/common/props.o: relocation R_X86_64_32 against `a local symbol&#39; can not be used when making a shared object; <span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 102);">recompile with -fPIC</span><br>
 ../shared/common/props.o: could not read symbols: Bad value<br>collect2: ld devolvió el estado de salida 1<br>make: *** [../bin/tot.pd_linux] Error 1<br>root@jano-mac:/home/jano/pure-data/externals/miXed/toxy# <br><br>i put the -fPIC but the ld insist in his negation! i test without nocona and m64 with the same result<br>
 <br>thanks again<br>ciao<br><br><br><br><div class="gmail_quote">2008/11/16 jano . <span dir="ltr">&lt;<a href="mailto:jano2358@gmail.com" target="_blank">jano2358@gmail.com</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;">
 is almost the same, i load the HTDj patch from the open menu and from the main.pd patch, in the command line they say:<br>can&#39;t find package base64<br>invalid command name &quot;.xa59bf0.c&quot;<br>invalid command name &quot;.xa59bf0.c&quot;<br>
 invalid command name &quot;.xa59bf0.c&quot;<br>invalid command name &quot;.xa59bf0.c&quot;<br><br>what is the package base64?<br><br><br><div class="gmail_quote">2008/11/16 ydegoyon <span dir="ltr">&lt;<a href="mailto:ydegoyon@gmail.com" target="_blank">ydegoyon@gmail.com</a>&gt;</span><div>
 <div></div><div><br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">ola,<br> <br> but this is not the pd-giss you&#39;re using here,<br> pd-giss should be started with :<br>
 <br> /usr/local/pd/bin/start-pd<br> <br> ( not to conflict with extended )<br> <br> saludos,<br> sevy<br> </blockquote></div></div></div><br><br clear="all"><br>-- <br><font color="#888888">~jano~¬<br> </font></blockquote>
</div><br><br clear="all"><br>-- <br>~jano~¬<br></div></div><div style="margin: 0px;">_______________________________________________</div><div style="margin: 0px;">Pd-dev mailing list</div><div style="margin: 0px;"><a href="mailto:Pd-dev@iem.at" target="_blank">Pd-dev@iem.at</a></div>
<div style="margin: 0px;"><a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a></div> </blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 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-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>
<span style="border-collapse: separate; border-spacing: 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-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<br style="font-family: Tahoma;"></div><div>----------------------------------------------------------------------------</div><div><br style="font-family: Tahoma;"></div><div>There is no way to peace, peace is the way. &nbsp; &nbsp;&nbsp; &nbsp;-A.J. Muste</div>
<br></span></span> </div><br></div></blockquote></div><br><br clear="all"><br>-- <br>~jano~¬<br>