Bug #1871
compilation error idnode.c arm synology
100%
Description
2.6.32.12 kernel
gcc 4.6.2
oldest glibc 2.5
Is it possible to solve this problem? It's only on NAS, which have oldest glibc 2.5, and I can't it change.
CC src/main.o
CC src/tvhlog.o
CC src/idnode.o
src/idnode.c: In function 'idnode_set_sort':
src/idnode.c:663:3: warning: implicit declaration of function 'qsort_r' [-Wimplicit-function-declaration]
CC src/prop.o
CC src/utils.o
......
CC src/descrambler/ffdecsa/ffdecsa_interface.o
CC src/descrambler/ffdecsa/ffdecsa_int.o
CC tvheadend
/src/tvheadend/build.linux/src/idnode.o: In function `idnode_set_sort':
/src/tvheadend/src/idnode.c:663: undefined reference to `qsort_r'
collect2: ld returned 1 exit status
make: *** [/src/tvheadend/build.linux/tvheadend] Error 1
History
Updated by Adam Sutton about 11 years ago
Unfortunately that function is only available on glibc 2.8+, and I'm not really in the mood for supporting such ancient code bases.
The best I can offer is to completely disable that function so the code will at least compile but you will lose (almost) all UI sorting.
Adam
Updated by Sergey Borsukov about 11 years ago
Adam, thanks for the answer. Synology going to the waste with this treatment to updates.
Sergey
Updated by Piotr Kuchciak about 11 years ago
On what model Synology wanted to compile TVHeadend?
I'm on my DS213 I started using the application of SynoCommunity a DEBIAN CHROOT. Because compilation Version 3.9 from the source code of Synocommunity brought no effect, and apparently you can not ... The only solution I've found is to launch version 3.9 on DEBIAN CHROOT.
Updated by Sergey Borsukov about 11 years ago
yes, i know thank you, i posted about it: http://forum.xbmc.org/showthread.php?tid=141981&pid=1564641#pid1564641
Updated by Anonymous about 11 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset tvheadend|commit:9c1617df6b9040f03b063b0e97867130ebcbffc7.