IIRC there are two speex libraries, speex and speexdsp. I am actually only using calls from speexdsp, so I think that is the missing library.
Also it's actually only required for the unit tests, not part of freedv_api. Perhaps there is a better way to organise this, like build without the unit tests. Although this is codec2-dev I guess.... Cheers, David On 10/10/14 05:05, Richard Shaw wrote: > On Thu, Oct 9, 2014 at 1:20 PM, wully <[email protected] > <mailto:[email protected]>> wrote: > > Hi all > > Today, I have been able to implement freeDV modulation and > demodulation. Tomorrow, I hope to have my first qso in freeDV. > > The interface of freeDV is clearly much easier to handle as the > fdmdv_demod. Thank you for this. > > But with cmake I could not produce all things, because there were > errors in the unittest: > [SNIP] > > > Linking C executable speexnoisesup > CMakeFiles/speexnoisesup.dir/speexnoisesup.c.o: In function `main': > > /home/phenom/LinuxDevel/Amateurfunk/freeDV/codec2-master/unittest/speexnoisesup.c:43: > undefined reference to `speex_preprocess_state_init' > > /home/phenom/LinuxDevel/Amateurfunk/freeDV/codec2-master/unittest/speexnoisesup.c:46: > undefined reference to `speex_preprocess_run' > > /home/phenom/LinuxDevel/Amateurfunk/freeDV/codec2-master/unittest/speexnoisesup.c:52: > undefined reference to `speex_preprocess_state_destroy' > collect2: error: ld returned 1 exit status > make[2]: *** [unittest/speexnoisesup] Fehler 1 > make[1]: *** [unittest/CMakeFiles/speexnoisesup.dir/all] Fehler 2 > make: *** [all] Fehler 2 > > > Ok, looks like it's not linking properly, but for me to help > troubleshoot I need two things: > > 1. The output from the cmake configuration step. I'm assuming it finds > speex or it should error out. > 2. When you hit an error, it's best to run make again with the verbose > setting on so I can see the actual commands and not just the error > output. Since I don't need the whole log, the easiest thing to do when > you run into an error is: > > $ make VERBOSE=1 > > and paste that here, or if you want to capture it to a file > > $ make VERBOSE=1 > codec2.log > > > The version of speex is 1.1.999_1.2rc1-21.1.2 (installed from > openSuse 13.1). > > > On Fedora I have version 1.2 but I have no idea if the version is the > problem. > > Thanks, > Richard > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
