Hello,
I would like to compile Pd 0.43-1 with ALSA and JACK on Ubuntu 11.10. (Without JACK all is OK). I installed lib : libjack-jackd2-dev, jackd2, jackd, libjack-jackd2-0.
After : $ ./configure --enable-alsa --enable-jack
I get :
checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for working alloca.h... yes checking for alloca... yes checking for dlopen in -ldl... yes checking for sin in -lffm... no checking for sin in -lm... yes checking for pthread_create in -lpthread... yes checking tcl.h usability... no checking tcl.h presence... no checking for tcl.h... no checking tcl8.7/tcl.h usability... no checking tcl8.7/tcl.h presence... no checking for tcl8.7/tcl.h... no checking tcl8.6/tcl.h usability... no checking tcl8.6/tcl.h presence... no checking for tcl8.6/tcl.h... no checking tcl8.5/tcl.h usability... yes checking tcl8.5/tcl.h presence... yes checking for tcl8.5/tcl.h... yes checking for main in -ltcl85... no checking for main in -ltcl8.5... yes checking for main in -ltk85... no checking for main in -ltk8.5... yes .................... alsa= yes checking for snd_pcm_info in -lasound... yes checking for shm_open in -lrt... yes checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 configure: creating ./config.status config.status: creating makefile config.status: WARNING: 'makefile.in' seems to ignore the --datarootdir setting
And after : $ make
I get an error :
s_audio_jack.o: In function jack_shutdown': /home/jack/pd-0.43-1/src/s_audio_jack.c:165: undefined reference to
jack_deactivate'
s_audio_jack.o: In function process': /home/jack/pd-0.43-1/src/s_audio_jack.c:56: undefined reference to
jack_port_get_buffer'
/home/jack/pd-0.43-1/src/s_audio_jack.c:62: undefined reference to
jack_port_get_buffer' /home/jack/pd-0.43-1/src/s_audio_jack.c:97: undefined reference to
jack_port_get_buffer'
s_audio_jack.o: In function callbackprocess': /home/jack/pd-0.43-1/src/s_audio_jack.c:121: undefined reference to
jack_port_get_buffer'
/home/jack/pd-0.43-1/src/s_audio_jack.c:123: undefined reference to
jack_port_get_buffer' s_audio_jack.o: In function
jack_open_audio':
/home/jack/pd-0.43-1/src/s_audio_jack.c:404: undefined reference to
jack_get_sample_rate' /home/jack/pd-0.43-1/src/s_audio_jack.c:433: undefined reference to
jack_activate'
s_audio_jack.o: In function jack_connect_ports': /home/jack/pd-0.43-1/src/s_audio_jack.c:261: undefined reference to
jack_get_ports'
/home/jack/pd-0.43-1/src/s_audio_jack.c:265: undefined reference to
jack_port_name' /home/jack/pd-0.43-1/src/s_audio_jack.c:265: undefined reference to
jack_connect'
/home/jack/pd-0.43-1/src/s_audio_jack.c:266: undefined reference to
jack_port_name' s_audio_jack.o: In function
jack_open_audio':
/home/jack/pd-0.43-1/src/s_audio_jack.c:328: undefined reference to
jack_client_open' s_audio_jack.o: In function
jack_get_clients':
/home/jack/pd-0.43-1/src/s_audio_jack.c:184: undefined reference to
jack_get_ports' s_audio_jack.o: In function
jack_open_audio':
/home/jack/pd-0.43-1/src/s_audio_jack.c:368: undefined reference to
jack_set_process_callback' /home/jack/pd-0.43-1/src/s_audio_jack.c:371: undefined reference to
jack_set_error_function'
/home/jack/pd-0.43-1/src/s_audio_jack.c:381: undefined reference to
jack_set_sample_rate_callback' s_audio_jack.o: In function
jack_connect_ports':
/home/jack/pd-0.43-1/src/s_audio_jack.c:270: undefined reference to
jack_get_ports' /home/jack/pd-0.43-1/src/s_audio_jack.c:274: undefined reference to
jack_port_name'
/home/jack/pd-0.43-1/src/s_audio_jack.c:274: undefined reference to
jack_connect' /home/jack/pd-0.43-1/src/s_audio_jack.c:275: undefined reference to
jack_port_name'
s_audio_jack.o: In function jack_open_audio': /home/jack/pd-0.43-1/src/s_audio_jack.c:411: undefined reference to
jack_port_register'
/home/jack/pd-0.43-1/src/s_audio_jack.c:411: undefined reference to
jack_port_register' /home/jack/pd-0.43-1/src/s_audio_jack.c:421: undefined reference to
jack_port_register'
/home/jack/pd-0.43-1/src/s_audio_jack.c:421: undefined reference to
jack_port_register' /home/jack/pd-0.43-1/src/s_audio_jack.c:421: undefined reference to
jack_port_register'
s_audio_jack.o:/home/jack/pd-0.43-1/src/s_audio_jack.c:411: more
undefined references to jack_port_register' follow s_audio_jack.o: In function
jack_close_audio':
/home/jack/pd-0.43-1/src/s_audio_jack.c:455: undefined reference to
jack_deactivate' /home/jack/pd-0.43-1/src/s_audio_jack.c:456: undefined reference to
jack_client_close'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [../bin/pd] Erreur 1
Did I miss something ? Thanx for help. ++
Jack
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-05 16:40, Jack wrote:
Hello,
I would like to compile Pd 0.43-1 with ALSA and JACK on Ubuntu 11.10. (Without JACK all is OK). I installed lib : libjack-jackd2-dev, jackd2, jackd, libjack-jackd2-0.
After : $ ./configure --enable-alsa --enable-jack
I get :
any specific reason to use .../src/configure rather than .../configure?
(seems like .../configure is not included in the release-tarballs, create your own by running .../$ ./autogen.sh .../$ ./configure --enable-foo --enable-bar .../$ make
f garm IOhannes
Le 05/03/2012 17:25, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-05 16:40, Jack wrote:
Hello,
I would like to compile Pd 0.43-1 with ALSA and JACK on Ubuntu 11.10. (Without JACK all is OK). I installed lib : libjack-jackd2-dev, jackd2, jackd, libjack-jackd2-0.
After : $ ./configure --enable-alsa --enable-jack
I get :
any specific reason to use .../src/configure rather than .../configure?
I followed the instruction in the README.txt ;)
(seems like .../configure is not included in the release-tarballs, create your own by running .../$ ./autogen.sh .../$ ./configure --enable-foo --enable-bar .../$ make
Yes, thanx, I have no error now. But I can't select/see JACK in Pd.
After $ ./configure i have this two lines : checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes Is it OK ? Thanx for your help. ++
Jack
f garm IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/
iEYEARECAAYFAk9U6N8ACgkQkX2Xpv6ydvRTBACglszf1vRvYh8FpmJIgVNpco04 DfIAninUALM/FpM8sMQCfiKvKWFVbNZs =u7rT -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-05 19:36, Jack wrote:
Le 05/03/2012 17:25, IOhannes m zmoelnig a écrit : any specific reason to use .../src/configure rather than .../configure?
I followed the instruction in the README.txt ;)
fair enough...
After $ ./configure i have this two lines : checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes Is it OK ?
looks good.
what do you mean by "cannot select jack"? does it (not) show up in the menu?
fgm,asdr IOhannes
Le 06/03/2012 16:44, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-05 19:36, Jack wrote:
Le 05/03/2012 17:25, IOhannes m zmoelnig a écrit : any specific reason to use .../src/configure rather than .../configure?
I followed the instruction in the README.txt ;)
fair enough...
After $ ./configure i have this two lines : checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes Is it OK ?
looks good.
what do you mean by "cannot select jack"? does it (not) show up in the menu?
Yes that it's. ++
Jack
fgm,asdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9WMOwACgkQkX2Xpv6ydvTFqwCfWJ5kRdDDs9MfMOe7ptDAxoKg 65kAoOjtTqyPq+it5Q2Zn3jjzCLpa1f7 =pE7d -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le 06/03/2012 20:32, Jack a écrit :
Le 06/03/2012 16:44, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-05 19:36, Jack wrote:
Le 05/03/2012 17:25, IOhannes m zmoelnig a écrit : any specific reason to use .../src/configure rather than .../configure?
I followed the instruction in the README.txt ;)
fair enough...
After $ ./configure i have this two lines : checking for jack_set_xrun_callback in -ljack... yes checking for jack_set_error_function in -ljack... yes Is it OK ?
looks good.
what do you mean by "cannot select jack"? does it (not) show up in the menu?
Yes that it's. ++
Jack
I mean it does not appear in the menu. ++
Jack
fgm,asdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/
iEYEARECAAYFAk9WMOwACgkQkX2Xpv6ydvTFqwCfWJ5kRdDDs9MfMOe7ptDAxoKg 65kAoOjtTqyPq+it5Q2Zn3jjzCLpa1f7 =pE7d -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le 07/03/2012 10:29, Charles Goyard a écrit :
Hey Jack,
Jack wrote:
what do you mean by "cannot select jack"?
I mean it does not appear in the menu.
Can you select it via command-line at least ? Like "pd -jack".
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello Charles,
No it doesn't work. After : $ '/home/jack/pd-0.43-1/bin/pd' -jack I get : usage: pd [-flags] [file]...
audio configuration flags: -r <n> -- specify sample rate -audioindev ... -- audio in devices; e.g., "1,3" for first and third -audiooutdev ... -- audio out devices (same) -audiodev ... -- specify input and output together -inchannels ... -- audio input channels (by device, like "2" or "16,8") -outchannels ... -- number of audio out channels (same) -channels ... -- specify both input and output channels -audiobuf <n> -- specify size of audio buffer in msec -blocksize <n> -- specify audio I/O block size in sample frames -sleepgrain <n> -- specify number of milliseconds to sleep when idle -nodac -- suppress audio output -noadc -- suppress audio input -noaudio -- suppress audio input and output (-nosound is synonym) -listdev -- list audio and MIDI devices -oss -- use OSS audio API -alsa -- use ALSA audio API -alsaadd <name> -- add an ALSA device name to list (default audio API for this platform: OSS)
MIDI configuration flags: -midiindev ... -- midi in device list; e.g., "1,3" for first and third -midioutdev ... -- midi out device list, same format -mididev ... -- specify -midioutdev and -midiindev together -nomidiin -- suppress MIDI input -nomidiout -- suppress MIDI output -nomidi -- suppress MIDI input and output -alsamidi -- use ALSA midi API
other flags: -path <path> -- add to file search path -nostdpath -- don't search standard ("extra") directory -stdpath -- search standard directory (true by default) -helppath <path> -- add to help file search path -open <file> -- open file(s) on startup -lib <file> -- load object library(s) -font-size <n> -- specify default font size in points -font-face <name> -- specify default font -font-weight <name>-- specify default font weight (normal or bold) -verbose -- extra printout on startup and when searching for files -version -- don't run Pd; just print out which version it is -d <n> -- specify debug level -noloadbang -- suppress all loadbangs -stderr -- send printout to standard error instead of GUI -nogui -- suppress starting the GUI -guiport <n> -- connect to pre-existing GUI over port <n> -guicmd "cmd..." -- start alternatve GUI program (e.g., remote via ssh) -send "msg..." -- send a message at startup, after patches are loaded -noprefs -- suppress loading preferences on startup -rt or -realtime -- use real-time priority -nrt -- don't use real-time priority -nosleep -- spin, don't sleep (may lower latency on multi-CPUs) -schedlib <file> -- plug in external scheduler -extraflags <s> -- string argument to send schedlib -batch -- run off-line as a batch process -noautopatch -- defeat auto-patching new from selected objects
There is no trace of jack. ++
Jack
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-07 11:22, Jack wrote:
Le 07/03/2012 10:29, Charles Goyard a écrit :
Hey Jack,
Jack wrote:
what do you mean by "cannot select jack"?
I mean it does not appear in the menu.
Can you select it via command-line at least ? Like "pd -jack".
first of all, make sure to remove all traces from previous built attempts using src/configure. then put a the configure output and the output of the compilation onto pastie.org and send us a link.
fgamsdr IOhannes
Le 07/03/2012 12:29, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-07 11:22, Jack wrote:
Le 07/03/2012 10:29, Charles Goyard a écrit :
Hey Jack,
Jack wrote:
what do you mean by "cannot select jack"?
I mean it does not appear in the menu.
Can you select it via command-line at least ? Like "pd -jack".
first of all, make sure to remove all traces from previous built attempts using src/configure. then put a the configure output and the output of the compilation onto pastie.org and send us a link.
Thanx for your help IOhannes,
Before i send the configure and compilation output, I would like to solve this problem :
I removed all trace of my precedent build attemps and it seems to compile fine after : $ cd .../pd-0.43-1 $ ./autogen.sh $ ./configure --enable-alsa --enable-jack $ make
My bin pd is now in the src/ folder. And after a : $ /home/jack/pd-0.43-1/src/pd I get : sh: /home/jack/pd-0.43-1/bin/pd-watchdog: not found pd: watchdog process died jack@jack-N55SF:~/pd-0.43-1/src$ pdsend errorname: >>error writing "sock8": broken pipe<<
I can see 'pd-watchdog' in the src/ folder but not in the bin/. How can i build pd in the bin folder ? Maybe a make install should solve all my problems, but i don't want to install Pd... ++
Jack
fgamsdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9XRrAACgkQkX2Xpv6ydvQ06QCeKpiwip3tJYGbTbp/rn2JbSsH WmoAnAxm8512xjYh5t0EEmKnxDXE/kh5 =rzQD -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-07 13:28, Jack wrote:
I removed all trace of my precedent build attemps and it seems to compile fine after : $ cd .../pd-0.43-1 $ ./autogen.sh $ ./configure --enable-alsa --enable-jack $ make
My bin pd is now in the src/ folder. And after a : $ /home/jack/pd-0.43-1/src/pd I get : sh: /home/jack/pd-0.43-1/bin/pd-watchdog: not found pd: watchdog process died jack@jack-N55SF:~/pd-0.43-1/src$ pdsend errorname: >>error writing "sock8": broken pipe<<
this is a known bug[1], which shouldn't hinder you from testing. simply run: $ /home/jack/pd-0.43-1/src/pd -nrt to disable the watchdog.
I can see 'pd-watchdog' in the src/ folder but not in the bin/. How can i build pd in the bin folder ?
$ cd .../pd-0.43-1 $ ln -s src bin
fgmsdar IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-07 13:40, IOhannes m zmoelnig wrote:
this is a known bug[1],
[1] https://sourceforge.net/tracker/?func=detail&aid=3438752&group_id=55...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-07 13:42, IOhannes m zmoelnig wrote:
On 2012-03-07 13:40, IOhannes m zmoelnig wrote:
this is a known bug[1],
[1] https://sourceforge.net/tracker/?func=detail&aid=3438752&group_id=55...
and since soureforge does not track tracker-changes and i submitted a patch for the problem and henceforth moved the ticket to the "Patches" tracker, the updated URL is
https://sf.net/tracker/?func=detail&aid=3438752&group_id=55736&a...
fmgard IOhannes
Le 07/03/2012 13:40, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-07 13:28, Jack wrote:
I removed all trace of my precedent build attemps and it seems to compile fine after : $ cd .../pd-0.43-1 $ ./autogen.sh $ ./configure --enable-alsa --enable-jack $ make My bin pd is now in the src/ folder. And after a : $ /home/jack/pd-0.43-1/src/pd I get : sh: /home/jack/pd-0.43-1/bin/pd-watchdog: not found pd: watchdog process died jack@jack-N55SF:~/pd-0.43-1/src$ pdsend errorname:>>error writing "sock8": broken pipe<<
this is a known bug[1], which shouldn't hinder you from testing. simply run: $ /home/jack/pd-0.43-1/src/pd -nrt to disable the watchdog.
Thanx IOhannes, it is working fine now. I have : OSS, ALSA, portaudio and... jack :) ++
Jack
I can see 'pd-watchdog' in the src/ folder but not in the bin/. How can i build pd in the bin folder ?
$ cd .../pd-0.43-1 $ ln -s src bin
fgmsdar IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9XV0QACgkQkX2Xpv6ydvTbTQCdGpOyABhVDd1MP3MobTBO2Fpm y8YAoJA/SdwbLlzzERur0WSSPb7HoKly =CBiY -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le 07/03/2012 13:40, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-03-07 13:28, Jack wrote:
I removed all trace of my precedent build attemps and it seems to compile fine after : $ cd .../pd-0.43-1 $ ./autogen.sh $ ./configure --enable-alsa --enable-jack $ make My bin pd is now in the src/ folder. And after a : $ /home/jack/pd-0.43-1/src/pd I get : sh: /home/jack/pd-0.43-1/bin/pd-watchdog: not found pd: watchdog process died jack@jack-N55SF:~/pd-0.43-1/src$ pdsend errorname:>>error writing "sock8": broken pipe<<
this is a known bug[1], which shouldn't hinder you from testing. simply run: $ /home/jack/pd-0.43-1/src/pd -nrt to disable the watchdog.
I can see 'pd-watchdog' in the src/ folder but not in the bin/. How can i build pd in the bin folder ?
$ cd .../pd-0.43-1 $ ln -s src bin
Hmm, it doesn't work with : $ cd .../pd-0.43-1 $ ln -s src bin
But with : $ cd .../pd-0.43-1/bin $ ln -s '/home/jack/pd-0.43-1/src/pd-watchdog' pd-watchdog
It seems correct here. Is it ? ++
Jack
fgmsdar IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9XV0QACgkQkX2Xpv6ydvTbTQCdGpOyABhVDd1MP3MobTBO2Fpm y8YAoJA/SdwbLlzzERur0WSSPb7HoKly =CBiY -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello everyone! Long time no see. :)
So, in short, pd doesn't work with jackd2?
Is there a plan to fix this in a near future?
Alexandre Quessy http://alexandre.quessy.net/
Hi IOhannes, Jack, Pd-list,
On Wed, Mar 7, 2012 at 12:29 PM, IOhannes m zmoelnig zmoelnig@iem.atwrote:
first of all, make sure to remove all traces from previous built attempts using src/configure.
I had the same problem on ubuntu 11.04. Before the first build I forgot to configure with the "--enable-jack" flag. After reconfiguring/-building jack still wasn't available (both command line and media window). But "make clean" before reconfiguring solved my problem.
--Funs
On Wed, Mar 7, 2012 at 1:32 PM, Funs Seelen funsseelen@gmail.com wrote:
I had the same problem on ubuntu 11.04. Before the first build I forgot to configure with the "--enable-jack" flag. After reconfiguring/-building jack still wasn't available (both command line and media window). But "make clean" before reconfiguring solved my problem.
Ow wait, I'm sorry. I thought this was about the new test version 0.43-2test1..