Topics

fldigi install error

Brian T Schmidt
 

Can someone help me with this? Lots for erros during fldigi install on Mint Linux

soundcard/sound.cxx: In constructor ‘SoundPort::SoundPort(const char*, const char*)’:
soundcard/sound.cxx:1262:2: error: ‘req_sample_rate’ was not declared in this scope
  req_sample_rate = 0;
  ^~~~~~~~~~~~~~~
soundcard/sound.cxx:1262:2: note: suggested alternative: ‘resample_write’
  req_sample_rate = 0;
  ^~~~~~~~~~~~~~~
  resample_write
soundcard/sound.cxx: In member function ‘virtual int SoundPort::Open(int, int)’:
soundcard/sound.cxx:1372:29: error: ‘req_sample_rate’ was not declared in this scope
  int old_sample_rate = (int)req_sample_rate;
                             ^~~~~~~~~~~~~~~
soundcard/sound.cxx:1372:29: note: suggested alternative: ‘old_sample_rate’
  int old_sample_rate = (int)req_sample_rate;
                             ^~~~~~~~~~~~~~~
                             old_sample_rate
soundcard/sound.cxx: In member function ‘virtual size_t SoundPort::Read(float*, size_t)’:
soundcard/sound.cxx:1552:20: error: ‘req_sample_rate’ was not declared in this scope
  sd[0].src_ratio = req_sample_rate / (sd[0].dev_sample_rate * (1.0 + rxppm / 1e6));
                    ^~~~~~~~~~~~~~~
soundcard/sound.cxx:1552:20: note: suggested alternative: ‘resample_write’
  sd[0].src_ratio = req_sample_rate / (sd[0].dev_sample_rate * (1.0 + rxppm / 1e6));
                    ^~~~~~~~~~~~~~~
                    resample_write
soundcard/sound.cxx: In member function ‘virtual size_t SoundPort::resample_write(float*, size_t)’:
soundcard/sound.cxx:1719:6: error: ‘req_sample_rate’ was not declared in this scope
  if (req_sample_rate != sd[1].dev_sample_rate || progdefaults.TX_corr != 0) {
      ^~~~~~~~~~~~~~~
soundcard/sound.cxx:1719:6: note: suggested alternative: ‘resample_write’
  if (req_sample_rate != sd[1].dev_sample_rate || progdefaults.TX_corr != 0) {
      ^~~~~~~~~~~~~~~
      resample_write
soundcard/sound.cxx: In member function ‘void SoundPort::src_data_reset(unsigned int)’:
soundcard/sound.cxx:1806:21: error: ‘req_sample_rate’ was not declared in this scope
   sd[0].src_ratio = req_sample_rate / (sd[0].dev_sample_rate * (1.0 + rxppm / 1e6));
                     ^~~~~~~~~~~~~~~
soundcard/sound.cxx:1806:21: note: suggested alternative: ‘resample_write’
   sd[0].src_ratio = req_sample_rate / (sd[0].dev_sample_rate * (1.0 + rxppm / 1e6));
                     ^~~~~~~~~~~~~~~
                     resample_write
soundcard/sound.cxx:1816:74: error: ‘req_sample_rate’ was not declared in this scope
 src_data->src_ratio = sd[1].dev_sample_rate * (1.0 + txppm / 1e6) / req_sample_rate;
                                                                     ^~~~~~~~~~~~~~~
soundcard/sound.cxx:1816:74: note: suggested alternative: ‘resample_write’
 src_data->src_ratio = sd[1].dev_sample_rate * (1.0 + txppm / 1e6) / req_sample_rate;
                                                                     ^~~~~~~~~~~~~~~
                                                                          resample_write
In file included from ./config.h:589:0,
                 from soundcard/sound.cxx:27:
soundcard/sound.cxx:1821:10: error: ‘req_sample_rate’ was not declared in this scope
      MAX(req_sample_rate, sd[dir].dev_sample_rate) /
          ^
./include/util.h:46:26: note: in definition of macro ‘MAX’
 #    define MAX(a, b) (((a) > (b)) ? (a) : (b))
                          ^
soundcard/sound.cxx:1821:6: note: in expansion of macro ‘MAX’
      MAX(req_sample_rate, sd[dir].dev_sample_rate) /
      ^~~
soundcard/sound.cxx:1821:10: note: suggested alternative: ‘resample_write’
      MAX(req_sample_rate, sd[dir].dev_sample_rate) /
          ^
./include/util.h:46:26: note: in definition of macro ‘MAX’
 #    define MAX(a, b) (((a) > (b)) ? (a) : (b))
                          ^
soundcard/sound.cxx:1821:6: note: in expansion of macro ‘MAX’
      MAX(req_sample_rate, sd[dir].dev_sample_rate) /
      ^~~
soundcard/sound.cxx: In member function ‘void SoundPort::init_stream(unsigned int)’:
soundcard/sound.cxx:1962:34: error: ‘req_sample_rate’ was not declared in this scope
   if (sd[dir].dev_sample_rate != req_sample_rate)
                                  ^~~~~~~~~~~~~~~
soundcard/sound.cxx:1962:34: note: suggested alternative: ‘resample_write’
   if (sd[dir].dev_sample_rate != req_sample_rate)
                                  ^~~~~~~~~~~~~~~
                                  resample_write
soundcard/sound.cxx: In member function ‘double SoundPort::find_srate(unsigned int)’:
soundcard/sound.cxx:2124:7: error: ‘req_sample_rate’ was not declared in this scope
   if (req_sample_rate == *i || (*sd[dir].idev)->defaultSampleRate == *i)
       ^~~~~~~~~~~~~~~
soundcard/sound.cxx:2124:7: note: suggested alternative: ‘resample_write’
   if (req_sample_rate == *i || (*sd[dir].idev)->defaultSampleRate == *i)
       ^~~~~~~~~~~~~~~
       resample_write
Makefile:7090: recipe for target 'soundcard/fldigi-sound.o' failed
make[3]: *** [soundcard/fldigi-sound.o] Error 1
make[3]: Leaving directory '/home/brian/Downloads/fldigi-4.1.09/src'
Makefile:8106: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/brian/Downloads/fldigi-4.1.09/src'
Makefile:1667: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/brian/Downloads/fldigi-4.1.09/src'
Makefile:469: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Dave
 

Did you follow the build wiki to a "t"?  http://www.w1hkj.com/doku/doku.php?id=howto:building_on_debian-ubuntu-mint

David


Brian T Schmidt
 

yes...just re-downloaded original file.

Re ran setup again and is working...

Fresh image of Cinnamon 19.3 and hour ago.

Loaded flrig and got that working..

Had to rerun fldigi a second time and now it is working...weird.

Thanks Dave

Are you going to be a Hamcation?

NI0P

Brian

Dave
 

No Brian, I have to stay close to home.

Dave

On 2/4/20 5:26 PM, Brian T Schmidt wrote:
yes...just re-downloaded original file.

Re ran setup again and is working...

Fresh image of Cinnamon 19.3 and hour ago.

Loaded flrig and got that working..

Had to rerun fldigi a second time and now it is working...weird.

Thanks Dave

Are you going to be a Hamcation?

NI0P

Brian

Brian T Schmidt
 

NIce


On Tue, Feb 4, 2020 at 7:25 PM Dave <w1hkj@...> wrote:

No Brian, I have to stay close to home.

Dave

On 2/4/20 5:26 PM, Brian T Schmidt wrote:
yes...just re-downloaded original file.

Re ran setup again and is working...

Fresh image of Cinnamon 19.3 and hour ago.

Loaded flrig and got that working..

Had to rerun fldigi a second time and now it is working...weird.

Thanks Dave

Are you going to be a Hamcation?

NI0P

Brian