Mac compiling problems + linux error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sonja,

In revision 1865, the update was about re-binding to the latest
revision of PortAudio.
The linking problem in MacOS may be caused by obsolete PortAudio's makefile.
So perhaps you haven't done the re-configure?

About the assertion problem in Linux, I experienced this when the
active audio API used by PortAudio is OSS.
Force PortAudio to use ALSA by explicitly disabling OSS at configure
stage (adding param --disable-oss) solved the problem.

nanang


On 20/03/2008, Sonja Langhans <langhans at irt.de> wrote:
> Hi all,
>
> thanks for adding G722 :-) And providing whole PJSIP, of course.
>
> I've quite a similar problem to Matti Zemack's yesterday: since revision
> r1864 pjsip won't compile on my MacBook with gcc.
> Runnning make always leads to following message:
> ....
> Undefined symbols:
>   "_paDefaultHostApiIndex", referenced from:
>       _paDefaultHostApiIndex$non_lazy_ptr in
> libportaudio-i386-apple-darwin9.2.0.a(pa_front.o)
>   "_paHostApiInitializers", referenced from:
>       _paHostApiInitializers$non_lazy_ptr in
> libportaudio-i386-apple-darwin9.2.0.a(pa_front.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [../bin/pjsua-i386-apple-darwin9.2.0] Error 1
> make[1]: *** [pjsua] Error 2
> make: *** [all] Error 1
>
> Has anyone encountered the same problem?
>
> And my second problem:
> On my xubuntu machine, pjsip compiles fine, but when I try to run pjsua,
> pjsua quits suddenly. It says:
> ....
> 11:02:47.922  pjsua_media.c RTP socket reachable at 192.168.2.80:4006
> 11:02:47.922  pjsua_media.c RTCP socket reachable at 192.168.2.80:4007
> 11:02:47.923  pjsua_media.c pjsua_set_snd_dev(): attempting to open
> devices @16000 Hz pjsua-i686-pc-linux-gnu: ../src/pjmedia/pasound.c:93:
> PaRecorderCallback: Assertion `frameCount * stream->channel_count ==
> stream->samples_per_frame' failed. Aborted (core dumped)
>
> This error firstly popped up with r1864, too...
>
> Any help will be appreciated :-)
>
> Best regards,
> Sonja
>
>
>
> ------------------------------------
> Sonja Langhans, Dipl. Ing.
> Broadcast Networks and Servers (SN)
>
>
> Institut fuer Rundfunktechnik GmbH
> Research and Development Institute of ARD, ZDF, DLR, ORF and SRG/SSR
>
> Tel: +49 (0)89 32399-306
> Fax: +49 (0)89 32399-354
> Mail: langhans at irt.de
>
> Floriansmuehlstra?e 60, 80939 Muenchen, Germany
> registration court Munich Commercial, Register No. B 5191
> Managing Director: Dr. Klaus Illgner-Fehns
>
> _______________________________________________
>  Visit our blog: http://blog.pjsip.org
>
>  pjsip mailing list
>  pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux