abhiTronix / raspberry-pi-cross-compilers

Latest GCC Cross Compiler & Native (ARM & ARM64) CI generated precompiled standalone toolchains for all Raspberry Pis. 🍇
https://sourceforge.net/projects/raspberry-pi-cross-compilers
GNU General Public License v3.0
583 stars 102 forks source link

Potential mistake in the wiki for <Cross Compiler CMake Usage Guide with rsynced Raspberry Pi 64 bit OS> #92

Closed Mins0o closed 2 years ago

Mins0o commented 2 years ago

In the |host: x86_64|target: arm64 raspOS| cross-compile wiki, there seems to be a typo where all the directory contains an extra /asm.

I am still trying to follow the instruction with my fix (removing it), to check if that succeeds. I'll let you know how it went.

Mins0o commented 2 years ago

+ openssl is not in /usr/include/aarch64-linux-gnu/openssl, giving error of /usr/include/aarch64-linux-gnu/openssl is not valid source file/directory. Aborting!

+ command rsync -avz --rsync-path="sudo rsync" --delete pi@192.168.1.47:/opt/vc rootfs/opt fails with the error:

receiving incremental file list  
rsync: link_stat "/opt/vc" failed: No such file or directory (2)  

sent 8 bytes  received 76 bytes  15.27 bytes/sec  
total size is 0  speedup is 0.00  
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [Receiver=3.1.2]  
rsync: [Receiver] write error: Broken pipe (32)

What should I do?

abhiTronix commented 2 years ago
  • openssl is not in /usr/include/aarch64-linux-gnu/openssl, giving error of /usr/include/aarch64-linux-gnu/openssl is not valid source file/directory. Aborting!

@Mins0o leave it, it means openssl is not installed on your pi. It's not a critical dependency, so just skip it.

  • command rsync -avz --rsync-path="sudo rsync" --delete pi@192.168.1.47:/opt/vc rootfs/opt fails with the error: receiving incremental file list
    rsync: link_stat "/opt/vc" failed: No such file or directory (2)
    sent 8 bytes received 76 bytes 15.27 bytes/sec
    total size is 0 speedup is 0.00
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [Receiver=3.1.2] rsync: [Receiver] write error: Broken pipe (32)

Maybe 64bit raspberry os lacks vc packages. So i think skip this also. What are you trying to compile exactly?

abhiTronix commented 2 years ago

@Mins0o I've corrected the asm typo in docs. I'm closing this.

Mins0o commented 2 years ago

Aha seems like 64bit OSes does not have /opt/vc in the first place!