Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5174

Raspberry Pi OS • Re: kernel ompile error

$
0
0
I had a similar problem because I had a 32-bit kernel running in 64-bit mode.
First check whether Raspberry Pi OS is 32-bit or 64-bit.

Code:

getconf LONG_BIT
If the command outputs 32, then the OS is 32-bit and if it outputs 64, then the OS is 64-bit.

Code:

sudo nano /boot/firmware/config.txt
For 32-bit set
arm_64bit=0

For 64-bit set
arm_64bit=1

If you needed to change the setting then reboot.

Statistics: Posted by skyfish — Mon Aug 12, 2024 3:40 pm



Viewing all articles
Browse latest Browse all 5174

Trending Articles