hi people<br> <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't want to be included on this, they don't follow the rules from the Makefile inside of packages/linux_make <br><br> P_VERSION=\"0.12.5-darcs\" -o pdp_3d_state.o -c pdp_3d_state.c<br>
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -g -I../../../../pd/src -I../../include -I../include -I/usr/X11R6/include -DPDP_VERSION=\"0.12.5-darcs\" -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'<br>make -C include<br>make[4]: se ingresa al directorio `/home/jano/pure-data/externals/pdp/opengl/include'<br>make[4]: No se hace nada para `all'.<br>
make[4]: se sale del directorio `/home/jano/pure-data/externals/pdp/opengl/include'<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' 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'<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'<br>make[1]: *** [externals_install] Error 2<br>make[1]: se sale del directorio `/home/jano/pure-data/packages'<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 i don't know the 'rigth' 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 && 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'<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 -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' 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'<br>
make[2]: *** [toxy_install] Error 2<br>make[2]: se sale del directorio `/home/jano/pure-data/externals'<br>make[1]: *** [externals_install] Error 2<br>make[1]: se sale del directorio `/home/jano/pure-data/packages'<br>
make: *** [install] Error 2<br>root@jano-mac:/home/jano/pure-data/packages/linux_make# <br><br><br>i mean: i'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"><<a href="mailto:hans@eds.org">hans@eds.org</a>></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'k know why so i add by hand, they are: externals/pdp/opengl <--- i modify the ../Makefile.common to add -march=nocona -m64 -fPIC because ld say-me 'recompile with -fPIC'<br>
externals/miXed/cyclone <--- the same<br>but i'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 -c -o tot.o tot.c<br>
tot.c: En la función 'tot_dogetpathname':<br>tot.c:160: aviso: conversión de puntero a entero de tamaño diferente<br>tot.c: En la función 'tot_detach':<br>tot.c:402: aviso: conversión de puntero a entero de tamaño diferente<br>
tot.c: En la función 'tot_attach':<br>tot.c:429: aviso: conversión de puntero a entero de tamaño diferente<br>tot.c: En la función 'tot_capture':<br>tot.c:464: aviso: conversión de puntero a entero de tamaño diferente<br>
tot.c: En la función 'tot_new':<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 -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' 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"><<a href="mailto:jano2358@gmail.com" target="_blank">jano2358@gmail.com</a>></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't find package base64<br>invalid command name ".xa59bf0.c"<br>invalid command name ".xa59bf0.c"<br>
invalid command name ".xa59bf0.c"<br>invalid command name ".xa59bf0.c"<br><br>what is the package base64?<br><br><br><div class="gmail_quote">2008/11/16 ydegoyon <span dir="ltr"><<a href="mailto:ydegoyon@gmail.com" target="_blank">ydegoyon@gmail.com</a>></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'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. -A.J. Muste</div>
<br></span></span> </div><br></div></blockquote></div><br><br clear="all"><br>-- <br>~jano~¬<br>