[PD] ERROR building pd-0.41.4_EXTENDED from source on OSX snow leopard

IOhannes m zmoelnig zmoelnig at iem.at
Thu Apr 29 21:38:22 CEST 2010


On 2010-04-29 21:29, t'es in t'es bat wrote:
> Hello Hans,
> Thanks for helping,  unfortunately
> i got  errors :
> cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses
> -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/usr/X11R6/include
> -I../portaudio/include -I../portaudio/src/common
> -I../portaudio/src/os/mac_osx/         -I../portmidi/pm_common
> -I../portmidi/pm_mac         -I../portmidi/porttime
> -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO -DNEWBUFFER -DMACOSX3
> -DPA_BIG_ENDIAN -Wno-error -O2 -DUSEAPI_JACK -fast -fPIC -ftree-vectorize
> -ftree-vectorizer-verbose=2 -march=core2 -msse3 -mssse3 -mfpmath=sse
> -DINSTALL_PREFIX=\"\"  -c -o ../obj/s_audio_jack.o s_audio_jack.c
> s_audio_jack.c:11:23: error: jack/jack.h: No such file or directory

maybe that's the source of the problem?

try reading the error messages :-)
then try installing jack.

fgmasdr
IOhannes

> s_audio_jack.c:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘jack_out_max’
> s_audio_jack.c:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘jack_filled’
> s_audio_jack.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> s_audio_jack.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> s_audio_jack.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> s_audio_jack.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘jack_mutex’
> s_audio_jack.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘jack_sem’
> s_audio_jack.c:39: error: expected ‘)’ before ‘nframes’
> s_audio_jack.c:94: error: expected ‘)’ before ‘srate’
> s_audio_jack.c: In function ‘jack_shutdown’:
> s_audio_jack.c:105: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:105: error: (Each undeclared identifier is reported only once
> s_audio_jack.c:105: error: for each function it appears in.)
> s_audio_jack.c: In function ‘jack_get_clients’:
> s_audio_jack.c:121: warning: implicit declaration of function
> ‘jack_get_ports’
> s_audio_jack.c:121: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:121: warning: assignment makes pointer from integer without a
> cast
> s_audio_jack.c: In function ‘jack_connect_ports’:
> s_audio_jack.c:196: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:197: error: ‘JackPortIsOutput’ undeclared (first use in this
> function)
> s_audio_jack.c:197: warning: assignment makes pointer from integer without a
> cast
> s_audio_jack.c:200: warning: implicit declaration of function ‘jack_connect’
> s_audio_jack.c:200: warning: implicit declaration of function
> ‘jack_port_name’
> s_audio_jack.c:200: error: ‘input_port’ undeclared (first use in this
> function)
> s_audio_jack.c:201: warning: format ‘%s’ expects type ‘char *’, but argument
> 3 has type ‘int’
> s_audio_jack.c:206: error: ‘JackPortIsInput’ undeclared (first use in this
> function)
> s_audio_jack.c:206: warning: assignment makes pointer from integer without a
> cast
> s_audio_jack.c:209: error: ‘output_port’ undeclared (first use in this
> function)
> s_audio_jack.c:210: warning: format ‘%s’ expects type ‘char *’, but argument
> 2 has type ‘int’
> s_audio_jack.c: In function ‘jack_open_audio’:
> s_audio_jack.c:234: error: ‘jack_status_t’ undeclared (first use in this
> function)
> s_audio_jack.c:234: error: expected ‘;’ before ‘status’
> s_audio_jack.c:236: error: ‘jack_client_new’ undeclared (first use in this
> function)
> s_audio_jack.c:257: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:262: warning: implicit declaration of function
> ‘jack_client_open’
> s_audio_jack.c:262: error: ‘JackNoStartServer’ undeclared (first use in this
> function)
> s_audio_jack.c:262: error: ‘status’ undeclared (first use in this function)
> s_audio_jack.c:263: error: ‘JackServerFailed’ undeclared (first use in this
> function)
> s_audio_jack.c:268: error: ‘JackNameNotUnique’ undeclared (first use in this
> function)
> s_audio_jack.c:271: error: ‘JackServerStarted’ undeclared (first use in this
> function)
> s_audio_jack.c:289: warning: implicit declaration of function
> ‘jack_set_process_callback’
> s_audio_jack.c:289: error: ‘process’ undeclared (first use in this function)
> s_audio_jack.c:291: warning: implicit declaration of function
> ‘jack_set_error_function’
> s_audio_jack.c:301: warning: implicit declaration of function
> ‘jack_set_sample_rate_callback’
> s_audio_jack.c:301: error: ‘jack_srate’ undeclared (first use in this
> function)
> s_audio_jack.c:309: warning: implicit declaration of function
> ‘jack_on_shutdown’
> s_audio_jack.c:312: error: ‘input_port’ undeclared (first use in this
> function)
> s_audio_jack.c:313: error: ‘output_port’ undeclared (first use in this
> function)
> s_audio_jack.c:324: warning: implicit declaration of function
> ‘jack_get_sample_rate’
> s_audio_jack.c:331: warning: implicit declaration of function
> ‘jack_port_register’
> s_audio_jack.c:331: error: ‘JACK_DEFAULT_AUDIO_TYPE’ undeclared (first use
> in this function)
> s_audio_jack.c:331: error: ‘JackPortIsInput’ undeclared (first use in this
> function)
> s_audio_jack.c:341: error: ‘JackPortIsOutput’ undeclared (first use in this
> function)
> s_audio_jack.c:353: warning: implicit declaration of function
> ‘jack_activate’
> s_audio_jack.c:364: warning: implicit declaration of function
> ‘pthread_mutex_init’
> s_audio_jack.c:364: error: ‘jack_mutex’ undeclared (first use in this
> function)
> s_audio_jack.c:365: warning: implicit declaration of function
> ‘pthread_cond_init’
> s_audio_jack.c:365: error: ‘jack_sem’ undeclared (first use in this
> function)
> s_audio_jack.c: In function ‘jack_send_dacs’:
> s_audio_jack.c:385: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:393: error: ‘jack_filled’ undeclared (first use in this
> function)
> s_audio_jack.c:393: error: ‘jack_out_max’ undeclared (first use in this
> function)
> s_audio_jack.c:394: warning: implicit declaration of function
> ‘pthread_cond_wait’
> s_audio_jack.c:394: error: ‘jack_sem’ undeclared (first use in this
> function)
> s_audio_jack.c:394: error: ‘jack_mutex’ undeclared (first use in this
> function)
> make[2]: *** [s_audio_jack.o] Error 1
> make[1]: [pd] Error 2 (ignored)
> make -C /Users/lepole/pd-extended/pd/src
> BUILDLAYOUT_DIR=/Users/lepole/pd-extended/packages
> cvs_root_dir=/Users/lepole/pd-extended
> DESTDIR=/Users/lepole/pd-extended/packages/darwin_app/build/Pd-0.42.5-extended.app/Contents/Resources
> prefix= libpddir= OPT_CFLAGS="-fast -fPIC -ftree-vectorize
> -ftree-vectorizer-verbose=2 -march=core2 -msse3 -mssse3 -mfpmath=sse"
> UNAME=Darwin  install
> cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses
> -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/usr/X11R6/include
> -I../portaudio/include -I../portaudio/src/common
> -I../portaudio/src/os/mac_osx/         -I../portmidi/pm_common
> -I../portmidi/pm_mac         -I../portmidi/porttime
> -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO -DNEWBUFFER -DMACOSX3
> -DPA_BIG_ENDIAN -Wno-error -O2 -DUSEAPI_JACK -fast -fPIC -ftree-vectorize
> -ftree-vectorizer-verbose=2 -march=core2 -msse3 -mssse3 -mfpmath=sse
> -DINSTALL_PREFIX=\"\"  -c -o ../obj/s_audio_jack.o s_audio_jack.c
> s_audio_jack.c:11:23: error: jack/jack.h: No such file or directory
> s_audio_jack.c:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘jack_out_max’
> s_audio_jack.c:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘jack_filled’
> s_audio_jack.c:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> s_audio_jack.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> s_audio_jack.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> s_audio_jack.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘jack_mutex’
> s_audio_jack.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘jack_sem’
> s_audio_jack.c:39: error: expected ‘)’ before ‘nframes’
> s_audio_jack.c:94: error: expected ‘)’ before ‘srate’
> s_audio_jack.c: In function ‘jack_shutdown’:
> s_audio_jack.c:105: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:105: error: (Each undeclared identifier is reported only once
> s_audio_jack.c:105: error: for each function it appears in.)
> s_audio_jack.c: In function ‘jack_get_clients’:
> s_audio_jack.c:121: warning: implicit declaration of function
> ‘jack_get_ports’
> s_audio_jack.c:121: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:121: warning: assignment makes pointer from integer without a
> cast
> s_audio_jack.c: In function ‘jack_connect_ports’:
> s_audio_jack.c:196: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:197: error: ‘JackPortIsOutput’ undeclared (first use in this
> function)
> s_audio_jack.c:197: warning: assignment makes pointer from integer without a
> cast
> s_audio_jack.c:200: warning: implicit declaration of function ‘jack_connect’
> s_audio_jack.c:200: warning: implicit declaration of function
> ‘jack_port_name’
> s_audio_jack.c:200: error: ‘input_port’ undeclared (first use in this
> function)
> s_audio_jack.c:201: warning: format ‘%s’ expects type ‘char *’, but argument
> 3 has type ‘int’
> s_audio_jack.c:206: error: ‘JackPortIsInput’ undeclared (first use in this
> function)
> s_audio_jack.c:206: warning: assignment makes pointer from integer without a
> cast
> s_audio_jack.c:209: error: ‘output_port’ undeclared (first use in this
> function)
> s_audio_jack.c:210: warning: format ‘%s’ expects type ‘char *’, but argument
> 2 has type ‘int’
> s_audio_jack.c: In function ‘jack_open_audio’:
> s_audio_jack.c:234: error: ‘jack_status_t’ undeclared (first use in this
> function)
> s_audio_jack.c:234: error: expected ‘;’ before ‘status’
> s_audio_jack.c:236: error: ‘jack_client_new’ undeclared (first use in this
> function)
> s_audio_jack.c:257: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:262: warning: implicit declaration of function
> ‘jack_client_open’
> s_audio_jack.c:262: error: ‘JackNoStartServer’ undeclared (first use in this
> function)
> s_audio_jack.c:262: error: ‘status’ undeclared (first use in this function)
> s_audio_jack.c:263: error: ‘JackServerFailed’ undeclared (first use in this
> function)
> s_audio_jack.c:268: error: ‘JackNameNotUnique’ undeclared (first use in this
> function)
> s_audio_jack.c:271: error: ‘JackServerStarted’ undeclared (first use in this
> function)
> s_audio_jack.c:289: warning: implicit declaration of function
> ‘jack_set_process_callback’
> s_audio_jack.c:289: error: ‘process’ undeclared (first use in this function)
> s_audio_jack.c:291: warning: implicit declaration of function
> ‘jack_set_error_function’
> s_audio_jack.c:301: warning: implicit declaration of function
> ‘jack_set_sample_rate_callback’
> s_audio_jack.c:301: error: ‘jack_srate’ undeclared (first use in this
> function)
> s_audio_jack.c:309: warning: implicit declaration of function
> ‘jack_on_shutdown’
> s_audio_jack.c:312: error: ‘input_port’ undeclared (first use in this
> function)
> s_audio_jack.c:313: error: ‘output_port’ undeclared (first use in this
> function)
> s_audio_jack.c:324: warning: implicit declaration of function
> ‘jack_get_sample_rate’
> s_audio_jack.c:331: warning: implicit declaration of function
> ‘jack_port_register’
> s_audio_jack.c:331: error: ‘JACK_DEFAULT_AUDIO_TYPE’ undeclared (first use
> in this function)
> s_audio_jack.c:331: error: ‘JackPortIsInput’ undeclared (first use in this
> function)
> s_audio_jack.c:341: error: ‘JackPortIsOutput’ undeclared (first use in this
> function)
> s_audio_jack.c:353: warning: implicit declaration of function
> ‘jack_activate’
> s_audio_jack.c:364: warning: implicit declaration of function
> ‘pthread_mutex_init’
> s_audio_jack.c:364: error: ‘jack_mutex’ undeclared (first use in this
> function)
> s_audio_jack.c:365: warning: implicit declaration of function
> ‘pthread_cond_init’
> s_audio_jack.c:365: error: ‘jack_sem’ undeclared (first use in this
> function)
> s_audio_jack.c: In function ‘jack_send_dacs’:
> s_audio_jack.c:385: error: ‘jack_client’ undeclared (first use in this
> function)
> s_audio_jack.c:393: error: ‘jack_filled’ undeclared (first use in this
> function)
> s_audio_jack.c:393: error: ‘jack_out_max’ undeclared (first use in this
> function)
> s_audio_jack.c:394: warning: implicit declaration of function
> ‘pthread_cond_wait’
> s_audio_jack.c:394: error: ‘jack_sem’ undeclared (first use in this
> function)
> s_audio_jack.c:394: error: ‘jack_mutex’ undeclared (first use in this
> function)
> make[2]: *** [s_audio_jack.o] Error 1
> make[1]: *** [pd_install] Error 2
> make: *** [darwin_app_core] Error 2
> new-host-4:darwin_app lepole$
> 
> 
> 2010/4/29 Hans-Christoph Steiner <hans at at.or.at>
> 
>>
>> I just noticed that you are trying to build 0.41.4.  I think you'll have
>> better luck with 0.42.5, so try this:
>> http://puredata.info/docs/developer/GettingPdSource
>>
>> Specifically, something like this in the Terminal:
>> rsync -av --delete rsync://128.238.56.50/distros/pd-extended/pd-extended/
>> cd pd-extended/packages/darwin_app
>> make install
>> make package
>>
> 
> 
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100429/e59c9a15/attachment.bin>


More information about the Pd-list mailing list