[Slackbuilds-users] FlightGear linking errors with flite

Inokentiy Babushkin inokentiy.babushkin at googlemail.com
Sun Apr 12 14:07:03 UTC 2015


Hello everyone,

While installing FlightGear 3.4, I encounter a linking error:

> Linking CXX executable fgfs 
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_hw_params_any'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_hw_params_set_channels'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_open'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_prepare'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_hw_params_set_rate'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_drain'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_hw_params_sizeof'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_close'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_hw_params'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_drop'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_hw_params_set_access'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_resume'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_state'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_wait'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_config_update_free_global'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_strerror'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_hw_params_set_format'
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflite.so: undefined reference to `snd_pcm_writei'
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/Main/fgfs] Error 1
> make[1]: *** [src/Main/CMakeFiles/fgfs.dir/all] Error 2
> make: *** [all] Error 2

flite seems to be included with the source, the error occured when flite was
installed separately.
However, with flite 1.4 uninstalled, no issues were present.

Kind regards,
TheWormKill



More information about the SlackBuilds-users mailing list