I have a 1.83 MacBook Pro. I checked out the developer layout per HCS's script. Doing this seems to miss some files in Portaudio and Portmidi, so I got those from the 040-1 branch (and replaced the portaudio and portmidi directories) - is this correct? (this is what I believe Steffen is reporting above re: s_pm_midi.c)
After patching, I attempted to make install in packages/darwin_app. This was where it failed... Jack related apparently, perhaps due to the patch expecting other files than those I copied?
cc -I. -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno-unused
-Wno-parentheses -Wno-switch -Os -funroll-loops -fomit-frame-pointer
-DMACOSX -DUNISTD -I/usr/X11R6/include
-I../portaudio/pa_common -I../portaudio/pablio
-I../portmidi/pm_common -I../portmidi/pm_mac -I../portmidi/porttime
-Wno-error -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO
-DPA_LITTLE_ENDIAN -DUSEAPI_JACK -M g_canvas.c g_graph.c g_text.c
g_rtext.c g_array.c g_template.c g_io.c g_scalar.c g_traversal.c
g_guiconnect.c g_readwrite.c g_editor.c g_all_guis.c g_bang.c
g_hdial.c g_hslider.c g_mycanvas.c g_numbox.c g_toggle.c g_vdial.c
g_vslider.c g_vumeter.c m_pd.c m_class.c m_obj.c m_atom.c m_memory.c
m_binbuf.c m_conf.c m_glob.c m_sched.c s_main.c s_inter.c s_file.c
s_print.c s_loader.c s_path.c s_entry.c s_audio.c s_midi.c d_ugen.c
d_ctl.c d_arithmetic.c d_osc.c d_filter.c d_dac.c d_misc.c d_math.c
d_fft.c d_mayer_fft.c d_fftroutine.c d_array.c d_global.c d_delay.c
d_resample.c x_arithmetic.c x_connective.c x_interface.c x_midi.c
x_misc.c x_time.c x_acoustics.c x_net.c x_qlist.c x_gui.c x_list.c
d_soundfile.c s_midi_pm.c s_audio_pa.c s_audio_pablio.c
s_audio_paring.c ../portaudio/pa_common/pa_allocation.c
../portaudio/pa_common/pa_converters.c
../portaudio/pa_common/pa_cpuload.c
../portaudio/pa_common/pa_dither.c
../portaudio/pa_common/pa_front.c
../portaudio/pa_common/pa_process.c
../portaudio/pa_common/pa_skeleton.c
../portaudio/pa_common/pa_stream.c
../portaudio/pa_common/pa_trace.c
../portaudio/pa_unix/pa_unix_util.c
../portaudio/pa_mac_core/pa_mac_core.c
../portaudio/pa_mac/pa_mac_hostapis.c
../portmidi/pm_mac/pmmac.c ../portmidi/pm_mac/pmmacosxcm.c
../portmidi/pm_common/pmutil.c
../portmidi/pm_common/portmidi.c
../portmidi/porttime/ptmacosx_cf.c s_audio_jack.c >
makefile.dependencies
cd ../obj; cc -Wl -framework CoreAudio -framework AudioUnit
-framework AudioToolbox -framework Carbon -framework CoreMIDI
-weak_framework Jack -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 x_list.o
d_soundfile.o s_midi_pm.o s_audio_pa.o s_audio_pablio.o
s_audio_paring.o ../portaudio/pa_common/pa_allocation.o
../portaudio/pa_common/pa_converters.o
../portaudio/pa_common/pa_cpuload.o
../portaudio/pa_common/pa_dither.o
../portaudio/pa_common/pa_front.o
../portaudio/pa_common/pa_process.o
../portaudio/pa_common/pa_skeleton.o
../portaudio/pa_common/pa_stream.o
../portaudio/pa_common/pa_trace.o
../portaudio/pa_unix/pa_unix_util.o
../portaudio/pa_mac_core/pa_mac_core.o
../portaudio/pa_mac/pa_mac_hostapis.o
../portmidi/pm_mac/pmmac.o ../portmidi/pm_mac/pmmacosxcm.o
../portmidi/pm_common/pmutil.o
../portmidi/pm_common/portmidi.o
../portmidi/porttime/ptmacosx_cf.o s_audio_jack.o
-ldl -lm -lpthread
/usr/bin/ld: multiple definitions of symbol _RingBuffer_AdvanceReadIndex
s_audio_paring.o definition of _RingBuffer_AdvanceReadIndex in section
(__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_AdvanceReadIndex in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_AdvanceWriteIndex
s_audio_paring.o definition of _RingBuffer_AdvanceWriteIndex in
section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_AdvanceWriteIndex in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_Flush
s_audio_paring.o definition of _RingBuffer_Flush in section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of _RingBuffer_Flush
in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_GetReadAvailable
s_audio_paring.o definition of _RingBuffer_GetReadAvailable in section
(__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_GetReadAvailable in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_GetReadRegions
s_audio_paring.o definition of _RingBuffer_GetReadRegions in section
(__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_GetReadRegions in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_GetWriteAvailable
s_audio_paring.o definition of _RingBuffer_GetWriteAvailable in
section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_GetWriteAvailable in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_GetWriteRegions
s_audio_paring.o definition of _RingBuffer_GetWriteRegions in section
(__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_GetWriteRegions in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_Init
s_audio_paring.o definition of _RingBuffer_Init in section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of _RingBuffer_Init
in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_Read
s_audio_paring.o definition of _RingBuffer_Read in section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of _RingBuffer_Read
in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_Write
s_audio_paring.o definition of _RingBuffer_Write in section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of _RingBuffer_Write
in section (__TEXT,__text)
/usr/bin/ld: warning multiple definitions of symbol _jack_error
s_audio_jack.o definition of _jack_error in section (__TEXT,__text)
/Library/Frameworks/Jack.framework/Jack(single module) definition of _jack_error
collect2: ld returned 1 exit status
make[2]: *** [../bin/pd] Error 1
make[1]: [pd] Error 2 (ignored)
make -C /Users/LukeIannini/PdCheckout/Pd-Ext/pure-data/pd/src
BUILDLAYOUT_DIR=/Users/LukeIannini/PdCheckout/Pd-Ext/pure-data/packages
cvs_root_dir=/Users/LukeIannini/PdCheckout/Pd-Ext/pure-data
DESTDIR=/Users/LukeIannini/PdCheckout/Pd-Ext/pure-data/packages/darwin_app/build/Pd-0.39.2.app/Contents/Resources
prefix= libpddir=/Users/LukeIannini/PdCheckout/Pd-Ext/pure-data/packages/darwin_app/build/Pd-0.39.2.app/Contents/Resources
OPT_CFLAGS="-Os -funroll-loops -fomit-frame-pointer" UNAME=Darwin
install
cd ../obj; cc -Wl -framework CoreAudio -framework AudioUnit
-framework AudioToolbox -framework Carbon -framework CoreMIDI
-weak_framework Jack -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 x_list.o
d_soundfile.o s_midi_pm.o s_audio_pa.o s_audio_pablio.o
s_audio_paring.o ../portaudio/pa_common/pa_allocation.o
../portaudio/pa_common/pa_converters.o
../portaudio/pa_common/pa_cpuload.o
../portaudio/pa_common/pa_dither.o
../portaudio/pa_common/pa_front.o
../portaudio/pa_common/pa_process.o
../portaudio/pa_common/pa_skeleton.o
../portaudio/pa_common/pa_stream.o
../portaudio/pa_common/pa_trace.o
../portaudio/pa_unix/pa_unix_util.o
../portaudio/pa_mac_core/pa_mac_core.o
../portaudio/pa_mac/pa_mac_hostapis.o
../portmidi/pm_mac/pmmac.o ../portmidi/pm_mac/pmmacosxcm.o
../portmidi/pm_common/pmutil.o
../portmidi/pm_common/portmidi.o
../portmidi/porttime/ptmacosx_cf.o s_audio_jack.o
-ldl -lm -lpthread
/usr/bin/ld: multiple definitions of symbol _RingBuffer_AdvanceReadIndex
s_audio_paring.o definition of _RingBuffer_AdvanceReadIndex in section
(__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_AdvanceReadIndex in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_AdvanceWriteIndex
s_audio_paring.o definition of _RingBuffer_AdvanceWriteIndex in
section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_AdvanceWriteIndex in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_Flush
s_audio_paring.o definition of _RingBuffer_Flush in section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of _RingBuffer_Flush
in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_GetReadAvailable
s_audio_paring.o definition of _RingBuffer_GetReadAvailable in section
(__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_GetReadAvailable in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_GetReadRegions
s_audio_paring.o definition of _RingBuffer_GetReadRegions in section
(__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_GetReadRegions in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_GetWriteAvailable
s_audio_paring.o definition of _RingBuffer_GetWriteAvailable in
section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_GetWriteAvailable in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_GetWriteRegions
s_audio_paring.o definition of _RingBuffer_GetWriteRegions in section
(__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of
_RingBuffer_GetWriteRegions in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_Init
s_audio_paring.o definition of _RingBuffer_Init in section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of _RingBuffer_Init
in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_Read
s_audio_paring.o definition of _RingBuffer_Read in section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of _RingBuffer_Read
in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _RingBuffer_Write
s_audio_paring.o definition of _RingBuffer_Write in section (__TEXT,__text)
../portaudio/pa_mac_core/pa_mac_core.o definition of _RingBuffer_Write
in section (__TEXT,__text)
/usr/bin/ld: warning multiple definitions of symbol _jack_error
s_audio_jack.o definition of _jack_error in section (__TEXT,__text)
/Library/Frameworks/Jack.framework/Jack(single module) definition of _jack_error
collect2: ld returned 1 exit status
make[2]: *** [../bin/pd] Error 1
make[1]: *** [pd_install] Error 2
make: *** [darwin_app_core] Error 2
On 10/25/06, Steffen stffn@dibidut.dk wrote:
On 25/10/2006, at 18.56, Hans-Christoph Steiner wrote:
On Oct 25, 2006, at 9:46 AM, Steffen wrote:
I have a hard time adding it, as it tells me that "You do not have sufficient privileges to view this page" when i click "add wiki page". I am logged in. I don't have a clue what else to do in order to create that wikipage.
Yeah, no one has figured out that issue, but apparently I have perms, so I created the page. It should work now:
Thanks. Content added.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list