On Thu, 6 Jun 2013, Curt, WE7U wrote: > On Thu, 6 Jun 2013, Curt, WE7U wrote: > >> Linking CXX executable freedv >> CMakeFiles/freedv.dir/fdmdv2_main.cpp.o: In function >> `per_frame_rx_processing(FIFO*, int*, FIFO*, int*, int*, CODEC2*)': >> fdmdv2_main.cpp:(.text+0x190a): undefined reference to `golay23_decode' > > I removed all of the codec2 files from "/usr/local/*", removed the > "freetel-code/fdmdv2/build_linux/CMakeCache.txt" file, then in "build_linux" > ran > > cmake .. -DUSE_STATIC_CODEC2=1 > make clean > make > > and it finally compiled. So it looks like the cmake build won't work w/o a > static compile of Codec2? > > I'm able to start up the executable in build_linux/src/ just fine. I hope > this thread might help others.
I repeated the process on another "clean" machine. One that had a few different ham libraries installed but hadn't had FreeDV installed on it before. This is the shortest set of commands I could come up with to get it compiled/installed on OpenSuSE: ---------------------------------------------------------------- # Note: I have /usr/local/include and /usr/local/lib set up at a higher priority than system directories, so newer versions of packages in /usr/local take precedence over older system packages. sudo zypper install cmake libsndfile-devel sox-devel mkdir freetel cd freetel svn checkout http://freetel.svn.sourceforge.net/svnroot/freetel freetel-code cd freetel-code/fdmdv2 cd src make -f Makefile.linux # ***FAILED*** at "fatal error: wx/setup.h: No such file or directory" # Attempt to install WxWidgets by itself, then try the above make again. cd wxWidgets-2.9.4 ./configure make sudo make install # Trying again: cd .. make -f Makefile.linux # ***FAILED*** at "fatal error: wx/setup.h: No such file or directory" cd .. mkdir linux_build cd linux_build cmake .. -DUSE_STATIC_CODEC2=1 cd ../.. wget https://iftools.com/download/ctb/0.16/libctb-0.16.tar.gz tar xzvf libctb-0.16.tar.gz cd libctb-0.16/build make -f GNUmakefile sudo make -f GNUmakefile install cd ../include/ctb_0.16 sudo cp kbhit.h /usr/local/include/ctb-0.16/. cd ../../../fdmdv2/linux_build rm CMakeCache.txt cmake .. -DUSE_STATIC_CODEC2=1 make clean make sudo make install ---------------------------------------------------------------- The executable comes up and runs, but I haven't tried it against my SignaLink + HF rig yet. -- Curt, WE7U. http://wetnet.net/~we7u Windows ate my homework! ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
