From: Michael R. <re...@eu...> - 2003-12-10 04:26:33
|
Hi Samuel, > You asked for help with debianization of lcd4linux and I think I can help by doing it. > However I've had a [big] problem: I did not manage to compile it... The configure > went on without any problem. Here are the relevant informations of the make errors : > > /usr/include/linux/list.h:576:2: warning: #warning "don't include kernel headers in userspace" This is the problem. > I think the problem could come from the fact I'm running a 2.6-test11 kernel > (I did not try with 2.4 headers). I did not have time to do any further investigations. > Have you already faced this problem? Yes, I have, but even with 2.4 The problem seems to be not the kernel itself, but the debian kernel headers. I'm using the following workaround at the moment, which is available from CVS: file isdn.c: // Fixme: my debian has some bugs with kernel headers #if 0 #include <linux/isdn.h> #else #define IIOCGETCPS _IO('I',21) #endif I only need the value of IIOCGETCPS from the isdn header, so I hardcode it here. bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |