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

Re: glibc-2.3.2 compile errors--HELP!



On Mon, 2003-11-24 at 09:36, Scott Hempstead wrote:
> I'm running into a wall, trying to compile glibc-2.3.2
> on my alpha and hoping that the more educated
> community can help me out.
> 
> my system is a ds20, running a stock 7.2 load.  I am
> using gcc-3.3.2 & binutils-2.14 from source--compiled
> and running successfully. I have the latest 2.4.22
> kernel source for glibc to use the headers.  I am
> following the glibc install instructions/FAQ and using
> the following configure options:

Common problem when compiling glibc 2.3.2 with gcc 3.3, a Google should
have turned up a patch.

I don't know if this list allows attachments, but I'll try to include
the patch that SuSE uses (which appears to be from the glibc CVS).

-- 
Chris
Index: stdio-common/sscanf.c
===================================================================
RCS file: /cvs/glibc/libc/stdio-common/sscanf.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- stdio-common/sscanf.c	10 Aug 2002 09:24:42 -0000	1.8
+++ stdio-common/sscanf.c	5 Mar 2003 19:58:03 -0000	1.9
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,95,96,98,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1998,2002,2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -27,9 +27,7 @@
 /* Read formatted input from S, according to the format string FORMAT.  */
 /* VARARGS2 */
 int
-sscanf (s, format)
-     const char *s;
-     const char *format;
+sscanf (const char *s, const char *format, ...)
 {
   va_list arg;
   int done;

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