I am trying to follow the instruction above, on an Ubuntu 9.04, with kernel 2.6.28-18.
Some steps was good, with some correction, I report here:
Quote:
******** build edre , Eagle DAQ **********
extract : 'cd /home/"user"/tmp'
'tar xvf <path-to-object> edre_linux_1_3_10_build.tar.gz'
'cd edre_linux_1_3_10_build'
'su' and # 'mkdir /usr/edre'
'cp -a usr/edre/in******** build edre , Eagle DAQ **********
extract : 'cd /home/"user"/tmp'
'tar xvf <path-to-object> edre_linux_1_3_10_build.tar.gz'
'cd edre_linux_1_3_10_build'
'su' and # 'mkdir /usr/edre'
'cp -a usr/edre/include/ /usr/edre'
and ... 'cp -a etc/ /' (if you wish)
'cd usr/edre/api' (as user)
(to get to /home/"user"/tmp/edre_linux_1_3_10_build/usr/edre/api)
'make all' and # 'make install'
User again, goto /home/"user"/tmp/edre_linux_1_3_10_build/usr/edre
add #include <string.h> to api/edreobject.cpp
add #include <stdlib.h> and <string.h> to api/edredevice.cpp
add #include <string.h> to apps/lsedre.cpp
and 'make all' and next
'su' ... # 'rm -r /usr/edre
..then 'make install' (You can still keep the stuff in /home to have
the examples, if you wish)
|
The next step gives troubles.
Quote:
As user,
in /home/"user"/tmp/edre_linux_1_3_10_build/usr/src/linux-2.6.18
'make' ..
|
First of all, in the file pci703/stdinc.h I removed the definition of "true" and "false" (because it is done on a kernel header).
But bigger problem is that one:
Code:
make -C /lib/modules/2.6.28-18-generic/build SUBDIRS=/home/surf/drivers/edre_linux_1_3_10_build/usr/src/linux-2.6.18/pci703 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-18-generic'
CC [M] /home/surf/drivers/edre_linux_1_3_10_build/usr/src/linux-2.6.18/pci703/adc.o
In file included from /home/surf/drivers/edre_linux_1_3_10_build/usr/src/linux-2.6.18/pci703/adc.c:27:
/home/surf/drivers/edre_linux_1_3_10_build/usr/src/linux-2.6.18/pci703/stdinc.h:56:49: error: asm/mach-default/irq_vectors_limits.h: No such file or directory
make[2]: *** [/home/surf/drivers/edre_linux_1_3_10_build/usr/src/linux-2.6.18/pci703/adc.o] Error 1
make[1]: *** [_module_/home/surf/drivers/edre_linux_1_3_10_build/usr/src/linux-2.6.18/pci703] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-18-generic'
make: *** [default] Error 2
Practically path "/usr/src/linux-headers-2.6.28-18-generic/asm/mach-default/irq_vectors_limits.h" is missing, and I have no idea on the real position for that header file.
Thanks to everyone which can hal me!
Michele