build problem in glibc cvs
Jack Howarth
howarth@bromo.msbb.uc.edu
Sat Nov 2 08:35:00 GMT 2002
Current glibc cvs is failing on ppclinux with the following error
during the build...
reg-printf.c: In function `__register_printf_function':
reg-printf.c:44: `NULL' undeclared (first use in this function)
reg-printf.c:44: (Each undeclared identifier is reported only once
reg-printf.c:44: for each function it appears in.)
...which seems to be fixed with the following change...
--- libc/stdio-common/reg-printf.c.org 2002-11-02 09:08:46.000000000 -0700
+++ libc/stdio-common/reg-printf.c 2002-11-02 09:09:24.000000000 -0700
@@ -19,6 +19,7 @@
#include <errno.h>
#include <limits.h>
#include <printf.h>
+#include <stdio.h>
/* Array of functions indexed by format character. */
libc_freeres_ptr (printf_arginfo_function **__printf_arginfo_table)
Jack
More information about the Libc-alpha
mailing list