[poky] Error in compilation of opkg pacakge

chinmaya hoshing cahoshing at gmail.com
Tue Feb 21 22:20:35 PST 2012


Hi ,

I am building poky working on bernard branch on Ubuntu 10.10 ,32bit host
machine and
compiling xbmc with all its dependency pulled and is working fine.

But if I  start the complete build from scratch I get the error in
do_compile in opkg package something like this :

| i586-poky-linux-libtool: link: warning:
`/home/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/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/sct/xbmc_final/test/poky_xbmc_01Dec2011/build/tmp/sysroots/fishriver/usr/lib/libldap.so:
undefined reference to `sys_errlist at GLIBC_2.12'
|
/home/sct/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
| make[1]: *** [opkg-cl] Error 1
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see
/home/sct/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/sct/xbmc_final/test/poky_xbmc_01Dec2011/meta/recipes-devtools/opkg/
opkg_svn.bb, do_compile) failed with exit code '1'


I just tried to  remove all instances of opkg and openldap in build folder
i.e remove the source from build/tmp/work folder ,remove the stamps and
clean from sstate-cache
then perform bitbake opkg ,I dont get any error and the build continues

So why I am getting this problem if I am start the build from scratch can
anybody help me I want the whole build to be completed continuously and how
can I avoid this type of error .

Regards
Chinmaya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20120222/95b13a00/attachment.html>


More information about the poky mailing list