pc1cp / pappsdr

Automatically exported from code.google.com/p/pappsdr
0 stars 0 forks source link

unable to compile #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, while compiling on Ubuntu Linux with kernel 3.6.9 real time, i get the 
following error message:

...
[ 41%] Generating source-file "separator_png.cpp".
[ 43%] Generating source-file "levelmeter_png.cpp".
[ 45%] Generating source-file "levelmeter_active_png.cpp".
[ 47%] Building CXX object source/CMakeFiles/PappSDR.dir/main.cpp.o
In file included from /home/eu/pappsdr/source/main.hpp:13:0,
                 from /home/eu/pappsdr/source/main.cpp:1:
/home/eu/pappsdr/source/audiothread.hpp:79:5: error: ‘PaStreamParameters’ 
does not name a type
/home/eu/pappsdr/source/audiothread.hpp:80:5: error: ‘PaStreamParameters’ 
does not name a type
/home/eu/pappsdr/source/audiothread.hpp:105:31: error: 
‘PaStreamCallbackTimeInfo’ does not name a type
/home/eu/pappsdr/source/audiothread.hpp:105:57: error: ISO C++ forbids 
declaration of ‘timeInfo’ with no type [-fpermissive]
/home/eu/pappsdr/source/audiothread.hpp:106:25: error: 
‘PaStreamCallbackFlags’ has not been declared
make[2]: *** [source/CMakeFiles/PappSDR.dir/main.cpp.o] Error 1
make[1]: *** [source/CMakeFiles/PappSDR.dir/all] Error 2
make: *** [all] Error 2

I also tried to run 'make -i' to see the process till end and regret to report 
that such error is recursive.

Step i made to get here:

git clone https://code.google.com/p/pappsdr/
cd pappsdr/
git submodule init
git submodule update
mkdir build
cd build/
cmake ..
make 

I am not experienced with C/C++ programming therefore looking for an hint to ge 
ahead.

Thank you very much and best regards.

Original issue reported on code.google.com by esu...@gmail.com on 5 Apr 2013 at 12:52

GoogleCodeExporter commented 8 years ago
an year later, I tried again to compile, on a 32bit machine with 3.9.6 kernel.
this is the output:

knoppix@Microknoppix:~/pappsdr/build$ make
Scanning dependencies of target hidapi
[  2%] Building C object 
libpappradio/source/hidapi-0.7.0/CMakeFiles/hidapi.dir/linux/hid-libusb.c.o
Linking C static library ../../bin/libhidapi.a
[  2%] Built target hidapi
Scanning dependencies of target pappradio
[  4%] Building CXX object 
libpappradio/source/libpappradio/CMakeFiles/pappradio.dir/pappradio.cpp.o
Linking CXX static library ../../bin/libpappradio.a
[  4%] Built target pappradio
Scanning dependencies of target testbed-app
[  6%] Building CXX object 
libpappradio/source/testbed-App/CMakeFiles/testbed-app.dir/main.cpp.o
Linking CXX executable ../../bin/testbed-app
/usr/bin/ld: ../../bin/libhidapi.a(hid-libusb.c.o): undefined reference to 
symbol 'pthread_create@@GLIBC_2.1'
//lib/i386-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from 
command line
collect2: error: ld returned 1 exit status
make[2]: *** [libpappradio/bin/testbed-app] Error 1
make[1]: *** [libpappradio/source/testbed-App/CMakeFiles/testbed-app.dir/all] 
Error 2
make: *** [all] Error 2
knoppix@Microknoppix:~/pappsdr/build$ 

After an extensive google search, I am pretty stuck here. 
Could somebody please give an hint?

Thank you,
Eugenio

Original comment by esu...@gmail.com on 13 Mar 2014 at 9:22

GoogleCodeExporter commented 8 years ago
i   libevent-pthreads-2.0-5                     - Asynchronous event 
notification library (pthreads)    
p   libevent-pthreads-2.0-5:i386                - Asynchronous event 
notification library (pthreads)    
i A libpthread-stubs0-dev                       - pthread stubs not provided by 
native libc, development
p   libpthread-stubs0-dev:i386                  - pthread stubs not provided by 
native libc, development
i   libpthread-workqueue-dev                    - thread pool library 
(development files)               
p   libpthread-workqueue-dev:i386               - thread pool library 
(development files)               
i   libpthread-workqueue0                       - thread pool library           

p   libpthread-workqueue0:i386                  - thread pool library

Original comment by kruus...@gmail.com on 18 Feb 2015 at 9:20