[PD-dev] compiling Pd-0.40.3-extended in a core 2 duo

Hans-Christoph Steiner hans at eds.org
Tue Nov 18 02:34:34 CET 2008


I think you want to set the CFLAGS in packages/linux_make/Makefile

.hc

On Nov 16, 2008, at 7:31 PM, jano . wrote:

> hi! still trying..
>
> 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'
> externals/miXed/cyclone <--- the same
> but i'm stacked with the toxy, this is the extract:
>
> t at jano-mac:/home/jano/pure-data/externals/miXed/toxy#
> root at jano-mac:/home/jano/pure-data/externals/miXed/toxy# make clean
> rm -f Makefile.deps
> touch Makefile.deps
> chmod 666 Makefile.deps
> rm -f *.o *.pd_linux
> root at jano-mac:/home/jano/pure-data/externals/miXed/toxy# make
> gcc -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno- 
> switch -fPIC -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
> tot.c: En la función 'tot_dogetpathname':
> tot.c:160: aviso: conversión de puntero a entero de tamaño diferente
> tot.c: En la función 'tot_detach':
> tot.c:402: aviso: conversión de puntero a entero de tamaño diferente
> tot.c: En la función 'tot_attach':
> tot.c:429: aviso: conversión de puntero a entero de tamaño diferente
> tot.c: En la función 'tot_capture':
> tot.c:464: aviso: conversión de puntero a entero de tamaño diferente
> tot.c: En la función 'tot_new':
> tot.c:571: aviso: conversión de puntero a entero de tamaño diferente
> tot.c:595: aviso: conversión de puntero a entero de tamaño diferente
> gcc -o ../bin/tot.pd_linux -Wall -W -Wstrict-prototypes -Wno-unused  
> -Wno-parentheses -Wno-switch -fPIC -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
> /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; recompile with -fPIC
> ../shared/common/props.o: could not read symbols: Bad value
> collect2: ld devolvió el estado de salida 1
> make: *** [../bin/tot.pd_linux] Error 1
> root at jano-mac:/home/jano/pure-data/externals/miXed/toxy#
>
> i put the -fPIC but the ld insist in his negation! i test without  
> nocona and m64 with the same result
>
> thanks again
> ciao
>
>
>
> 2008/11/16 jano . <jano2358 at gmail.com>
> 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:
> can't find package base64
> invalid command name ".xa59bf0.c"
> invalid command name ".xa59bf0.c"
> invalid command name ".xa59bf0.c"
> invalid command name ".xa59bf0.c"
>
> what is the package base64?
>
>
> 2008/11/16 ydegoyon <ydegoyon at gmail.com>
>
> ola,
>
> but this is not the pd-giss you're using here,
> pd-giss should be started with :
>
> /usr/local/pd/bin/start-pd
>
> ( not to conflict with extended )
>
> saludos,
> sevy
>
>
>
> -- 
> ~jano~¬
>
>
>
> -- 
> ~jano~¬
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev



------------------------------------------------------------------------ 
----

There is no way to peace, peace is the way.       -A.J. Muste


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20081117/5fe2a271/attachment.htm>


More information about the Pd-dev mailing list