Closed AndresChoza closed 2 years ago
You're seeing a linker error. It's not finding the math library. I suspect you have it installed but it isn't in your path. What do you get when you run the following?
gcc --print-file-name=libm.a
Hi there.
I get the following:
choza@chozaUbuntu:~/Documents/liquid-dsp$ gcc --print-file-name=libm.a /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libm.a
I tried to modify the makefile so that the "-lm" linker flag was specifically at the end like this:
Now I don't get the error reported above, but instead I'm getting this while trying out "make examples":
Also, since we're on the same "trouble with make" page, I'm having trouble building the docs with "make doc".
Could these be related to each other?
-lm
is a dependency on the objects), but it seems as though make
throws together the compiler/linker commands in the right order to get this to work.fec
library are a result from its interface having changed. If you can live without convolutional & Reed Solomon codes, you might try to compile without them. I can help with this.Right, so what can I do to fix the 'make doc' command? I'm in need of this documentation
Thanks beforehand.
The documentation is not part of the main repository, but is built in https://liquidsdr.org
Hi, I've already run the "make" command as I was having trouble before but now I cannot run the "make examples" command supposedly because of some undefined references to functions contained in "math.h":
Any tips?