Closed mehdideveloper closed 8 years ago
These are the problematic messages:
function name given in argument 1 does not exist.
...which used to happen if an old version of csdr is ran, which doesn't have specific functions, that the newer version of OpenWebRX requires. (Functions are given in the first parameter, like _deemphasis_nfmff.) Anyway, I'm not sure this is the case over here.
Maybe you could try this one?
Thanks. I'm trying to build this branch of csdr; I'm getting this error:
Undefined symbols for architecture x86_64:
"_convert_f_i8", referenced from:
_main in csdr-d453b0.o
"_convert_i8_f", referenced from:
_main in csdr-d453b0.o
"_decimating_shift_addition_cc", referenced from:
_main in csdr-d453b0.o
"_decimating_shift_addition_init", referenced from:
_main in csdr-d453b0.o
"_decode_ima_adpcm_u8_i16", referenced from:
_main in csdr-d453b0.o
"_encode_ima_adpcm_i16_u8", referenced from:
_main in csdr-d453b0.o
"_is_nan", referenced from:
_main in csdr-d453b0.o
"_shift_table_cc", referenced from:
_main in csdr-d453b0.o
"_shift_table_init", referenced from:
_main in csdr-d453b0.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1
Strange. I even tried to build csdr with clang on Linux, and it worked. (Had to do these changes to build with clang:)
-PARAMS_LOOPVECT = -O3 -ffast-math -fdump-tree-vect-details -dumpbase dumpvect
+PARAMS_LOOPVECT = -O3
- c99 $(PARAMS_LOOPVECT) $(PARAMS_SIMD) $(LIBSOURCES) $(PARAMS_LIBS) $(PARAMS_MISC) -fpic -shared -o libcsdr.so
+ clang $(PARAMS_LOOPVECT) $(PARAMS_SIMD) $(LIBSOURCES) $(PARAMS_LIBS) $(PARAMS_MISC) -fpic -shared -o libcsdr.so
- c99 $(PARAMS_LOOPVECT) $(PARAMS_SIMD) csdr.c $(PARAMS_LIBS) -L. -lcsdr $(PARAMS_MISC) -o csdr
+ clang $(PARAMS_LOOPVECT) $(PARAMS_SIMD) csdr.c $(PARAMS_LIBS) -L. -lcsdr $(PARAMS_MISC) -o csdr
At this point I can't help really much as I don't have a Mac yet.
Thank you. It finally worked. I had to delete the "libcsdr.so" from my previous installation. I also added "-L/usr/local/lib" and "-m64" to PARAMS_LIBS in Makefile
Hi I managed to compile fftw3 and csdr on OS X. Now (like my previous issue), when I go to the webpage, I just have an empty spectrum and no sound. (Also replaced nc with ncat in config_webrx.py) Can you help me troubleshoot this? Mac OS X 10.11 fftw 3.3.4 (compiled from source)
Here's the output:
Mehdi