six-sines: Build failure on Fedora 40 when changing cmake flags and options
I am trying to build six-sines 0.99999 on Fedora 40 and I met a build error (link error):
/builddir/build/BUILD/six-sines-0.999999-build/six-sines/src/ui/preset-manager.cpp:139:(.text+0x23c6): undefined reference to `strnatcasecmp(char const*, char const*)'
/usr/bin/ld: /builddir/build/BUILD/six-sines-0.999999-build/six-sines/src/ui/preset-manager.cpp:139:(.text+0x23db): undefined reference to `strnatcasecmp(char const*, char const*)'
/usr/bin/ld: /builddir/build/BUILD/six-sines-0.999999-build/six-sines/src/ui/preset-manager.cpp:139:(.text+0x23f0): undefined reference to `strnatcasecmp(char const*, char const*)'
/usr/bin/ld: /builddir/build/BUILD/six-sines-0.999999-build/six-sines/src/ui/preset-manager.cpp:139:(.text+0x242a): undefined reference to `strnatcasecmp(char const*, char const*)'
/usr/bin/ld: /builddir/build/BUILD/six-sines-0.999999-build/six-sines/src/ui/preset-manager.cpp:139:(.text+0x244e): undefined reference to `strnatcasecmp(char const*, char const*)'
/usr/bin/ld: /tmp/ccFoWxgi.ltrans14.ltrans.o:/builddir/build/BUILD/six-sines-0.999999-build/six-sines/src/ui/preset-manager.cpp:139: more undefined references to `strnatcasecmp(char const*, char const*)' follow
collect2: error: ld returned 1 exit status
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (10 by maintainers)
Commits related to this issue
- A few unix fixes 1. Link strnatcmp properly. Addresses #111 2. Fix the tar gz not having the standalone. Closes #112 — committed to baconpaul/six-sines by baconpaul 2 years ago
- A few unix fixes (#118) 1. Link strnatcmp properly. Addresses #111 2. Fix the tar gz not having the standalone. Closes #112 — committed to baconpaul/six-sines by baconpaul 2 years ago
- Make sst-plugininfra static explicitly. Warn if you change BSLIBS I explicitly set BUILD_SHARED_LIBS to OFF but if you override that then now I show a warning also. Considered making this a fatal err... — committed to baconpaul/six-sines by baconpaul 2 years ago
- Make sst-plugininfra static explicitly. Warn if you change BSLIBS (#123) I explicitly set BUILD_SHARED_LIBS to OFF but if you override that then now I show a warning also. Considered making this a f... — committed to baconpaul/six-sines by baconpaul 2 years ago
As you can see in https://github.com/baconpaul/six-sines/pull/123/files I go out of my way to force that to OFF but your command line override will win. So I also added a warning for people who do that
I considered a fatal error and may change it to such in the future.
I will try to build six-sines tonight ! Thanks a lot for the fix