Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with Kali 1.0.7 #40

Closed
fe8769 opened this issue Jul 11, 2014 · 12 comments
Closed

Build with Kali 1.0.7 #40

fe8769 opened this issue Jul 11, 2014 · 12 comments

Comments

@fe8769
Copy link

fe8769 commented Jul 11, 2014

hello

error in DSD make command

git clone https://github.com/LinuxSheeple-E/dsd
cd dsd
git checkout Feature/DMRECC

cd dsd
mkdir build
cd build
cmake ..
make

error

/usr/local/include/itpp/base/itassert.h:34:28: fatal error: itpp/itexports.h: Aucun fichier ou dossier de ce type
/usr/local/include/itpp/itbase.h:128:36: fatal error: itpp/base/base_exports.h: Aucun fichier ou dossier de ce type
/usr/local/include/itpp/itcomm.h:75:39: fatal error: itpp/comm/multilateration.h: Aucun fichier ou dossier de ce type

in french no file found : to resolve need to copy the specific file in the specific library

Second set of errors

/usr/local/lib/libitpp.so: undefined reference to itpp::g711_details::MuLaw_Properties::expansion_table' /usr/local/lib/libitpp.so: undefined reference toitpp::g711_details::G711_Base_Properties::compression_table'
/usr/local/lib/libitpp.so: undefined reference to `itpp::g711_details::ALaw_Properties::expansion_table'

problem with g711.cpp ? but what

thanks for answer

@szechyjs
Copy link
Owner

My guess is you are not using a new enough version of itpp.

Consult the Installation Guide

@ch0mik
Copy link

ch0mik commented Jul 12, 2014

Hello,

@ubuntu 12.04 (Linux mainframe 3.2.0-65-generic #99-Ubuntu SMP Fri Jul 4
21:03:29 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux) until dsd compile (after
itpp compiled with full success)
(...)
[ 13%] Building C object CMakeFiles/dsd.dir/pa_devs.c.o
/home/ch0mik/dsd/pa_devs.c: In function ‘printPortAudioDevices’:
/home/ch0mik/dsd/pa_devs.c:14:5: error: unknown type name
‘PaStreamParameters’
/home/ch0mik/dsd/pa_devs.c:21:13: warning: format ‘%s’ expects argument of
type ‘char ’, but argument 3 has type ‘int’ [-Wformat]
/home/ch0mik/dsd/pa_devs.c:45:52: error: ‘PaDeviceInfo’ has no member named
‘hostApi’
/home/ch0mik/dsd/pa_devs.c:47:13: error: unknown type name ‘PaHostApiInfo’
/home/ch0mik/dsd/pa_devs.c:47:74: error: ‘PaDeviceInfo’ has no member named
‘hostApi’
/home/ch0mik/dsd/pa_devs.c:48:51: error: request for member ‘name’ in
something not a structure or union
/home/ch0mik/dsd/pa_devs.c:58:52: error: ‘PaDeviceInfo’ has no member named
‘hostApi’
/home/ch0mik/dsd/pa_devs.c:60:13: error: unknown type name ‘PaHostApiInfo’
/home/ch0mik/dsd/pa_devs.c:60:74: error: ‘PaDeviceInfo’ has no member named
‘hostApi’
/home/ch0mik/dsd/pa_devs.c:62:51: error: request for member ‘name’ in
something not a structure or union
/home/ch0mik/dsd/pa_devs.c:79:85: error: ‘PaDeviceInfo’ has no member named
‘hostApi’
/home/ch0mik/dsd/pa_devs.c:82:68: error: ‘PaDeviceInfo’ has no member named
‘defaultSampleRate’
make[2]: *
* [CMakeFiles/dsd.dir/pa_devs.c.o] Błąd 1
make[1]: *** [CMakeFiles/dsd.dir/all] Błąd 2
make: *** [all] Błąd 2

Regards
Pawel, SQ7MRU

On Fri, Jul 11, 2014 at 11:14 PM, Jared Szechy notifications@github.com
wrote:

My guess is you are not using a new enough version of itpp.

Consult the Installation Guide
https://github.com/szechyjs/dsd/wiki/Installation


Reply to this email directly or view it on GitHub
#40 (comment).

@fe8769
Copy link
Author

fe8769 commented Jul 12, 2014

Thanks

I have again reinstall lasted It++ (4.3.1) and working now fine . I did 4 or 5 times this reinstallation
now I can't open /dev/audio

os is kali 1.0.6 . Running under WMWARE workstation . default sound card is virtual audio cable

DSD says can(t open /dev/audio

@szechyjs
Copy link
Owner

/dev/audio does not exist on newer distributions. Use portaudio instead.

@fe8769
Copy link
Author

fe8769 commented Jul 14, 2014

I tried to find the way to use portaudio on kali

I retreive lastest portaudio.tgz

I compiled succssfully

but I don't know how to use it . portaudio web site is confusing

thanks

@szechyjs
Copy link
Owner

Provided dsd is compiled with port audio support it is quite easy.

Input & Output Options

Run the following to get a list of devices on your system.

dsd -a

Then use the device numbers with the input and output parameters like so

dsd -i pa:0 -o pa:1

@fe8769
Copy link
Author

fe8769 commented Jul 14, 2014

I m so sorry !!

dsd -a showing me :

dsd -a
Digital Speech Decoder 1.7.0-dev (build:v1.6.0-77-ge2e9c8c)
mbelib version 1.2.5
dsd: invalid option -- 'a'

what wrong did I do ?

@szechyjs
Copy link
Owner

You are not using the current dsd.

On Mon, Jul 14, 2014 at 5:14 PM, fe8769 notifications@github.com wrote:

I m so sorry !!

dsd -a showing me :

dsd -a
Digital Speech Decoder 1.7.0-dev (build:v1.6.0-77-ge2e9c8c)
mbelib version 1.2.5
dsd: invalid option -- 'a'

what wrong did I do ?


Reply to this email directly or view it on GitHub
#40 (comment).

@fe8769
Copy link
Author

fe8769 commented Jul 14, 2014

I'm Using :

Git clone https://github.com/LinuxSheeple-E/dsd
cd dsd
git checkout Feature/DMRECC

I was thinking it was the latest up to date version

@szechyjs
Copy link
Owner

I can't help you with that fork. It currently doesn't have any of the newer port audio features. I know it does have alsa support which should work. Consult #27 for more details.

@jcabbott86
Copy link

i copy pasted all the the commands and i still get errors..
i ran..

apt-get update
apt-get upgrade

everything worked upto..

cd itpp-4.3.1
mkdir build && cd build
cmake ..
make -j'nproc'
sudo make install
ERROR OUTPUT


[ 1%] Building CXX object itpp/CMakeFiles/itpp.dir/base/random.cpp.o
In file included from /root/itpp-4.3.1/itpp/base/random_dsfmt.h:40:0,
from /root/itpp-4.3.1/itpp/base/random.h:32,
from /root/itpp-4.3.1/itpp/base/random.cpp:29:
/root/itpp-4.3.1/itpp/base/random_dsfmt.h: In static member function ‘static void itpp::random_details::DSFMT<MEXP, POS1, SL1, MSK1, MSK2, FIX1_V, FIX2_V, PCV1_V, PCV2_V>::do_recursion(typename itpp::random_details::DSFMT<MEXP, POS1, SL1, MSK1, MSK2, FIX1_V, FIX2_V, PCV1_V, PCV2_V>::Context::w128_t*, typename itpp::random_details::DSFMT<MEXP, POS1, SL1, MSK1, MSK2, FIX1_V, FIX2_V, PCV1_V, PCV2_V>::Context::w128_t*, typename itpp::random_details::DSFMT<MEXP, POS1, SL1, MSK1, MSK2, FIX1_V, FIX2_V, PCV1_V, PCV2_V>::Context::w128_t*, typename itpp::random_details::DSFMT<MEXP, POS1, SL1, MSK1, MSK2, FIX1_V, FIX2_V, PCV1_V, PCV2_V>::Context::w128_t*) [with int MEXP = 19937; int POS1 = 117; int SL1 = 19; long unsigned int MSK1 = 4498102069230399; long unsigned int MSK2 = 4501400546508797; long unsigned int FIX1_V = 10376655713290109737; long unsigned int FIX2_V = 4291106551315987578; long unsigned int PCV1_V = 4432916062321256576; long unsigned int PCV2_V = 1]’:
/root/itpp-4.3.1/itpp/base/random_dsfmt.h:306:17: error: the last argument must be an 8-bit immediate
__m128i y = _mm_shuffle_epi32(lung->si, SSE2_SHUFF);
^
itpp/CMakeFiles/itpp.dir/build.make:257: recipe for target 'itpp/CMakeFiles/itpp.dir/base/random.cpp.o' failed
make[2]: *** [itpp/CMakeFiles/itpp.dir/base/random.cpp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'itpp/CMakeFiles/itpp.dir/all' failed
make[1]: *** [itpp/CMakeFiles/itpp.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2


im running kali 2018. im sure im doing something wrong. ive never been able to get cmake make installs to work. im more of apt-get install guy. im still a NOOB to linux.

PLEASE help me.

@szechyjs
Copy link
Owner

Not sure if this was your askubuntu post as well, but see my answer, it should solve your issue.

https://askubuntu.com/a/1050020/20730

apt-get install libitpp-dev

https://github.com/szechyjs/dsd/wiki/Installation#dependency-installation-on-ubuntu-1404-and-newer

Repository owner locked as resolved and limited conversation to collaborators Jun 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants