raspberry-pi-cross-compilers icon indicating copy to clipboard operation
raspberry-pi-cross-compilers copied to clipboard

crt1.o: No such file or directory.

Open larsk2009 opened this issue 3 years ago • 1 comments

Hi,

Thanks for this project. I am getting this error: cannot find crt1.o: No such file or directory and cannot find crti.o: No such file or directory while cmake tries to compile the "simple test program". I looked trough some existing issue but I couldn't fix it. I see that my sysroot does contain these files so I am unsure what the issue is. Do you have any ideas?

larsk2009 avatar Oct 19 '22 13:10 larsk2009

You must follow the instructions carefully. Also the steps on the Raspberry are important.

You probably have step over

Steps/Settings for Target Machine (Raspberry Pi): 8. Setup Important Symlinks as follows: (Important)

of the instructions.

This must be executed on the Raspberry before the files are dragged to the host with rsync.

Steps/Settings for Host Machine (PC/Laptop): 4. sync Raspberry Pi rootfs (Most Important)

gsieben avatar Jan 06 '23 09:01 gsieben