On Tue, Jul 06, 2021 at 04:38:41PM +0000, Duncan,Michael wrote: > Hello, > > I am attempting to build a bison 3.7 module on a HPC cluster running RHEL 8.1 > > bison 3.7 requires gcc and m4 modules to build, so I am attempting to build > the m4 module version 1.4.18
Try using m4 1.4.19 instead. https://lists.gnu.org/archive/html/m4-announce/2021-05/msg00002.html > CC freadahead.o > freadahead.c: In function 'freadahead': > freadahead.c:92: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." > 92 | #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." > | ^~~~~ Known issue with older gnulib, that has since been resolved by the newer m4 release using newer gnulib. > > The information contained in this e-mail message may be privileged, > confidential, and/or protected Note that your employer's disclaimer is not enforceable on a publicly-archived mailing list; many users choose to send from personal email in order to avoid slamming the list with such legalese. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org