On Tue, May 21, 2019, 4:45 AM Dave <[email protected]> wrote: > using the build_deb.sh script in the repository bb-kernel to build > linux-image-5.1.0-rc3-bone0_1xross_armhf.deb > linux-headers-5.1.0-rc3-bone0_1xross_armhf.deb > linux-libc-dev_1xross_armhf.deb > > After I install these on the target. > > Trying to build a kernel module on the target results in > /bin/sh: 1: scripts/basic/fixdep: Exec format error > > because fixdef in > /usr/src/linux-headers-5.1.0-rc3-bone0/scripts/basic > is elf x86 64 >
Yes the build arch leaks thru.. This has been a bug for a long time. Run build_deb.sh on the target arch, if you want the headers to work.. Regards, -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgat%2BOM74xQnS9t-Q8Hz%2BtBy0s3xV0U7%3DkGYk3MPbjRPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
