discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] undefined reference to `Pa_*


From: kdag
Subject: Re: [Discuss-gnuradio] undefined reference to `Pa_*
Date: Sun, 3 Nov 2013 09:58:21 +0100

`Pa_GetDeviceCount'
collect2: error: ld returned 1 exit status
make[2]: *** [gr-audio/examples/c++/dial_tone] Error 1
make[1]: *** [gr-audio/examples/c++/CMakeFiles/dial_tone.dir/all] Error 2
make: *** [all] Error 2
make  20.86s user 1.83s system 94% cpu 23.913 total
Any hints as to how to fix it appreciated
_______________________________________________

Portaudio packages are missing.
# apt-cache search portaudio
libportaudiocpp0 - Portable audio I/O C++ bindings - shared library
libportaudio2 - Portable audio I/O - shared library
portaudio19-dev - Portable audio I/O - development files
Regards
Sid.

Hi Sid, thanks for the hint but see, i do have portaudio, not sure why cmake can't see it. Have tried both:

portaudio19-dev  and  libportaudio-dev


(git)-[master] % sudo aptitude search portaudio
p   libportaudio-dev                                                                   - Portable audio I/O - development files                                                       
i   libportaudio-doc                                                                   - Portable audio I/O - documentation                                                           
i A libportaudio-ocaml                                                                 - OCaml bindings for the portaudio library                                                     
v   libportaudio-ocaml-3r532                                                           -                                                                                              
i   libportaudio-ocaml-dev                                                             - OCaml bindings for the portaudio library                                                     
v   libportaudio-ocaml-dev-3r532                                                       -                                                                                              
id  libportaudio0                                                                      - Portable audio I/O - shared library                                                          
i A libportaudio2                                                                      - Portable audio I/O - shared library                                                          
i A libportaudiocpp0                                                                   - Portable audio I/O C++ bindings - shared library                                             
p   liquidsoap-plugin-portaudio                                                        - audio streaming language -- Portaudio plugin                                                 
i A portaudio19-dev                                                                    - Portable audio I/O - development files                                                       
p   portaudio19-doc                                                                    - Portable audio I/O - documentation          


and


(git)-[master] % sudo aptitude search portaudio
i   libportaudio-dev                                                                   - Portable audio I/O - development files                                                       
i   libportaudio-doc                                                                   - Portable audio I/O - documentation                                                           
p   libportaudio-ocaml                                                                 - OCaml bindings for the portaudio library                                                     
v   libportaudio-ocaml-3r532                                                           -                                                                                              
p   libportaudio-ocaml-dev                                                             - OCaml bindings for the portaudio library                                                     
v   libportaudio-ocaml-dev-3r532                                                       -                                                                                              
i   libportaudio0                                                                      - Portable audio I/O - shared library                                                          
i A libportaudio2                                                                      - Portable audio I/O - shared library                                                          
c   libportaudiocpp0                                                                   - Portable audio I/O C++ bindings - shared library                                             
p   liquidsoap-plugin-portaudio                                                        - audio streaming language -- Portaudio plugin                                                 
p   portaudio19-dev                                                                    - Portable audio I/O - development files                                                       
p   portaudio19-doc                                                                    - Portable audio I/O - documentation 


cmake ../ can't find it: http://pastebin.ca/2473401


-- checking for module 'portaudio'
--   package 'portaudio' not found

so why is it trying to build? how can i force it not to? I have tried to get some light on this a year ago and didn't find a way either. Or can't remember what I did...

http://lists.gnu.org/archive/html/discuss-gnuradio/2012-12/msg00189.html
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]