This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 35
  Warning when compiling glibc-cvs ( and fix ) Last modified: 2004-03-09 19:27
     Query page      Enter new bug
Bug#: 35   Hardware:   Reporter: Alex Davis <alex14641@yahoo.com>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: GOTO Masanori <gotom@debian.or.jp>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35 depends on: Show dependency tree
Show dependency graph
Bug 35 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2004-02-26 08:14
I get the following warning when compiling glibc-cvs: 
 
../sysdeps/unix/sysv/linux/sysconf.c: In function `__sysconf': 
../sysdeps/unix/sysv/linux/sysconf.c:54: warning: implicit declaration of 
function `__open_nocancel' 
../sysdeps/unix/sysv/linux/sysconf.c:62: warning: implicit declaration of 
function `__read_nocancel' 
../sysdeps/unix/sysv/linux/sysconf.c:63: warning: implicit declaration of 
function `__close_nocancel' 
 
 
 
The following patch fixes the problem: 
 
--- libc/sysdeps/unix/sysv/linux/sysconf.c.save       2004-02-26 
02:54:24.000000000 -0500 
+++ libc/sysdeps/unix/sysv/linux/sysconf.c    2004-02-26 03:03:39.000000000 
-0500 
@@ -21,6 +21,7 @@ 
 #include <sysdep.h> 
 #include <time.h> 
 #include <unistd.h> 
+#include <not-cancel.h> 
 
 static long int posix_sysconf (int name);

------- Additional Comment #1 From Kal Kolberg 2004-02-26 17:40 -------
Thanks for the fix drepper

------- Additional Comment #2 From Andreas Jaeger 2004-03-09 19:27 -------
Fixed in CVS.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In