それで make してみた。 # make gcc -Wall -g -fPIC -fno-stack-protector -c -o AlsaObj.o AlsaObj.c AlsaObj.c: In function ‘SetALSADrive’: AlsaObj.c:171: warning: pointer targets in passing argument 2 of ‘snd_pcm_hw_params_get_buffer_size’ differ in signedness AlsaObj.c:180: warning: pointer targets in passing argument 2 of ‘snd_pcm_hw_params_get_period_size’ differ in signedness ld -shared -o AlsaObj.so AlsaObj.o -lasound