This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build problem in glibc cvs


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]