apt-get won't install cross tools
Hello list,
I recently acquired a Freescale MC9328 arm core based board already
running a linux kernel (2.4.26) which I would like to customise myself so I
decided I would try the embedian cross tool chains "suite". I have a 3.1 r2
distro with default 2.4.27 kernel. However when I try to install the package
as indicated, apt-get reports:
The following packages have unmet dependencies:
gcc-3.3-arm-linux: Depends: gcc-3.3-base (= 1:3.3.6-13) but 1:3.3.5-13 is
to be installed
Depends: cpp-3.3-arm-linux (= 1:3.3.6-13) but it is not
going to be installed
Depends: libgcc1-arm-cross (>= 1:3.3.4-3) but it is not
going to be installed
libc6-dev-arm-cross: Depends: libc6-arm-cross (= 2.3.6-7) but it is not
going to be installed
E: Broken packages
It appears I have a too recent version of the gcc base so apt won't
install the package. Is there any solution?
I also had found this link:
http://www.jimbrooks.org/web/linux/docs/programming/SettingUpACrossDevelopmentEnvironmentOnDebianLinux.php
explaining a step by step method of creating a cross compiler
environment, but I couldn't complete it due to missing packages/dependencies
being reported at the "GCC" section of the page. After removing the above
packages and trying again it now fails at the first binutils-arm-linux
compile (debuild) with the following error:
dpkg-buildpackage: source package is binutils-arm-linux
dpkg-buildpackage: source version is 2.15-5
dpkg-buildpackage: source maintainer is iceman <iceman@nospam>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
Can't locate /usr/share/debian-dir/perl.inc in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm
line 10.
Compilation failed in require at /usr/bin/dh_testdir line 10.
BEGIN failed--compilation aborted at /usr/bin/dh_testdir line 10.
make: *** [clean] Error 2
debuild: fatal error at line 765:
dpkg-buildpackage failed!
Something must have broken - I guess I'm out of luck.
To be precise, the MC9328 board contains a kernel compiled with the
following parameters:
Configured with: /usr/src/RPM/BUILD/crosstool/source/gcc-3.3.2/configure
--target=arm-linux --host=i686-host_pc-linux-gnu
--prefix/usr/local/arm-linux/gcc-3.3.2-glibc-2.3.2
--with-headers=/usr/local/arm-linux/gcc-3.3.2-glibc-2.3.2/arm-linux/include
--with-local-prefix=/usr/local/arm-linux/gcc-3.3.2-glibc-2.3.2/arm-linux
--disable-nls --enable-threads=posix --enable-symvers=gnu
--enable-__cxa_atexit --enable-languages=c,c++ --enable-shared
--enable-c99 --enable-long-long
Thread model: posix
gcc version 3.3.2
Any pointers for a workaround on the cross tools problem will be
appreciated.
Thank you.
Luke
Reply to: