holas!<br><br>si que tengo el libc6-dev , pero la versión de 64 --&gt; /usr/include/gnu/stubs-64.h y /usr/include/gnu/stubs.h pero no el de 32, lo extraño es que cuando le refiero al de 64 me dice lo de las incompatibilidades del ld:<br>
<br>cc -m32 -export_dynamic -shared -o bonk~.pd_linux bonk~.o -lc -lm<br>
/usr/bin/ld: skipping incompatible<br>
/usr/lib/gcc/x86_64-linux-gnu/<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">4.2.4/../../../libc.so when searching for -lc<br>
/usr/bin/ld: skipping incompatible<br>
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../libc.a when searching for -lc<br>
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching<br>
for -lc<br>
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for<br>
-lc</blockquote><div><br>tambien pasa lo mismo si se me da por poner un link simbólico que se llame stubs-32.h ---&gt; stubs-64.h<br><br>salu2 <br></div><br><br><div class="gmail_quote">2008/11/15  <span dir="ltr">&lt;<a href="mailto:lluisgomez@hangar.org">lluisgomez@hangar.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;">hola jano ;)<div class="Ih2E3d"><br>
<br>
Quoting &quot;jano .&quot; &lt;<a href="mailto:jano2358@gmail.com" target="_blank">jano2358@gmail.com</a>&gt;:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi!<br>
<br>
i&#39;m trying to compile the extended under ubuntu hardy in a x86_64, and get<br>
some errors: in first i put th eviroment CFLAGS= -march=nocona -fPIC and<br>
when make install the result was:<br>
<br>
.......<br>
ing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops -fomit-frame-pointer<br>
-DUSEAPI_JACK -D_LARGEFILE64_SOURCE -I../../src -o bonk~.o -c bonk~.c<br>
En el fichero incluído de /usr/include/features.h:354,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; de /usr/include/math.h:28,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; de bonk~.c:10:<br>
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No existe el fichero ó<br>
directorio<br>
</blockquote>
<br></div>
this is cause you don&#39;t have libc6-dev installed, right?<br>
<br>
apt-get install libc6-dev<br>
<br>
aqui lo puedes ver ::<br>
<br>
<a href="http://packages.ubuntu.com/search?searchon=contents&amp;keywords=stubs.h&amp;mode=exactfilename&amp;suite=intrepid&amp;arch=any" target="_blank">http://packages.ubuntu.com/search?searchon=contents&amp;keywords=stubs.h&amp;mode=exactfilename&amp;suite=intrepid&amp;arch=any</a><div>
<div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
make[3]: *** [bonk~.pd_linux] Error 1<br>
make[3]: se sale del directorio<br>
`/home/jano/Pd-0.40.3-extended/pd/extra/bonk~&#39;<br>
make[2]: *** [externs] Error 2<br>
make[2]: se sale del directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
make[1]: [pd] Error 2 (no tiene efecto)<br>
make -C /home/jano/Pd-0.40.3-extended/pd/src<br>
BUILDLAYOUT_DIR=/home/jano/Pd-0.40.3-extended/packages<br>
cvs_root_dir=/home/jano/Pd-0.40.3-extended<br>
DESTDIR=/home/jano/Pd-0.40.3-extended/packages/linux_make/build/ prefix=/usr<br>
libpddir=/home/jano/Pd-0.40.3-extended/packages/linux_make/build//usr/lib/pd<br>
OPT_CFLAGS=&quot;-O2&quot; UNAME=Linux &nbsp;install<br>
make[2]: se ingresa al directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
cd ../obj; &nbsp;cc -Wl,-export-dynamic -lasound -lrt -ljack &nbsp;-o ../bin/pd<br>
g_canvas.o g_graph.o g_text.o g_rtext.o g_array.o g_template.o g_io.o<br>
g_scalar.o g_traversal.o g_guiconnect.o g_readwrite.o g_editor.o<br>
g_all_guis.o g_bang.o g_hdial.o g_hslider.o g_mycanvas.o g_numbox.o<br>
g_toggle.o g_vdial.o g_vslider.o g_vumeter.o m_pd.o m_class.o m_obj.o<br>
m_atom.o m_memory.o m_binbuf.o m_conf.o m_glob.o m_sched.o s_main.o<br>
s_inter.o s_file.o s_print.o s_loader.o s_path.o s_entry.o s_audio.o<br>
s_midi.o d_ugen.o d_ctl.o d_arithmetic.o d_osc.o d_filter.o d_dac.o d_misc.o<br>
d_math.o d_fft.o d_array.o d_global.o d_delay.o d_resample.o x_arithmetic.o<br>
x_connective.o x_interface.o x_midi.o x_misc.o x_time.o x_acoustics.o<br>
x_net.o x_qlist.o x_gui.o x_list.o d_soundfile.o import.o s_midi_oss.o<br>
s_audio_oss.o s_audio_alsa.o s_audio_alsamm.o s_midi_alsa.o s_audio_jack.o<br>
d_fft_mayer.o d_fftroutine.o &nbsp;\<br>
 &nbsp; &nbsp;-ldl -lm -lpthread -lasound<br>
cc -march=nocona -fPIC -DPD &nbsp;-Wall -W -Wstrict-prototypes -Wno-unused<br>
-Wno-parentheses -Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX<br>
-DUSEAPI_OSS &nbsp; &nbsp; &nbsp; &nbsp; -I../portaudio/pa_common -I../portaudio/pablio<br>
-I../portmidi/pm_common &nbsp; &nbsp; &nbsp; &nbsp; -I../portmidi/pm_linux<br>
-fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops<br>
-fomit-frame-pointer -DUSEAPI_JACK -D_LARGEFILE64_SOURCE &nbsp;-o<br>
../bin/pd-watchdog s_watchdog.c<br>
cd ../extra/bonk~;make<br>
make[3]: se ingresa al directorio<br>
`/home/jano/Pd-0.40.3-extended/pd/extra/bonk~&#39;<br>
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC -m32 -Wall -W -Wshadow<br>
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -march=nocona<br>
-fPIC -DPD &nbsp;-Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses<br>
-Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX &nbsp; &nbsp; &nbsp; &nbsp;-DUSEAPI_OSS<br>
-I../portaudio/pa_common -I../portaudio/pablio<br>
-I../portmidi/pm_common &nbsp; &nbsp; &nbsp; &nbsp; -I../portmidi/pm_linux<br>
-fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops<br>
-fomit-frame-pointer -DUSEAPI_JACK -D_LARGEFILE64_SOURCE -I../../src -o<br>
bonk~.o -c bonk~.c<br>
En el fichero incluído de /usr/include/features.h:354,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; de /usr/include/math.h:28,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; de bonk~.c:10:<br>
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No existe el fichero ó<br>
directorio<br>
</blockquote>
<br>
<br></div></div>
lo mismo ....<div><div></div><div class="Wj3C7c"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
make[3]: *** [bonk~.pd_linux] Error 1<br>
make[3]: se sale del directorio<br>
`/home/jano/Pd-0.40.3-extended/pd/extra/bonk~&#39;<br>
make[2]: *** [externs] Error 2<br>
make[2]: se sale del directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
make[1]: *** [pd_install] Error 2<br>
make[1]: se sale del directorio `/home/jano/Pd-0.40.3-extended/packages&#39;<br>
make: *** [install] Error 2<br>
root@jano-mac:/home/jano/Pd-0.40.3-extended/packages/linux_make#<br>
.....<br>
<br>
so i add the CFLAGS= -m64 and the result was:<br>
<br>
.....<br>
onfig.status: config.h is unchanged<br>
make[2]: se ingresa al directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
cc -DDL_OPEN -DPA_USE_OSS -DUNIX &nbsp; &nbsp; &nbsp; &nbsp;-DUSEAPI_OSS<br>
-I../portaudio/pa_common -I../portaudio/pablio<br>
-I../portmidi/pm_common &nbsp; &nbsp; &nbsp; &nbsp; -I../portmidi/pm_linux<br>
-fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -M g_canvas.c g_graph.c<br>
g_text.c g_rtext.c g_array.c g_template.c g_io.c g_scalar.c g_traversal.c<br>
g_guiconnect.c g_readwrite.c g_editor.c g_all_guis.c g_bang.c g_hdial.c<br>
g_hslider.c g_mycanvas.c g_numbox.c g_toggle.c g_vdial.c g_vslider.c<br>
g_vumeter.c m_pd.c m_class.c m_obj.c m_atom.c m_memory.c m_binbuf.c m_conf.c<br>
m_glob.c m_sched.c s_main.c s_inter.c s_file.c s_print.c s_loader.c s_path.c<br>
s_entry.c s_audio.c s_midi.c d_ugen.c d_ctl.c d_arithmetic.c d_osc.c<br>
d_filter.c d_dac.c d_misc.c d_math.c d_fft.c d_array.c d_global.c d_delay.c<br>
d_resample.c x_arithmetic.c x_connective.c x_interface.c x_midi.c x_misc.c<br>
x_time.c x_acoustics.c x_net.c x_qlist.c x_gui.c x_list.c d_soundfile.c<br>
import.c s_midi_oss.c s_audio_oss.c s_audio_alsa.c s_audio_alsamm.c<br>
s_midi_alsa.c s_audio_jack.c d_fft_mayer.c d_fftroutine.c &gt;<br>
makefile.dependencies<br>
make[2]: se sale del directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
make[2]: se ingresa al directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
make[2]: No se hace nada para `depend&#39;.<br>
make[2]: se sale del directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
make[2]: se ingresa al directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
cd ../obj; &nbsp;cc -Wl,-export-dynamic -lasound -lrt -ljack &nbsp;-o ../bin/pd<br>
g_canvas.o g_graph.o g_text.o g_rtext.o g_array.o g_template.o g_io.o<br>
g_scalar.o g_traversal.o g_guiconnect.o g_readwrite.o g_editor.o<br>
g_all_guis.o g_bang.o g_hdial.o g_hslider.o g_mycanvas.o g_numbox.o<br>
g_toggle.o g_vdial.o g_vslider.o g_vumeter.o m_pd.o m_class.o m_obj.o<br>
m_atom.o m_memory.o m_binbuf.o m_conf.o m_glob.o m_sched.o s_main.o<br>
s_inter.o s_file.o s_print.o s_loader.o s_path.o s_entry.o s_audio.o<br>
s_midi.o d_ugen.o d_ctl.o d_arithmetic.o d_osc.o d_filter.o d_dac.o d_misc.o<br>
d_math.o d_fft.o d_array.o d_global.o d_delay.o d_resample.o x_arithmetic.o<br>
x_connective.o x_interface.o x_midi.o x_misc.o x_time.o x_acoustics.o<br>
x_net.o x_qlist.o x_gui.o x_list.o d_soundfile.o import.o s_midi_oss.o<br>
s_audio_oss.o s_audio_alsa.o s_audio_alsamm.o s_midi_alsa.o s_audio_jack.o<br>
d_fft_mayer.o d_fftroutine.o &nbsp;\<br>
 &nbsp; &nbsp;-ldl -lm -lpthread -lasound<br>
cc -march=nocona -fPIC -m64 -DPD &nbsp;-Wall -W -Wstrict-prototypes -Wno-unused<br>
-Wno-parentheses -Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX<br>
-DUSEAPI_OSS &nbsp; &nbsp; &nbsp; &nbsp; -I../portaudio/pa_common -I../portaudio/pablio<br>
-I../portmidi/pm_common &nbsp; &nbsp; &nbsp; &nbsp; -I../portmidi/pm_linux<br>
-fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops<br>
-fomit-frame-pointer -DUSEAPI_JACK -D_LARGEFILE64_SOURCE &nbsp; -o<br>
../bin/pdreceive u_pdreceive.c<br>
cd ../extra/bonk~;make<br>
make[3]: se ingresa al directorio<br>
`/home/jano/Pd-0.40.3-extended/pd/extra/bonk~&#39;<br>
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC -m32 -Wall -W -Wshadow<br>
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -march=nocona<br>
-fPIC -m64 -DPD &nbsp;-Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses<br>
-Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX &nbsp; &nbsp; &nbsp; &nbsp;-DUSEAPI_OSS<br>
-I../portaudio/pa_common -I../portaudio/pablio<br>
-I../portmidi/pm_common &nbsp; &nbsp; &nbsp; &nbsp; -I../portmidi/pm_linux<br>
-fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops<br>
-fomit-frame-pointer -DUSEAPI_JACK -D_LARGEFILE64_SOURCE -I../../src -o<br>
bonk~.o -c bonk~.c<br>
cc -m32 -export_dynamic -shared -o bonk~.pd_linux bonk~.o -lc -lm<br>
/usr/bin/ld: skipping incompatible<br>
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../libc.so when searching for -lc<br>
/usr/bin/ld: skipping incompatible<br>
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../libc.a when searching for -lc<br>
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching<br>
for -lc<br>
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for<br>
-lc<br>
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc<br>
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc<br>
/usr/bin/ld: cannot find -lc<br>
</blockquote>
<br>
<br></div></div>
maybe this ?¿? :<br>
<br>
sudo apt-get install build-essential<div><div></div><div class="Wj3C7c"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
collect2: ld devolvió el estado de salida 1<br>
make[3]: *** [bonk~.pd_linux] Error 1<br>
make[3]: se sale del directorio<br>
`/home/jano/Pd-0.40.3-extended/pd/extra/bonk~&#39;<br>
make[2]: *** [externs] Error 2<br>
make[2]: se sale del directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
make[1]: [pd] Error 2 (no tiene efecto)<br>
make -C /home/jano/Pd-0.40.3-extended/pd/src<br>
BUILDLAYOUT_DIR=/home/jano/Pd-0.40.3-extended/packages<br>
cvs_root_dir=/home/jano/Pd-0.40.3-extended<br>
DESTDIR=/home/jano/Pd-0.40.3-extended/packages/linux_make/build/ prefix=/usr<br>
libpddir=/home/jano/Pd-0.40.3-extended/packages/linux_make/build//usr/lib/pd<br>
OPT_CFLAGS=&quot;-O2&quot; UNAME=Linux &nbsp;install<br>
make[2]: se ingresa al directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
cc -march=nocona -fPIC -m64 -DPD &nbsp;-Wall -W -Wstrict-prototypes -Wno-unused<br>
-Wno-parentheses -Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX<br>
-DUSEAPI_OSS &nbsp; &nbsp; &nbsp; &nbsp; -I../portaudio/pa_common -I../portaudio/pablio<br>
-I../portmidi/pm_common &nbsp; &nbsp; &nbsp; &nbsp; -I../portmidi/pm_linux<br>
-fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops<br>
-fomit-frame-pointer -DUSEAPI_JACK -D_LARGEFILE64_SOURCE &nbsp;-o<br>
../bin/pd-watchdog s_watchdog.c<br>
cc -march=nocona -fPIC -m64 -DPD &nbsp;-Wall -W -Wstrict-prototypes -Wno-unused<br>
-Wno-parentheses -Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX<br>
-DUSEAPI_OSS &nbsp; &nbsp; &nbsp; &nbsp; -I../portaudio/pa_common -I../portaudio/pablio<br>
-I../portmidi/pm_common &nbsp; &nbsp; &nbsp; &nbsp; -I../portmidi/pm_linux<br>
-fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops<br>
-fomit-frame-pointer -DUSEAPI_JACK -D_LARGEFILE64_SOURCE &nbsp; -o ../bin/pdsend<br>
u_pdsend.c<br>
cd ../extra/bonk~;make<br>
make[3]: se ingresa al directorio<br>
`/home/jano/Pd-0.40.3-extended/pd/extra/bonk~&#39;<br>
cc -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC -m32 -Wall -W -Wshadow<br>
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -march=nocona<br>
-fPIC -m64 -DPD &nbsp;-Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses<br>
-Wno-switch -DDL_OPEN -DPA_USE_OSS -DUNIX &nbsp; &nbsp; &nbsp; &nbsp;-DUSEAPI_OSS<br>
-I../portaudio/pa_common -I../portaudio/pablio<br>
-I../portmidi/pm_common &nbsp; &nbsp; &nbsp; &nbsp; -I../portmidi/pm_linux<br>
-fno-strict-aliasing -DPA_USE_ALSA -DUSEAPI_ALSA -O6 -funroll-loops<br>
-fomit-frame-pointer -DUSEAPI_JACK -D_LARGEFILE64_SOURCE -I../../src -o<br>
bonk~.o -c bonk~.c<br>
cc -m32 -export_dynamic -shared -o bonk~.pd_linux bonk~.o -lc -lm<br>
/usr/bin/ld: skipping incompatible<br>
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../libc.so when searching for -lc<br>
/usr/bin/ld: skipping incompatible<br>
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../libc.a when searching for -lc<br>
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching<br>
for -lc<br>
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for<br>
-lc<br>
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc<br>
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc<br>
/usr/bin/ld: cannot find -lc<br>
collect2: ld devolvió el estado de salida 1<br>
make[3]: *** [bonk~.pd_linux] Error 1<br>
make[3]: se sale del directorio<br>
`/home/jano/Pd-0.40.3-extended/pd/extra/bonk~&#39;<br>
make[2]: *** [externs] Error 2<br>
make[2]: se sale del directorio `/home/jano/Pd-0.40.3-extended/pd/src&#39;<br>
make[1]: *** [pd_install] Error 2<br>
make[1]: se sale del directorio `/home/jano/Pd-0.40.3-extended/packages&#39;<br>
make: *** [install] Error 2<br>
......<br>
<br>
if i not use the CFLAGS the result is the same as without -m64, anybody<br>
knows wath can i do?<br>
thanks in advance<br>
<br>
<br>
--<br>
~jano~¬<br>
<br>
</blockquote>
<br>
<br>
<br></div></div>
----------------------------------------------------------------<br>
This message was sent using IMP, the Internet Messaging Program.<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>~jano~¬<br>