Re: comedi-0.7.70 installation problem

On Sun, May 29, 2005 at 01:04:21PM +0300, Panagiotis Artemiadis wrote:
> and make install return no errors), I have a problem with the installation
> of comedi-0.7.70.
> 
> I run ./configure and it returns ok. But when I try to "make" I get always
> the following error:
> 
> from comedi_fops.c:44:
> 
> /lib/modules/2.6.5-7.151-default/build/include2/asm/irq.h:16:25:
> irq_vectors.h:
> 
> No such file or directory

Panagiotis, 

If you go into your top-level comedi-0.7.70 directory and issue the
command:

grep LINUX_CFLAGS Makefile

Does that include anything like this ?

-I/lib/modules/2.6.11.8/build/include/asm-i386/mach-default

in your case I would assume something like this maybe ?

-I/lib/modules/2.6.5-7.151-default/build/include/asm-i386/mach-default

The file irq_vectors.h lives in a directory like that (try issueing
the command 'locate irq_vectors.h'). The build process will try to
pick up the command CFLAGS so that the compiler will find this file.


> I have tried to grep -r irq_vectors.h but it took approximately 10 hours
> without

That command will never finish, you asking it to do recursive grep on
stdin without sending something in stdin. You could either specify the
directory you would like it to start searching from as an argument or
what I consider a better approach:

find . -name '*.h' -exec grep irq_vectors.h {} \;

You can then have control over the names of the files you are grepping.

--
Daniel

Received on 2005-05-29Z11:46:21