Hello,
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 :
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -D_GNU_SOURCE -Wall -g -O2 -c isdn.c
In file included from /usr/include/linux/timer.h:5,
from /usr/include/linux/isdn/fsm.h:15,
from /usr/include/linux/isdn.h:17,
from isdn.c:83:
/usr/include/linux/list.h:576:2: warning: #warning "don't include kernel headers in userspace"
In file included from /usr/include/linux/timer.h:6,
from /usr/include/linux/isdn/fsm.h:15,
from /usr/include/linux/isdn.h:17,
from isdn.c:83:
/usr/include/linux/spinlock.h: In function `bit_spin_lock':
/usr/include/linux/spinlock.h:413: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:430: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
/usr/include/linux/spinlock.h:433: error: (Each undeclared identifier is reported only once
/usr/include/linux/spinlock.h:433: error: for each function it appears in.)
In file included from /usr/include/linux/timer.h:6,
from /usr/include/linux/isdn/fsm.h:15,
from /usr/include/linux/isdn.h:17,
from isdn.c:83:
/usr/include/linux/spinlock.h: In function `bit_spin_unlock':
/usr/include/linux/spinlock.h:451: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:451: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /usr/include/linux/isdn/fsm.h:15,
from /usr/include/linux/isdn.h:17,
from isdn.c:83:
/usr/include/linux/timer.h: At top level:
/usr/include/linux/timer.h:11: error: field `entry' has incomplete type
make: *** [isdn.o] Error 1
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?
Feel free to write to me if you want some more details.
Thank you for your help,
Sam.
PS: please CC your answers directly on my email since I didn't have subscribed to the ml.
--
Samuel Mimram
sam...@en...
Please READ the license.
If I would have said something like: "By running this software, all your file are belong to
us, then we will delete every file on your computer, and trash your BIOS", and
you wouldn't have read it, you wouldn't have been able to do anything legal about it.
-- Eternal Lands licence
|