Hello,
I've made several attempts to compile the GPIO drivers on CentOS 5.7, and seem
to be getting stuck.
To compile, I do the following:
./autogen.sh
./configure
make
Without the autogen.sh, I run into an issue with:
config.status: error: cannot find input file: ./drv/Makefile.in
Once I run the autogen.sh, configure, and make, I see the following:
Making all in drv
make[1]: Entering directory `/usr/local/src/gpio-1.1.0/drv'
gcc -O -D__KERNEL__ -DMODULE -I/lib/modules/`uname -r`/build/include
-DKERNEL_2_4 -o gpio.o -c gpio.c
In file included from
/lib/modules/2.6.18-274.17.1.el5/build/include/asm/thread_info.h:16,
from
/lib/modules/2.6.18-274.17.1.el5/build/include/linux/thread_info.h:21,
from
/lib/modules/2.6.18-274.17.1.el5/build/include/linux/preempt.h:9,
from
/lib/modules/2.6.18-274.17.1.el5/build/include/linux/spinlock.h:49,
from
/lib/modules/2.6.18-274.17.1.el5/build/include/linux/capability.h:45,
from
/lib/modules/2.6.18-274.17.1.el5/build/include/linux/sched.h:44,
from
/lib/modules/2.6.18-274.17.1.el5/build/include/linux/module.h:9,
from gpio.c:22:
/lib/modules/2.6.18-274.17.1.el5/build/include/asm/processor.h:87: error:
‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
/lib/modules/2.6.18-274.17.1.el5/build/include/asm/processor.h:87: error:
requested alignment is not a constant
In file included from
/lib/modules/2.6.18-274.17.1.el5/build/include/linux/sched.h:49,
from
/lib/modules/2.6.18-274.17.1.el5/build/include/linux/module.h:9,
from gpio.c:22:
Any suggestions would be greatly appreciated.
Brian
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev