vdr-plugin-vnsiserver from FernetMenta git issue - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +---- Forum: VDR (https://forum.kodi.tv/forumdisplay.php?fid=169) +---- Thread: vdr-plugin-vnsiserver from FernetMenta git issue (/showthread.php?tid=197162) |
vdr-plugin-vnsiserver from FernetMenta git issue - Tuxwork - 2014-06-06 Hi, i have successfully build latest vdr-plugin-vnsiserver from "FernetMenta git" but when I launch vdr, i get Code: vdr: /usr/lib/vdr/libvdr-vnsiserver.so.2.0.0: undefined symbol: stat informations: Code: $file libvdr-vnsiserver.so Code: $readelf -d libvdr-vnsiserver.so Code: $strings libvdr-vnsiserver5.so |grep stat -A 2 -B 2 The older version of vdr-plugin-vnsiserver not have "stat" entry: Code: $strings libvdr-vnsiserver5.so |grep stat -A 2 -B 2 eglibc 2.17 sys/stat.h http://pastebin.com/zvCGvuC9 Thanks. RE: vdr-plugin-vnsiserver from FernetMenta git issue - FernetMenta - 2014-06-07 please post output from build (use pastebin) and vdr.pc RE: vdr-plugin-vnsiserver from FernetMenta git issue - Tuxwork - 2014-06-07 build log: http://pastebin.com/raw.php?i=dSsDxNjK vdr.pc Code: bindir=/usr/bin please note, when i add a line in "Makefile": Code: DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE Code: vdr: /usr/lib/vdr/libvdr-vnsiserver.so.2.0.0: undefined symbol: stat64 Thanks. RE: vdr-plugin-vnsiserver from FernetMenta git issue - FernetMenta - 2014-06-07 You cross compile vdr and its plugins? The plugin's build system is not prepared for cross compilation. It assumes pkg-config is able to find vdr.pc and extract cflags and some other stuff. Plugins are supposed to compile with exaclty the same flags as vdr. Your build output does not indicate those flags: -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE The -O switch will most likely make the missing symbol go away. RE: vdr-plugin-vnsiserver from FernetMenta git issue - Tuxwork - 2014-06-07 Yeah, Fixed! by adding a line in Makefile: Code: DEFINES += -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE now: Code: $strings libvdr-vnsiserver.so |grep stat sorry for the mistake Thank you |