From: Luca B. <luc...@st...> - 2011-02-16 21:12:08
|
Joshua, i resolved rebooting, deleting kal-v0.4.1 directory, extracting again and trying again "./bootstrap && CXXFLAGS='-W -Wall -O3' ./configure && make" Now works perfectly. Thank you for attention Cheers Luca > Quoting Luca Bongiorni (luc...@st...): >> Hi guys, >> >> now that i resolved with gnuradio 3.3.0, i'm having troubles with kal. >> >> Following the instructions... i made: >> >> ./bootstrap && CXXFLAGS='-W -Wall -O3' ./configure && make >> >> and stucks, returning: >> >> "...... >> Making all in src >> make[2]: Entering directory `/usr/src/kal-v0.4.1/src' >> g++ -I/usr/local/include -g -O2 -o kal kal-arfcn_freq.o kal-c0_detect.o kal-circular_buffer.o kal-fcch_detector.o kal-kal.o kal-offset.o kal-usrp_source.o kal-util.o -lfftw3 -lm -L/usr/local/lib -lusrp -lusb -lpthread >> kal-fcch_detector.o: In function `fcch_detector::freq_detect(std::complex<float> const*, unsigned int, float*)': >> fcch_detector.cc:(.text+0x1354): undefined reference to `fcch_detector::FFT_SIZE' >> collect2: ld returned 1 exit status >> make[2]: *** [kal] Error 1 >> make[2]: Leaving directory `/usr/src/kal-v0.4.1/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/usr/src/kal-v0.4.1' >> make: *** [all] Error 2 >> " > > Luca - > > Hmmm... I'm not sure why you are getting that error. FFT_SIZE is a > static constant member of the fcch_detector class and the only time it > is referenced is from the fcch_detector constructor and the > freq_detect() member function. > > There really should be no place where FFT_SIZE is referenced that would > cause it to be undefined. > > The one inconsistency I can see above is that you claimed you configured > it with "CXXFLAGS='-W -Wall -O3' ./configure" but the output you display > only has '-g -O2'. Something is wrong there. > > Try this: > > (./bootstrap && CXXFLAGS='-W -Wall -O3' ./configure && make) > /dev/null > > And send me the output. > > >> "collect2: ld returned 1 exit status" // It means that some libraries left... > > No, it means it couldn't find FFT_SIZE in the .o file. > |