[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fpurge.c error when building m4 1.4.11

From: Alain Guibert
Subject: fpurge.c error when building m4 1.4.11
Date: Tue, 15 Apr 2008 15:02:39 +0200 (CEST)
User-agent: Mutt/

        [crosspost bug-m4 and bug-gnulib]

Hello gentlemen,

On my old Linux box (Intel Pentium 200 MMX, Debian bo, kernel 2.0.40,
gcc, libc 5.4.33, GNU ld cygnus-2.7.1, libiconv 1.12, pth 2.0.7,
i586-pc-linux-gnulibc1, autoconf 2.61, fileutils 3.16, Make 3.75,
bash 2.0.0(1)), while building m4 1.4.11, make fails:

| gcc  -I.     -g -O2 -c fpurge.c
| fpurge.c:117: #error "Please port gnulib fpurge.c to your platform! Look at 
the definitions of fflush, setvbuf and ungetc on your system, then report this 
to bug-gnulib."
| make[3]: *** [fpurge.o] Error 1
| make[3]: Leaving directory `/tmp/m4-1.4.11/lib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/tmp/m4-1.4.11/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/tmp/m4-1.4.11'
| make: *** [all] Error 2

A similar error occurs later in freadahead.c, freading.c, and fseeko.c
I'm not skilled enough to port anything, but the asked definitions in
<stdio.h> are:

| extern int fflush __P((FILE*));
| extern int setvbuf __P((FILE*, char*, int mode, size_t size));
| extern int ungetc __P((int c, FILE* fp));
| extern size_t fread __P((void*, size_t, size_t, FILE*));


reply via email to

[Prev in Thread] Current Thread [Next in Thread]