UvinduW / Cross-Compiling-Qt-for-Raspberry-Pi-4

A guide to cross-compile Qt 5.15.0 for the Raspberry Pi 4 Model B
95 stars 36 forks source link

missing crt1.o / crti.o -lm #11

Open Pe6r0 opened 3 years ago

Pe6r0 commented 3 years ago

Hey, great guide. Similar to others around but nicer I'd say.

Running into problems in the configure step. Any clue what's causing this? It's more or less a fresh build but I installed all the required packages. I have those files, but they are in /usr/lib32

> /home/kron/rpi/tools/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.4.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find crt1.o: No such file or directory
> /home/kron/rpi/tools/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.4.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: No such file or directory
> /home/kron/rpi/tools/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.4.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lm
lpy137510 commented 2 months ago

Hi, how did you fix it? I got same problem.