symbol lookup error: undefined symbol: Mix_FadeInChannel
Moderator: Forum Moderators
symbol lookup error: undefined symbol: Mix_FadeInChannel
Hello,
I compiled the game yesterday and this is what appears in my terminal when I try to launch it :
I have test with 1.17.9 and 1.16.6, same message.
I use a Raspberry Pi on Raspberry Pi OS, and my system is up-to-date.
For download the .deb package : https://sourceforge.net/projects/battle ... b/download
or https://sourceforge.net/projects/battle ... b/download
wesnothd is working after install libbost-coroutine, but he said me
The script I have used :
And an extract of the log (I have removed the download, extract and install log) : https://c.gmx.fr/@1091385412309489919/K ... CUdiaKX41g
I compiled the game yesterday and this is what appears in my terminal when I try to launch it :
Code: Select all
wesnoth: symbol lookup error: wesnoth: undefined symbol: Mix_FadeInChannel
I use a Raspberry Pi on Raspberry Pi OS, and my system is up-to-date.
For download the .deb package : https://sourceforge.net/projects/battle ... b/download
or https://sourceforge.net/projects/battle ... b/download
wesnothd is working after install libbost-coroutine, but he said me
Code: Select all
20221025 09:30:59 error server: could not make fifo at '/var/run/wesnothd/socket' (No such file or directory)
Spoiler:
« Hacker vaillant, rien d’impossible ! »
Re: symbol lookup error: undefined symbol: Mix_FadeInChannel
What version of SDL_mixer (sometimes called SDL2_mixer) do you have installed on your system? Do you perhaps have two different versions installed (maybe one compiled, one from an operating system package)? It looks like Wesnoth was compiled with version 2.6.2 but it might be using an older version (probably 2.0.4?) at runtime.
Re: symbol lookup error: undefined symbol: Mix_FadeInChannel
Yes, I use the libsd2-mixer 2.0.4+dfsg1-3 on my main OS.
The game work on my compilation OS.
I have update to sid my compilation OS, it is for this?
The game work on my compilation OS.
I have update to sid my compilation OS, it is for this?
« Hacker vaillant, rien d’impossible ! »
Re: symbol lookup error: undefined symbol: Mix_FadeInChannel
The documentation for the function
So in version 2.0.4 the function
Mix_FadeInChannel
says:Code: Select all
* Note that before SDL_mixer 2.6.0, this function was a macro that called
* Mix_FadeInChannelTimed() with a fourth parameter ("ticks") of -1. This
* function still does the same thing, but promotes it to a proper API
* function. Older binaries linked against a newer SDL_mixer will still call
* Mix_FadeInChannelTimed directly, as they are using the macro, which was
* available since the dawn of time.
Mix_FadeInChannel
does not actually exist because it was a macro and not a function. If you compile with version 2.6.x it's going to try to use the function version, but then if you run it with a version 2.0.4 shared library the function will not be there.Re: symbol lookup error: undefined symbol: Mix_FadeInChannel
Thanks you, I will try to recompile with 2.0.4 libsdl2.
« Hacker vaillant, rien d’impossible ! »
Re: symbol lookup error: undefined symbol: Mix_FadeInChannel
It's work now.
« Hacker vaillant, rien d’impossible ! »