Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6461

Bitbake: arm-poky-linux-gnueabi-gcc not found

$
0
0

i am using ubuntu 22.04.4 LTS, bitbake 2.8.0, poky scarthgap branch and beaglebone black. I have created my own layer and my own helloworld recipe which contain a helloworld.c. I would like to execute it in beaglebone black. When i am trying to execute 'bitbake helloworld' i am getting the error arm-poky-linux-gnueabi-gcc: not found.

Do i have to install arm-poky-linux-gnueabi-gcc or am i missing something else?

Here is the helloworld.bb file:

DESCRIPTION = "Hello World application"SECTION = "examples"LICENSE = "MIT"LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"SRC_URI = "file://helloworld.c"S = "${WORKDIR}"do_compile() {    ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld}do_install() {    install -d ${D}${bindir}    install -m 0755 helloworld ${D}${bindir}}# Disable default dependency checks (including SHA256)INHIBIT_DEFAULT_DEPS = "1"

I have tried to find the package and install it but I couldn't find a clear solution.


Viewing all articles
Browse latest Browse all 6461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>