over EC2 instance gcc-aarch64-linux-gnu and g++-aarch64-linux-gnu not supporting for goldvip image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

over EC2 instance gcc-aarch64-linux-gnu and g++-aarch64-linux-gnu not supporting for goldvip image

3,058 Views
Priyanka_30
Contributor I

When attempting to configure the environment for building a custom goldvip image over an EC2 instance (architecture: aarch64), such as by running (./sources/meta-alb/scripts/host-prepare.sh), the following error is encountered :

ubuntu@ip-172-31-21-96:~/nxp-yocto-goldvip$ ./sources/meta-alb/scripts/host-prepare.sh
Verifying sudo permission to execute apt-get command.
Now we're going to install all the other development packages needed to build Yocto, please wait
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Package gcc-aarch64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package g++-aarch64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-aarch64-linux-gnu' has no installation candidate
E: Package 'g++-aarch64-linux-gnu' has no installation candidate
ERROR: Fail to install pkgs on host! See message above...



The checking of permissions and universal repo were tried.

0 Kudos
Reply
1 Reply

3,027 Views
MayanksPatel
NXP Employee
NXP Employee

Hi @Priyanka_30,

Thank you for reaching out to us.

Can you please manually try to install the gcc-aarch64-linux-gnu and g++-aarch64-linux-gnu package?

sudo apt-get update -y

sudo apt-get install -y gcc-aarch64-linux-gnu

sudo apt install g++-8-aarch64-linux-gnu

 

Hope this helps you.

 

Thanks,

Mayank s Patel

 

0 Kudos
Reply