[CM] pipewire Snd and SndLib

Juan I Reyes juanig at ccrma.Stanford.EDU
Sun Oct 3 15:39:17 PDT 2021


Hi Bill,

I am not able to find any reference to MIDI in sndjack_init in audio.c. 
Sorry I am not so that Jack savvy.

As far sndplay, on the makefile on the sndplay portion this is what I 
get:

sndplay: $(SNDLIB_HEADERS) $(SNDLIB_O_FILES) sndplay.o
	$(CC) sndplay.c -o sndplay libsndlib.a $(AUDIO_LIB) $(DEFS) $(CFLAGS) 
$(SO_FLAGS) $(XEN_CFLAGS) $(JACK_FLAGS) $(JACK_LIBS) $(LIBS)


This is what I am doing while trying to make 'sndplay' with Jack.

./configure --with-jack

...

checking for audio system... JACK
configure: creating ./config.status
config.status: creating makefile

...

make

...

gcc  headers.o audio.o io.o sound.o xen.o vct.o clm.o sndlib2xen.o 
clm2xen.o s7.o -o libsndlib.so -shared   -lgsl -lgslcblas -lm  
-D_REENTRANT   -L/usr/lib64/pipewire-0.3/jack -ljack -ljacknet  
-lsamplerate  -lm -ldl
: -rc libsndlib.a headers.o audio.o io.o sound.o xen.o vct.o clm.o 
sndlib2xen.o clm2xen.o s7.o
: libsndlib.a

make sndplay

gcc -c -DHAVE_CONFIG_H -I. -g -O2 -fPIC    -D_REENTRANT   sndplay.c
gcc sndplay.c -o sndplay libsndlib.a  -DHAVE_CONFIG_H -I. -g -O2 -fPIC   
-D_REENTRANT   -L/usr/lib64/pipewire-0.3/jack -ljack -ljacknet  
-lsamplerate  -lm -ldl
/usr/bin/ld: cannot find libsndlib.a: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [makefile:70: sndplay] Error 1
[] /zap/sndlib>

--

> Why is it looking for libsndlib.a?  Snd's makefile
> uses the .o files like io.o, so the library is
> unneeded.
> 
> The warning appears to be from sndjack_init in audio.c
> 


More information about the Cmdist mailing list