[poky] [POKY]: undefined reference to `sys_errlist at GLIBC_2.12

Khem Raj raj.khem at gmail.com
Thu Mar 1 02:01:11 PST 2012


On 02/27/2012 10:30 PM, sonu vishwakarma wrote:
> |
> /home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/libldap.so:
> undefined reference to `sys_errlist at GLIBC_2.12'
> |
> /home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/libldap.so:
> undefined reference to `sys_nerr at GLIBC_2.12'
> | collect2: ld returned 1 exit status

one way is using strerror instead in the sources. so figure out where
they are used in libldap.so sources and fix them

secondly what does readelf -s
/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/lib/libc.so.6
| grep sys_errlist  say

another option is that you use eglibc 2.12+



More information about the poky mailing list