Hello
trying to compile devel_0_38, from cvs today, on linux:
./configure -enable-optimize=pentium4 --enable-simd --enable-threadedgui --enable-gathreadlocks --enable-fftw --enable-jack --enable-threadedsf
after making for a while, i get this error:
cd ../obj; cc -Wl,-export-dynamic -lasound -o ../bin/pd g_canvas.o
g_graph.o g_text.o g_rtext.o g_array.o g_template.o g_io.o g_scalar.o
g_traversal.o g_guiconnect.o g_readwrite.o g_editor.o g_all_guis.o
g_bang.o g_hdial.o g_hslider.o g_mycanvas.o g_numbox.o g_toggle.o
g_vdial.o g_vslider.o g_vumeter.o m_pd.o m_class.o m_obj.o m_atom.o
m_memory.o m_binbuf.o m_conf.o m_glob.o m_sched.o s_main.o s_inter.o
s_file.o s_print.o s_loader.o s_path.o s_entry.o s_audio.o s_midi.o
d_ugen.o d_ctl.o d_arithmetic.o d_osc.o d_filter.o d_dac.o d_misc.o
d_math.o d_fft.o d_mayer_fft.o d_fftroutine.o d_array.o d_global.o
d_delay.o d_resample.o x_arithmetic.o x_connective.o x_interface.o
x_midi.o x_misc.o x_time.o x_acoustics.o x_net.o x_qlist.o x_gui.o
d_soundfile.o s_audio_jack.o s_midi_oss.o s_audio_oss.o s_audio_alsa.o
s_audio_alsamm.o m_simd.o m_simd_sse_gcc.o m_simd_sse_vc.o
m_simd_ve_gcc.o
-ljack -lfftw3f -lasound
m_sched.o(.text+0x10c): In function m_scheduler': : undefined reference to
fifo_init'
m_sched.o(.text+0xdd7): In function run_idle_callbacks': : undefined reference to
fifo_get'
m_sched.o(.text+0xdfe): In function run_idle_callbacks': : undefined reference to
fifo_get'
m_sched.o(.text+0x1801): In function sys_callback': : undefined reference to
fifo_init'
m_sched.o(.text+0x17fc): In function sys_callback': : undefined reference to
fifo_put'
collect2: ld returned 1 exit status
make: *** [../bin/pd] Error 1
i've tried the devel 0.37 snapshot on sourceforge, as well as stable 0.38 from cvs, and they make just fine. i'd appreciate any hints on what i may be doing wrong.
thanks, Johannes
i've tried the devel 0.37 snapshot on sourceforge, as well as stable 0.38 from cvs, and they make just fine. i'd appreciate any hints on what i may be doing wrong.
please use the autoconf system: ./pd/bootstrap.sh ./pd/configure ... ./pd/make ./pd/make install
anyway, i also fixed the traditional build system ... in cvs ...
cheers ... tim
Tim Blechmann wrote:
i've tried the devel 0.37 snapshot on sourceforge, as well as stable 0.38 from cvs, and they make just fine. i'd appreciate any hints on what i may be doing wrong.
please use the autoconf system: ./pd/bootstrap.sh ./pd/configure ... ./pd/make ./pd/make install
stupid me, but i cannot find a bootstrap.sh in my devel_0_38. where do i have to look for it ?
anyway, i also fixed the traditional build system ... in cvs ...
probably i just missed it (did the check out 10-15 min ago)
(oh i just see, makefile.in has been patched...)
anyhow, i manually added m_fifo.c to the makefile (e.g. line #46) and now it works (which is the same as tim has done to the makefile.in)
but what is now the traditional build system vs. yours ?? i guess: traditional: ./configure is supplied non-trad : use autoconf to generate configure
reading the only bit of documentation about this that i have found (pd/INSTALL.txt) it rather says that i should use "autoconf" instead of "./bootstrap"
mfg.acs.dr IOhannes hoping for some clarification
stupid me, but i cannot find a bootstrap.sh in my devel_0_38. where do i have to look for it ?
File: bootstrap.sh Status: Up-to-date
Working revision: 1.1.2.1
Repository revision: 1.1.2.1
/cvsroot/pure-data/pd/Attic/bootstrap.sh,v Sticky Tag:
devel_0_38 (branch: 1.1.2) Sticky Date: (none)
Sticky Options: (none)
but what is now the traditional build system vs. yours ?? i guess: traditional: ./configure is supplied non-trad : use autoconf to generate configure
the traditional build system is based on the ./configure script that's included in stable_ and miller's releases and removed in devel_, since it's rather a _binary_ than a _source_ ... the new build system was my approach of autobuilding pd/externals. i thought it would be a cleaner approach than the ./configure script / external makefiles and more portable. (although no one ever ported it to another platform than linux)
cheers ... tim
Tim Blechmann wrote:
stupid me, but i cannot find a bootstrap.sh in my devel_0_38. where do i have to look for it ?
File: bootstrap.sh Status: Up-to-date
Working revision: 1.1.2.1 Repository revision: 1.1.2.1 /cvsroot/pure-data/pd/Attic/bootstrap.sh,v Sticky Tag:
devel_0_38 (branch: 1.1.2) Sticky Date: (none) Sticky Options: (none)
ah, i have to look in the Attic to get it....
seriously, i had only updated the pd/src-directory to devel_0_38; now it is there...
the traditional build system is based on the ./configure script that's included in stable_ and miller's releases and removed in devel_, since it's rather a _binary_ than a _source_ ... the new build system was my approach of autobuilding pd/externals. i thought it would be a cleaner approach than the ./configure script / external makefiles and more portable. (although no one ever ported it to another platform than linux)
i think the problem is, that "(autoconf), ./configure, make make install" is a standard-procedure while "./bootstrap.sh" is not.
in this case, the should really be an (updated) INSTALL.txt somewhere in ./pd/
cheers ... tim
mfg.ads.r IOhannes
On Thu, 20 Jan 2005, Tim Blechmann wrote:
i thought it would be a cleaner approach than the ./configure script / external makefiles and more portable. (although no one ever ported it to another platform than linux)
IMO the cleanest and most portable solution is a nicely written makefile and clean code.
Guenter
� wrote:
IMO the cleanest and most portable solution is a nicely written makefile and clean code.
alas! too true
i could not understand the makefile that was generated by bootstrap.sh+configure (and it didn't work out, because it forgot about the correct includes for tcl/tk)
and - deja vu - i cannot load libraries again ("fiddle_tile_setup() not found") i have had this problem before and the only solution was to do a fresh check out (well, not a real solution, but at least it worked then) indeed, devel
mfg.a.sdr IOhannes