[Slackbuilds-users] FlightGear linking errors with flite

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Apr 18 00:26:07 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> 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/libflit
e.so:
>> undefined reference to `snd_pcm_hw_params_any' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_hw_params_set_channels' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_open' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_prepare' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_hw_params_set_rate' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_drain' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_hw_params_sizeof' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_close' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_hw_params' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_drop' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_hw_params_set_access' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_resume' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_state' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_wait' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_config_update_free_global' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_strerror' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.so:
>> undefined reference to `snd_pcm_hw_params_set_format' 
>> /usr/lib64/gcc/x86_64-slackware-linux/4.8.4/../../../../lib64/libflit
e.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.

flite is not a requirement for FlightGear


- -- 
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlUxpJ8ACgkQiHuDdNczM4H3agCfURWEb2FOHUxLQO3ZacfOSdOd
EZIAn3sELvmbO2ErKrHkMXJE9ZFwvMtz
=N/o5
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list