public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/2859] New: linux/i2c.h header contains kernel-only definitions
@ 2006-06-28  7:54 bart dot vanassche at gmail dot com
  2006-06-28  7:57 ` [Bug libc/2859] " bart dot vanassche at gmail dot com
  2006-06-28 14:34 ` aj at suse dot de
  0 siblings, 2 replies; 3+ messages in thread
From: bart dot vanassche at gmail dot com @ 2006-06-28  7:54 UTC (permalink / raw)
  To: glibc-bugs

The header <linux/i2c.h> is provided by glibc and is needed from user-space
because it contains the definitions of e.g. I2C_TENBIT, I2C_SLAVE, ... However,
it contains many declarations and definitions that only make sense when included
from within the kernel, and that make no sense in user-space (e.g.
i2c_master_send(), struct i2c_driver). Additionally, user-space C source files
that include <linux/i2c.h> do not compile.

-- 
           Summary: linux/i2c.h header contains kernel-only definitions
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: bart dot vanassche at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=2859

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/2859] linux/i2c.h header contains kernel-only definitions
  2006-06-28  7:54 [Bug libc/2859] New: linux/i2c.h header contains kernel-only definitions bart dot vanassche at gmail dot com
@ 2006-06-28  7:57 ` bart dot vanassche at gmail dot com
  2006-06-28 14:34 ` aj at suse dot de
  1 sibling, 0 replies; 3+ messages in thread
From: bart dot vanassche at gmail dot com @ 2006-06-28  7:57 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From bart dot vanassche at gmail dot com  2006-06-28 07:57 -------
Created an attachment (id=1124)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1124&action=view)
An example that demonstrates that <linux/i2c.h> gives compilation problems


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2859

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/2859] linux/i2c.h header contains kernel-only definitions
  2006-06-28  7:54 [Bug libc/2859] New: linux/i2c.h header contains kernel-only definitions bart dot vanassche at gmail dot com
  2006-06-28  7:57 ` [Bug libc/2859] " bart dot vanassche at gmail dot com
@ 2006-06-28 14:34 ` aj at suse dot de
  1 sibling, 0 replies; 3+ messages in thread
From: aj at suse dot de @ 2006-06-28 14:34 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aj at suse dot de  2006-06-28 14:33 -------
The linux headers are not part of glibc, they are added by your distribution and
come from the Linux kernel source package.

There's nothing we can do.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=2859

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-28 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-28  7:54 [Bug libc/2859] New: linux/i2c.h header contains kernel-only definitions bart dot vanassche at gmail dot com
2006-06-28  7:57 ` [Bug libc/2859] " bart dot vanassche at gmail dot com
2006-06-28 14:34 ` aj at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).