[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FW: migrating from uClinux to emdebian crush on a Xscale PXA270 board



On Tue, 3 Feb 2009 09:15:26 +0100
"Hoefle Marco" <Marco.Hoefle@nanotronic.ch> wrote:

> >> - I installed the arm cross compiling tools with:
> >> # apt-get install libc6-armel-cross libc6-dev-armel-cross
> >> binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi
> >> g++-4.3-arm-linux-gnueabi

Why that way around? emsetup will do that for you once the other
problem is fixed.

> >> -tried to use emsetup:
> >> debian:~# emsetup
> >> Could not determine the default architecture, please use emsetup --arch

(To use emsetup without --arch, set a default cross-building
architecture in 'dpkg-reconfigure dpkg-cross' - you've currently got it
set to 'None'.)

> >> debian:~# emsetup --arch
> >> Could not determine the default architecture, please use emsetup --arch
> >> debian:~# emsetup --arch arm
> 
> >> Error: dpkg-cross does not currently support "arm"
> >> debian:~# man emsetup
> 
> >Try to set up the architecture running:
> ># dpkg-reconfigure dpkg-cross
> 
> I did this but i get the same error when using emsetup:
> debian:~# dpkg-reconfigure dpkg-cross

What did you select at this point?

Note that in a chroot, you may have left the debconf priority too high
to see the question. Check your debconf priority.

> debian:~# emsetup
> 
> Error: dpkg-cross does not currently support "arm"
> debian:~#

Something is badly wrong with your environment / setup.

I need all relevant information on the setup of this box - please
report a bug against dpkg-cross and include the content of:

/etc/dpkg-cross/cross-compile

The output from these test commands:

$ dpkg-architecture -aarm -qDEB_HOST_GNU_TYPE

$ ls /etc/dpkg-cross/archtable.d/ -l

$ perl -MDebian::DpkgCross -e 'print (check_arch("arm")."\n");'

$ perl -MDebian::DpkgCross -e 'print (&get_architecture()."\n");'

$ perl -MDebian::DpkgCross -e '&read_config; print (&get_architecture()."\n");'

$ ARCH=arm perl -MDebian::DpkgCross -e 'print (&get_architecture()."\n");'


-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpJSXUH5vqy5.pgp
Description: PGP signature


Reply to: