HI: HP iPAQ H5400 with SO Familiar Linux, cross compiling. As an alternative, I'm trying to compile with alsa, doing the following: set: AC_PA_USE_ALSA=1 and comment: #export CFLAGS += -DPA_USE_OSS=1 #export PORTAUDIO_OBJS += pa_unix_oss.o in:third_party/build/portaudio/os-auto.mak when running make, some headers are missing, like 'asoundlib.h' After installing 'libasound2-dev' I've got that header and others over '/usr/include/alsa' dir, I copied this dir to third_party/build/portaudio/src, that is on the include path. again, running make I've got this errors: /home/cross/familiar-build/build-h3900-gpe/tmp/cross/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld: warning: cannot find entry symbol lf2flt; defaulting to 0000bccc /home/vegaroy13/pj__/pjproject/third_party/lib/libportaudio- arm-unknown-linux-gnu.a(pa_linux_alsa.o): In function `Terminate': pa_linux_alsa.c:(.text+0x34): undefined reference to `snd_config_update_free_global' /home/vegaroy13/pj__/pjproject/third_party/lib/libportaudio- arm-unknown-linux-gnu.a(pa_linux_alsa.o): In function `OpenPcm': pa_linux_alsa.c:(.text+0xe4): undefined reference to `snd_pcm_open' pa_linux_alsa.c:(.text+0x10c): undefined reference to `snd_pcm_open' /home/vegaroy13/pj__/pjproject/third_party/lib/libportaudio- arm-unknown-linux-gnu.a(pa_linux_alsa.o): In function `GetAvailableFormats': pa_linux_alsa.c:(.text+0x26c): undefined reference to `snd_pcm_hw_params_sizeof' pa_linux_alsa.c:(.text+0x27c): undefined reference to `snd_pcm_hw_params_sizeof' pa_linux_alsa.c:(.text+0x298): undefined reference to `snd_pcm_hw_params_any' pa_linux_alsa.c:(.text+0x2a8): undefined reference to `snd_pcm_hw_params_test_format' pa_linux_alsa.c:(.text+0x2c0): undefined reference to `snd_pcm_hw_params_test_format' pa_linux_alsa.c:(.text+0x2d8): undefined reference to `snd_pcm_hw_params_test_format' pa_linux_alsa.c:(.text+0x2f0): undefined reference to `snd_pcm_hw_params_test_format' pa_linux_alsa.c:(.text+0x308): undefined reference to `snd_pcm_hw_params_test_format' And a lot of more of undefined references, all about pa_linux_alsa.c... What I think is that I need the c files from alsa, don't I? or what I'm doing wrong, libraries? what option am I missing??? On Fri, Mar 7, 2008 at 3:34 PM, Rodrigo Vega <vegaroy13 at gmail.com> wrote: > Hi: > > Well, I started every every thing and with rev 1848: > > 1. assertion on PA callback: > pj_assert(frameCount == stream->samples_per_frame * > stream->channel_count); > > This bug has been fixed (see http://trac.pjsip.org/repos/ticket/504). > > > And that works, now, I'm having the other problem: > > root at h3900:~/bin# ./sndinfo-arm-unknown-linux-gnu 0 both 44100 2 16 > 02:03:59.954 os_core_unix.c pjlib 0.8.0-trunk for POSIX initialized > 02:03:59.980 pasound.c PortAudio sound library initialized, status=0 > 02:03:59.980 pasound.c PortAudio host api count=1 > 02:03:59.980 pasound.c Sound device count=1 > 02:03:59.981 pjlib select() I/O Queue created (0x3d7f4) > Opening device 0 for capture/playback: clockrate=44100, nchannel=2, > bits=16, nsamples=882.. > 02:03:59.999 pasound.c PA message: Expression 'ioctl( component->fd, > SNDCTL_DSP_SETFRAGMENT, &frgmt )' failed in > 'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 1023 > > sndinfo-arm-unknown-linux-gnu: > src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c:1124: > PaOssStream_Configure: Assertion `component->hostChannelCount > 0' failed. > Aborted > > What I think is that it cannot use that hardware in dubplex mode.... > something like that but not for sure. > > Is there another alternative??? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080307/697d8c80/attachment.html