1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Raspberry Pi 4 4GB compile doesn't work

Discussion in 'Help' started by caevv, Apr 30, 2020.

  1. caevv

    caevv Creeper

    Messages:
    2
    I have a rpi 4 and installed raspbian with kernel changed to 64 bit:
    Code:
    sudo cat /boot/config.txt
    ...
    [all]
    #dtoverlay=vc4-fkms-v3d
    arm_64bit=1
    
    But when I run ./compile I get this:
    Code:
     $ sudo ./compile.sh
    [PocketMine] PHP compiler for Linux, MacOS and Android
    [INFO] Checking dependencies
    [ERROR] PocketMine-MP is no longer supported on 32-bit systems
    
    Is there anything I'm missing?

    Code:
     $ uname -a
    Linux raspberrypi 4.19.118-v8+ #1311 SMP PREEMPT Mon Apr 27 14:32:38 BST 2020 aarch64 GNU/Linux
    
    Code:
     $ tree -L 3
    .
    ├── bin
    │   └── php7
    │       ├── bin
    │       ├── lib
    │       └── share
    ├── compile.sh
    ├── data
    ├── installer.sh
    ├── plugins
    ├── PocketMine-MP.phar
    └── start.sh
    
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Raspbian, even on the latest version, isn't a 64 bit os, even though the Pi had a 64 bit CPU since the Pi 3.
    You will need to use an alternative OS that is compiled for ARM64
     
  3. caevv

    caevv Creeper

    Messages:
    2
    If you add arm_64bit=1 on config.txt it will download the 64bit kernel, as you can be see from the uname -a no?
     
  4. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
  5. Taewon Kim

    Taewon Kim Spider

    Messages:
    9
    GitHub:
    twk1024
    I am running a server on Raspberry Pi 4 with Ubuntu Server 20.04.

    It supports arm 64 bit officially, so why don't you try this

    After you installed Ubuntu Server, you should compile bin files with compiler.sh to aarch64 that same with Android.
     
    HimbeersaftLP likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.