Closed andimik closed 2 months ago
https://github.com/mpv-player/mpv/issues/10906
Will this help?
Thanks for investigating this! I think it's because some systems have iconv as a separate library and some have its functionality bundled inside libc. I'll need to try out some hacks around this. Quick fix could be to remove all mentions of iconv in meson.build and see if it just compiles anyway.
Some progress, I can build it, but there is a segfault then when executing redsea
iconv = cc.find_library('libc', dirs: ['/usr/bin'], static: true)
Please note, I am not a programmer (have never heard the term meson
before) and just found some hints on the internet. No idea if I am wrong.
pi@rpi3:~/apps/redsea/build $ gdb ./redsea
GNU gdb (Raspbian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
--Type <RET> for more, q to quit, c to continue without paging--
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./redsea...(no debugging symbols found)...done.
(gdb) r
Starting program: /home/pi/apps/redsea/build/redsea
Program received signal SIGSEGV, Segmentation fault.
0x0008242c in __libc_start_main ()
(gdb) bt
#0 0x0008242c in __libc_start_main ()
#1 0x00024fa4 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
I have changed to your dev
branch and could successfully build it.
On my raspberry, I cannot build the latest v1.0 with meson.
meson-log.txt