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

Bug#423462: LINUX_VERSION_CODE is defined but has no value in



clone 423462 -1
reassign -1 libiw-dev
retitle -1 libiw depends on version.h to detect kernel version.
found -1 29~pre21-1
thanks


On Tuesday 22 May 2007, Steve Langasek wrote:
> On Tue, May 22, 2007 at 12:36:05AM +0200, Sune Vuorela wrote:
> > severity 423462 grave
> > thanks
> >
> > This seems to trigger ftbfs in many packages - and it is very well
> > hidden. Raising severity.
>
> Any package depending on linux/version.h to detect a kernel version from
> user space is almost certainly buggy.  This should probably be closed as
> not-a-bug and the affected packages fixed to not expect anything from
> linux/version.h.

hmm.. let us keep this bug open a bit first.


libiw-people:

This fails with linux-libc-dev (but works fine with linux-kernel-headers):
$ cat iwtest.c
#include <iwlib.h>
int main()
{
struct wireless_info info;
info.b.freq = 1 ;
exit (0);
}

with:

$ gcc iwtest.c
In file included from iwtest.c:1:
/usr/include/iwlib.h:47:27: error: operator '&&' has no right operand
/usr/include/iwlib.h:55:29: error: operator '&&' has no right operand
/usr/include/iwlib.h:61:2: error: #error "Your kernel/libc combination is not 
supported"
In file included from iwtest.c:1:
/usr/include/iwlib.h: In function 'iw_saether_aton':
/usr/include/iwlib.h:590: error: 'ARPHRD_ETHER' undeclared (first use in this 
function)
/usr/include/iwlib.h:590: error: (Each undeclared identifier is reported only 
once
/usr/include/iwlib.h:590: error: for each function it appears in.)
/usr/include/iwlib.h: In function 'iw_broad_ether':
/usr/include/iwlib.h:601: error: 'ARPHRD_ETHER' undeclared (first use in this 
function)
/usr/include/iwlib.h: In function 'iw_null_ether':
/usr/include/iwlib.h:612: error: 'ARPHRD_ETHER' undeclared (first use in this 
function)

this breaks compilations of packages using iwlib.h (like kdenetwork)



-- 
How to forward from the terminale?

The point is that you neither should boot a site over a port of a LCD tool on 
the directory to the connection, nor can link the menu in order to turn off a 
LCD provider.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: