Am 11.09.2010 10:07, schrieb
> Hi,
> I am trying to compile on vdr 1.7.15 the filebrowser-0.2.0 plugin 
> menu-filebrowser.c:205:70: error: invalid conversion from ‘const char*’ to
> ‘char*’

You're using a newer GCC version that is more strict regarding implicit
conversions from const char* to char*. (by not allowing them at all.)

These code parts need to be fixed by either using const char* as type,
or by inserting a (char*) for conversion at the right place.

> menu-filebrowser.c:260:154: error: invalid conversion from ‘int (*)(const
> void*, const void*)’ to ‘int (*)(const dirent64**, const dirent64**)’
> menu-filebrowser.c:260:154: error:   initializing argument 4 of ‘int
> scandir64(const char*, dirent64***, int (*)(const dirent64*), int (*)(const
> dirent64**, const dirent64**))’

This sounds like a mismatch in 64-bit file handling. Beginning from
VDR-1.7.4, all plugins must use DEFINES += -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE in their makefiles to enable
large file handling.



vdr mailing list

Reply via email to