On 08/09/2018 10:21 AM, Adhemerval Zanella wrote: >> +/* Use dlvsym to locate the symbol. We need both the current and >> + compatibility definition of readdir64. */ >> +typedef struct __old_dirent64 *(*compat_readdir64_type) (DIR *); ... you don't use dlvsym, but instead use compat_symbol_reference. -- Cheers, Carlos.