![]() |
Fedora 31 crosscompilation fdt problem mimics debian 888789 - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88) +--- Thread: Fedora 31 crosscompilation fdt problem mimics debian 888789 (/showthread.php?tid=8818) |
Fedora 31 crosscompilation fdt problem mimics debian 888789 - kf5zmi - 01-17-2020 Hello, I am trying to cross-compile for rock64 on fedora31 on x86. libfdt-devel i686 1.4.7-2 aarch64-linux-gnu-2.30-6.fc29.x86_64 (why is this appearing ??) What I get are multiple copies of fdt which seem to be behind : /usr/include/libfdt_env.h:71:30 : error conflicting types for fdt64_t typedef uint64_t FDT_BITWISE fdt64_t; The above disappears when /usr/include/*fdt*.h "disappear" as per a thread suggestion: https://github.com/m01/rock64-arch-linux-build/issues/3 leads to this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888789 tools/libfdt_wrap.c : 149:11: fatal error ![]() #include <Python.h> Thx in advance, blocked contractor RE: Fedora 31 crosscompilation fdt problem mimics debian 888789 - tomarm - 01-20-2020 This dont look right to me. "aarch64-linux-gnu-2.30-6.fc29.x86_64" One's I've built have GCC TGT's that look like this in arm64 aarch64-lfs-linux-gnu or aarch64-unknown-linux-gnu So one hurdle is setting --host --build --target correctly. Have a look at the old clfs.org web site books for ideas. If you want to give some more info on what docs or guide you're using I may be able to help in a general way. I am building Linux From Scratch systemd v9 on the board not on x86 at the moment. Host=Armbian bionic for rock64. Really quite fascinating and not for noobs. I looked far / wide for some docs to do it on x86.64 but no luck. Some valiant attempts was all I found. I'd still like to find the right guide. RE: Fedora 31 crosscompilation fdt problem mimics debian 888789 - kf5zmi - 01-20-2020 (01-20-2020, 06:56 AM)tomarm Wrote: This dont look right to me. "aarch64-linux-gnu-2.30-6.fc29.x86_64" |