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

Most upvoted comments

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