Greetings, I am trying to follow the docs to build Yocto for the Beaglebone Black[1]. I've been able to clone everything just fine. I am triggering the following #errors when I try to run 'bitbake-image-*':
| /home/steven/temp/beaglebone/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/m4- 1.4.17/lib/freadahead.c: In function 'freadahead': | /home/steven/temp/beaglebone/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/m4- 1.4.17/lib/freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." | 91 | #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." | | ^~~~~ | make[3]: *** [Makefile:1842: freadahead.o] Error 1 | make[3]: *** Waiting for unfinished jobs.... | /home/steven/temp/beaglebone/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/m4- 1.4.17/lib/fseeko.c: In function 'rpl_fseeko': | /home/steven/temp/beaglebone/build/tmp/work/x86_64-linux/m4-native/1.4.17-r0/m4- 1.4.17/lib/fseeko.c:109:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." | 109 | #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." | | ^~~~~ >From reading through the mentioned source files, it appears the problem is >probably related to the symbols _IO_ftrylockfile, __GNU_LIBRARY__, or maybe SLOW_BUT_NO_HACKS. I've tried fumbling around to see what's defined and what's not. I defined SLOW_BUT_NO_HACKS which got me past freadahead's #error. That doesn't feel right, though. I would expect it should be falling into the "/* GNU libc, BeOS, Haiku, Linux libc5 */" sections of both files. Any advice as to how to track down the cause and "correct" solution? I am trying to build on a Debian 11 system. I mention that since bitbake warns me about it. Thanks in advance for the help! Steve [1] https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59777): https://lists.yoctoproject.org/g/yocto/message/59777 Mute This Topic: https://lists.yoctoproject.org/mt/98493950/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
