All of lore.kernel.org
 help / color / mirror / Atom feed
* : undefined reference to `sys_errlist@GLIBC_2.12
@ 2012-02-28  6:30 sonu vishwakarma
  2012-03-01 10:01 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: sonu vishwakarma @ 2012-02-28  6:30 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 3883 bytes --]

Hi ,

I am building poky working on bernard branch on Ubuntu 10.10 ,64 bit host.
I get the error in do_compile in opkg package something like this :
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgcrypt.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libtasn1.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libz.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgcrypt.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libtasn1.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libz.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgcrypt.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libassuan.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| i586-poky-linux-libtool: link: warning:
`/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/
libgpg-error.la' seems to be moved
| Making all in src
|   CC    opkg-cl.o
|   LINK  opkg-cl
|
/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/libldap.so:
undefined reference to `sys_errlist@GLIBC_2.12'
|
/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/libldap.so:
undefined reference to `sys_nerr@GLIBC_2.12'
| collect2: ld returned 1 exit status
| make[1]: *** [opkg-cl] Error 1
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see
/home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/work/atom-poky-linux/opkg-1_0.1.8+svnr596-r1/temp/log.do_compile.13807
for further information)
NOTE: package opkg-1_0.1.8+svnr596-r1: task do_compile: Failed
ERROR: Task 2964
(/home/xbmc_final/test/poky_xbmc_01Dec2011/meta/recipes-devtools/opkg/
opkg_svn.bb, do_compile) failed with exit code '1'

Currently i'm having glibc-2.10 , Is it related to glibc package version ?
Can anyone help me out ??

Thanks in advance.
Sonu Vishwakarma

[-- Attachment #2: Type: text/html, Size: 6109 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: : undefined reference to `sys_errlist@GLIBC_2.12
  2012-02-28  6:30 : undefined reference to `sys_errlist@GLIBC_2.12 sonu vishwakarma
@ 2012-03-01 10:01 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2012-03-01 10:01 UTC (permalink / raw)
  To: poky

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@GLIBC_2.12'
> |
> /home/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/libldap.so:
> undefined reference to `sys_nerr@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+


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-01 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28  6:30 : undefined reference to `sys_errlist@GLIBC_2.12 sonu vishwakarma
2012-03-01 10:01 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.