How to install drivers for macbook pro 2018?

I've recently installed Ubuntu 20.04 together with MacOS on my MBP 2018.

Now I'm trying to install the drivers from MCMrARM, but running the Makefile gives me this:

make -C /lib/modules/5.4.0-48-generic/build M=/home/hcpieck/mbp2018-bridge-drv modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-48-generic'
arch/x86/Makefile:147: CONFIG_X86_X32 enabled but no binutils support
make[1]: gcc: Command not found
CC [M] /home/hcpieck/mbp2018-bridge-drv/pci.o
/bin/sh: 1: gcc: not found
make[2]: *** [scripts/Makefile.build:275: /home/hcpieck/mbp2018-bridge-drv/pci.o] Error 127
make[1]: *** [Makefile:1734: /home/hcpieck/mbp2018-bridge-drv] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-48-generic'
make: *** [Makefile:10: all] Error 2

What am I missing?

Thanks,

1 Answer

gcc: Command not found means that gcc is not installed.

Run

sudo apt install build-essential

to install required packages.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like