←  [EN] Third-Party Development

Forums

»

Newbie , problem at compiling image

sharkyxia's Photo sharkyxia 21 Jun 2011

Hi, all ,
I am a fresh in openPli forum , and i following the steps ( http://openpli.pli-i...tEnvironmentCDK) to compile my first image , after i type in make dreamboximage_root, takes a long time to download archives and compile link,[/size]
but at last, screen omit some error messages, like below:
[font=Verdana, Arial, Bitstream Vera Sans, Helvetica, sans-serif][size=36]
/home/robinx/dream/trunk/cdk/cdk/build/libc_pic.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [/home/robinx/dream/trunk/cdk/cdk/build/elf/librtld.map] Error 1
make[3]:leaving directory `/home/robinx/dream/trunk/cdk/cdk/glibc-2.3.2/elf'
make[2]: *** [elf/subdir_lib] Error 2
make[2]:leaving directory `/home/robinx/dream/trunk/cdk/cdk/glibc-2.3.2'
make[1]: *** [all] Error 2
make[1]:leaving directory `/home/robinx/dream/trunk/cdk/cdk/build'
make: *** [.glibc] Error 2

I got some clue from google , there are some problem with gcc library or others,
Is there any encountered same problem ?and how to solve it?
many thanks for your kindly read and reply.

Robin
2011 06 21
Quote

dAF2000's Photo dAF2000 21 Jun 2011

Welcome on the forum.

If you have a 64 bit pc, you may need to install the compatibility libraries: ia32-libs (or whatever they are called)
Quote

sharkyxia's Photo sharkyxia 21 Jun 2011

Thanks for your tips, I will try it later.
Quote

hemispherical1's Photo hemispherical1 21 Jun 2011

It might be time to add that the development tools require 32bit support to the wiki. ;)


--
hemi
Quote

sharkyxia's Photo sharkyxia 22 Jun 2011

Hi,
After install ia32-libs library and restart the pc, but the problem is stiil exist ,
so I try to follow the tuxbox cvs and instructions ,maybe my pc gcc version is too high , always outputome some errors, need to modify source code by hand , it is frustrated .
now I have to set up a suitable environment for next step.
thanks all
Quote

dAF2000's Photo dAF2000 22 Jun 2011

I use Ubuntu 10.04 (the LTS release) and that one works fine.
Quote

sharkyxia's Photo sharkyxia 23 Jun 2011

Ok, thanks dAF2000 ,
My linux is Ubuntu 11 04, Maybe I can try at older version as you suggested.
Quote

xtrendmaster's Photo xtrendmaster 23 Jun 2011

i have had many errors and spent quite long time to compile an image on ubuntu 11.04
i would really advise to use ubuntu 10.04
Quote