You should be able to get rid of those messages by running the following:
  *sudo dpkg --remove-architecture armhf*

Some options to run with the extended cross-compiling options are:
1. Run through the debootstrap option from the book.
  or
2. Download the ARM toolchain for the BB manually and just reference it in
your code or IDE.
   This is what I use:
gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf toolchain from:

https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/
  or
3. Install the build tools on the BB and copy the BB arm-linux-gnueabihf
from  /usr/bin, /usr/include, usr/lib, and /lib to the host system via
rsync and reference this from your IDE:
    RasPi Example:

https://medium.com/@zw3rk/making-a-raspbian-cross-compilation-sdk-830fe56d75ba
 or
4. Go the Debian VM or Install option.

Jon


On Tue, Sep 22, 2020 at 11:46 AM jonnymo <[email protected]> wrote:

> When you set-up the repos, did you set the architecture on your Ubuntu
> system to ARM?
> You can check it via:
>    *dpkg --print-architecture*
>    or
>    *dpkg-architecture -qDEB_HOST_ARCH*
>
> Did you perhaps set the foreign architecture on your host to ARM?
> You can check it via:
>
> *dpkg --print-foreign-architectures*
>
> You could install something like VirtualBox on your Ubuntu system and then
> download a Debian image and work from there if you have too much of an
> issue using Ubuntu.
> https://www.virtualbox.org/wiki/Linux_Downloads
>
>
>   Jon
>
>
> On Tue, Sep 22, 2020 at 11:09 AM Pavel Yermolenko <[email protected]>
> wrote:
>
>> All Derek's examples assume Debian 9, running on x86_64, see
>>> "Recommended.png" screen shot..
>>>
>>> By using Ubuntu, you are really on your own, as the book assumes
>>> Debian for setting up the environment...
>>>
>>
>> Well ... I was aware of it. I thought using Ubuntu won't create a lot of
>> problems.
>> If my understanding is correct, the solution to the problem is to add a
>> "good" Ubuntu repository (i.e. a repository that contains the *arm *staff).
>> Correct?
>>
>>
>>> Regards,
>>>
>>> --
>>> Robert Nelson
>>> https://rcn-ee.com/
>>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/966bb43e-a659-4d0d-8cf6-c08a55679df4o%40googlegroups.com
>> <https://groups.google.com/d/msgid/beagleboard/966bb43e-a659-4d0d-8cf6-c08a55679df4o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAG99bkpFP-MUyWn7aRvCFogD3HCg3k-e82QNjiaZ4by0U-BTdg%40mail.gmail.com.

Reply via email to