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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

3,060 次查看
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 项奖励
回复
1 回复

3,029 次查看
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 项奖励
回复