Re: Fatal Error from alsa module

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

 



That did it.

make[2]: Leaving directory '/home/yeti/Downloads/pjproject-2.7.2/pjsip-apps/build'
make[1]: Leaving directory '/home/yeti/Downloads/pjproject-2.7.2/pjsip-apps/build'

Thank you.

Sent with ProtonMail Secure Email.


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On July 26, 2018 2:54 PM, Martin Oberhuber <mober.at+eclipse@xxxxxxxxx> wrote:

You may want to try

sudo apt-get install libasound2-dev

Cheers,
Martin

On 26 Jul 2018, at 19:03, Hugeyeti via pjsip <pjsip@xxxxxxxxxxxxxxx> wrote:

Compiling went ok on Ubuntu (pjproject-2.7.2).

Issued command:
1) yeti@ubuntu:~/Downloads/pjproject-2.7.2$ ./configure && make dep && make clean && make

but then after 3 minutes or so:

gcc -c -Wall -DPJ_AUTOCONF=1 -O2 -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1    -DPJMEDIA_USE_OLD_FFMPEG=1       -I/home/yeti/Downloads/pjproject-2.7.2/third_party/build/speex -I/home/yeti/Downloads/pjproject-2.7.2/third_party/speex/include -DPJMEDIA_HAS_OPENCORE_AMRNB_CODEC=0 -DPJMEDIA_HAS_OPENCORE_AMRWB_CODEC=0 -I/home/yeti/Downloads/pjproject-2.7.2/third_party/build/srtp -I/home/yeti/Downloads/pjproject-2.7.2/third_party/srtp/crypto/include -I/home/yeti/Downloads/pjproject-2.7.2/third_party/srtp/include -DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_LIBRESAMPLE -DPJMEDIA_HAS_LIBYUV=1 -I/home/yeti/Downloads/pjproject-2.7.2/third_party/yuv/include -DPJMEDIA_HAS_WEBRTC_AEC=1 -I/home/yeti/Downloads/pjproject-2.7.2/third_party/webrtc/src -DPJMEDIA_AUDIO_DEV_HAS_ALSA=1 -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -I../include -I../../pjlib/include -I../../pjlib-util/include -I../../pjmedia/include -I../../pjnath/include -I../.. \
-o output/pjmedia-audiodev-x86_64-unknown-linux-gnu/alsa_dev.o \
../src/pjmedia-audiodev/alsa_dev.c
../src/pjmedia-audiodev/alsa_dev.c:37:10: fatal error: alsa/asoundlib.h: No such file or directory
#include <alsa/asoundlib.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
/home/yeti/Downloads/pjproject-2.7.2/build/rules.mak:163: recipe for target 'output/pjmedia-audiodev-x86_64-unknown-linux-gnu/alsa_dev.o' failed
make[2]: *** [output/pjmedia-audiodev-x86_64-unknown-linux-gnu/alsa_dev.o] Error 1
make[2]: Leaving directory '/home/yeti/Downloads/pjproject-2.7.2/pjmedia/build'
Makefile:230: recipe for target 'libpjmedia-audiodev-x86_64-unknown-linux-gnu.a' failed
make[1]: *** [libpjmedia-audiodev-x86_64-unknown-linux-gnu.a] Error 2
make[1]: Leaving directory '/home/yeti/Downloads/pjproject-2.7.2/pjmedia/build'
Makefile:14: recipe for target 'all' failed
make: *** [all] Error 1

Perhaps the alsa mod was not installed so i checked:

eti@ubuntu:~/Downloads/pjproject-2.7.2$ sudo apt-get update
[sudo] password for yeti:
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done                    
yeti@ubuntu:~/Downloads/pjproject-2.7.2$ apt-get install alsa
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
yeti@ubuntu:~/Downloads/pjproject-2.7.2$ sudo apt-get install alsa
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'alsa-base' instead of 'alsa'
alsa-base is already the newest version (1.0.25+dfsg-0ubuntu5).
alsa-base set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
yeti@ubuntu:~/Downloads/pjproject-2.7.2$ ^C

What am I missing here?
Any input would be enormously appreciated.

Sent with ProtonMail Secure Email.


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
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