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

Bug#478693: Incompatibility of libc6 with kernel 2.6 ax25



tag 478693 + moreinfo
thanks

On Wed, Apr 30, 2008 at 01:57:26PM +0200, Arjan van Schijndel wrote:
> Package: libc6
> Version: 2.3.6.ds1-13etch5
> 
> The following files in libc6 are not up to date: netax25/ax25.h
> netrom/netrom.h netrose/rose.h. Meaning these files do not correspond
> with the ax25.h netrom.h and rose.h from the 2.6 kernel. Resulting in
> a wrong syscall.h.

Could you please give more details? 

A quick look showed that netrose/rose.h and linux/rose.h are the same.

linux/ax25.h and linux/rose.h have a few more definitions netax25/ax25.h
and netrom/netrom.h, but the #define and structures present in the glibc
one are the same than the ones in the kernel.

The best would be to tell us which structures / #define are missing to
get you application compiled.

Also, as already suggested, it would probably be best to use include
files from the kernel instead of the glibc ones. The kernel has now a
correct way to export an API to userland. The glibc is not really the
the best place to describe a kernel <-> userland API and it may be
better to remove those files instead of updating them.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: