Closed wickywaka closed 1 year ago
You're mixing up armhf and arm64 builds: make ARCH=arm CROSS_COMPILE="aarch64-poky-linux- arm-linux-gnueabihf-"
This is a bug in the piControl Makefile.
ifeq ($(ARCH), arm)
CROSS_COMPILE += arm-linux-gnueabihf-
else
CROSS_COMPILE += aarch64-linux-gnu-
endif
CROSS_COMPILE
is expanded with arm-linux-gnueabihf-
or aarch64-linux-gnu-
which doesn't make any sense at all. Setting CROSS_COMPILE
in the Makefile is a really bad idea and breaks any decent build system.
How do you suggest we fix it?
We need to fix the Makefile here in the repo, I will create a task in our internal ticket system. I think we will need to fix our kernelbakery as well.
@wickywaka fixed this in current master. Please test again and make sure that your buildsystem sets ARCH
and CROSS_COMPILE
correctly.
We hope this issue is fixed with https://github.com/RevolutionPi/piControl/pull/82
Do you have an update @wickywaka ?
The new changes have fixed this issue.
On Thu, Feb 9, 2023, 00:28 Nicolai @.***> wrote:
Do you have an update @wickywaka https://github.com/wickywaka ?
— Reply to this email directly, view it on GitHub https://github.com/RevolutionPi/piControl/issues/81#issuecomment-1423130980, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVDYA2AHL3NTA7IIWZC4E3WWPXWDANCNFSM6AAAAAAUFHEDL4 . You are receiving this because you were mentioned.Message ID: @.***>
Hello all, We are trying to make revpi connect s device an officially supported balena OS device and are working on a PR here https://github.com/balena-os/balena-raspberrypi/pull/913:
We are building a 64 bit OS image and the compilation of PiControl fails with the follow errors: Any idea on how to fix it?