[PD] Problem to compile Pd 0.43-1 with JACK

Jack jack at rybn.org
Mon Mar 5 16:40:01 CET 2012


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





More information about the Pd-list mailing list