Re: port freadahead.c & fseeko.c

2020-12-28 Thread Bruno Haible
Ron Eggler wrote: > I have downloaded, extracted & copied the new directory (m4-2020-12-26/) Yes, this tarball works fine. Unlike the m4-1.4.17 one. Bruno

Re: port freadahead.c & fseeko.c

2020-12-28 Thread Ron Eggler
On 2020-12-28 2:08 p.m., Bruno Haible wrote: Ron Eggler wrote: On 2020-12-23 4:17 p.m., Paul Eggert wrote: On 12/23/20 1:56 PM, Ron Eggler wrote: How can I patch these files to work with my platform? Look in your stdio.h (commonly /usr/include/stdio.h), and the files it includes, to see how

Re: port freadahead.c & fseeko.c

2020-12-28 Thread Bruno Haible
Ron Eggler wrote: > On 2020-12-23 4:17 p.m., Paul Eggert wrote: > > On 12/23/20 1:56 PM, Ron Eggler wrote: > >> How can I patch these files to work with my platform? > > > > Look in your stdio.h (commonly /usr/include/stdio.h), and the files it > > includes, to see how it defines ungetc etc. Then

Re: port freadahead.c & fseeko.c

2020-12-28 Thread Ron Eggler
On 2020-12-23 4:17 p.m., Paul Eggert wrote: On 12/23/20 1:56 PM, Ron Eggler wrote: How can I patch these files to work with my platform? Look in your stdio.h (commonly /usr/include/stdio.h), and the files it includes, to see how it defines ungetc etc. Then use that knowledge to update lib/f

Re: port freadahead.c & fseeko.c

2020-12-28 Thread Paul Eggert
On 12/28/20 9:39 AM, Ron Eggler wrote: I cannot find any function that is called "rpl_fseeko" Presumably an earlier "#define fseeko rpl_fseeko" means that when you see a definition of the fseeko function, it's really defining rpl_fseeko.

Re: port freadahead.c & fseeko.c

2020-12-28 Thread Ron Eggler
Paul, Mind, I'm I am cross compiling So I cd-ed to: /home/ron/novax-prs/tmp/work/x86_64-linux/m4-native/1.4.17-r0/build/lib/ and opened: ../../m4-1.4.17/lib/fseeko.c but funny enough, I cannot find any function that is called "rpl_fseeko" even though the error states: | make[3]: Entering dire

Re: port freadahead.c & fseeko.c

2020-12-23 Thread Ron Eggler
On 2020-12-23 5:38 p.m., Bruno Haible wrote: Ron Eggler wrote: I'm attemprting to compile an image for a DIGI UL6 SBC and am getting the following error: ../../m4-1.4.17/lib/freadahead.c: In function ‘freadahead’: ../../m4-1.4.17/lib/freadahead.c:91:3: error: #error "Please port gnulib freadah

Re: port freadahead.c & fseeko.c

2020-12-23 Thread Bruno Haible
Ron Eggler wrote: > I'm attemprting to compile an image for a DIGI UL6 SBC and am getting the > following error: > ../../m4-1.4.17/lib/freadahead.c: In function ‘freadahead’: > ../../m4-1.4.17/lib/freadahead.c:91:3: error: #error "Please port gnulib > freadahead.c to your platform! Look at the defi

Re: port freadahead.c & fseeko.c

2020-12-23 Thread Paul Eggert
On 12/23/20 1:56 PM, Ron Eggler wrote: How can I patch these files to work with my platform? Look in your stdio.h (commonly /usr/include/stdio.h), and the files it includes, to see how it defines ungetc etc. Then use that knowledge to update lib/freadahead.c and lib/fseeko.c. It'll require so

port freadahead.c & fseeko.c

2020-12-23 Thread Ron Eggler
Hi, I'm attemprting to compile an image for a DIGI UL6 SBC and am getting the following error: ../../m4-1.4.17/lib/freadahead.c: In function ‘freadahead’: ../../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