On Wed, May 03, 2006 at 06:55:01PM +0100, "José A.Benítez Peláez" wrote:

> Well, I am trying to compile the package hello-world-gtk. I
> have a problem but I cannot solve it. The problem is that when
> I install gtk2 the gcc compiler doesn`t run
> 
> I have set up scractchbox in a host Debian. I have installed
> this packages<..>
>  After I have set up scracthbox with sb-menu and I have
> selected these options<..>
>  Select compiler: arm-linux-ct401-2.3 cross
>  <..>
>  After this I have tested sbrsh and it runs
> 
>  After I have compiled the package
>  /scratchbox/packages/hello-world.tar.gz
>  and runs
> 
> ----------------------------------------------------------
>  [sbox-MYTARGET10: /scratchbox/devkits/debian/bin] >
>  sb-install-base-packages
>  Reading Package Lists... Done
>  Building Dependency Tree... Done
>  The following extra packages will be installed:
>  <...> libc6 <...>
> 
>  ----------------------------------------------------------
> 
>  After, I have compiled hello-world again without problems
> 
> ----------------------------------------------------------
> ----------------------------------------------------------
> 
>  After, I have installed gtk2
> 
> ----------------------------------------------------------
>  [sbox-MYTARGET10: ~/hello-world] > fakeroot apt-get install
>  libgtk2.0-dev
>  Reading Package Lists... Done
>  Building Dependency Tree... Done
>  The following extra packages will be installed:
>  <...> libc6-dev <...>
> ...
> [sbox-MYTARGET10: ~/hello-world] >
> ----------------------------------------------------------
> 
>  And finaly, I have tried to compile hello-world again and I
> have problems
> 
> ----------------------------------------------------------

You probably installed a version of libc6 (or libc6-dev) that is
incompatible with the toolchain you are using. You should use the
libc6/libc6-dev packages provided with the toolchain (in
/scratchbox/compilers/arm-linux-ct401-2.3/packages/ directory).


-- 
Toni Timonen
040-5111863,GPG 0x7984A4FD
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to