Re: comedi 7.69 make errors

Thanks for your response though I still need more information.  Don't 
know if this will help but the background for this is that I originally 
installed this comedi on Fedora and worked my way thru it to success.  
Now, I'm using Red Hat Enterprise ES Version 3.  I don't know what you 
mean by "configure may work if you have write permission to the kernel 
".  Could you give me more information please?
You say it "may work".  What if it doesn't?
thanks - nick

Frank Mori Hess wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Wednesday 22 December 2004 12:32 pm, Nick Iorio wrote:
>  
>
>>Here is the output from doing a make on Red Hat 2.4.21-4:
>>
>>[niorio_at_localhost comedi-0.7.69]$ make
>>make  all-recursive
>>make[1]: Entering directory `/usr/local/comedi/comedi-0.7.69'
>>Making all in comedi
>>make[2]: Entering directory `/usr/local/comedi/comedi-0.7.69/comedi'
>>Making all in .
>>make[3]: Entering directory `/usr/local/comedi/comedi-0.7.69/comedi'
>>if  -DHAVE_CONFIG_H -I. -I. -I..    -I../include/
>>-DKBUILD_MODNAME=comedi -DKBUILD_BASENAME=comedi_fops
>>-D__MODULE_KERNEL_i686=1 -D__BOOT_KERNEL_ENTERPRISE=0
>>-D__BOOT_KERNEL_UP=1 -D__BOOT_KERNEL_SMP=0 -D__BOOT_KERNEL_BIGMEM=0
>>-D__BOOT_KERNEL_HUGEMEM=0  -g -O2 -MT comedi_ko-comedi_fops.o -MD -MP
>>-MF ".deps/comedi_ko-comedi_fops.Tpo" -c -o comedi_ko-comedi_fops.o
>>`test -f 'comedi_fops.c' || echo './'`comedi_fops.c; \
>>then mv -f ".deps/comedi_ko-comedi_fops.Tpo"
>>".deps/comedi_ko-comedi_fops.Po"; else rm -f
>>".deps/comedi_ko-comedi_fops.Tpo"; exit 1; fi
>>/bin/sh: line 1: -DHAVE_CONFIG_H: command not found
>>make[3]: *** [comedi_ko-comedi_fops.o] Error 1
>>make[3]: Leaving directory `/usr/local/comedi/comedi-0.7.69/comedi'
>>make[2]: *** [all-recursive] Error 1
>>make[2]: Leaving directory `/usr/local/comedi/comedi-0.7.69/comedi'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory `/usr/local/comedi/comedi-0.7.69'
>>make: *** [all] Error 2
>>    
>>
>
>The configure script failed to get the compile flags from your kernel 
>directory, due to your kernel source being unable to successfully 'make 
>modules'.  configure may work if you have write permission to the kernel 
>source directory when you run it.  I've fixed it now so configure exits 
>with an error when this happens.  
>
>- -- 
>Frank
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.4 (GNU/Linux)
>
>iD8DBQFB2C+a5vihyNWuA4URApKJAKDohXzPeEgFv6o8hhOWYs3IcuTkiACfVNio
>z3rjgZI3UKGj/YTSVjBDeA4=
>=aL+0
>-----END PGP SIGNATURE-----
>
>_______________________________________________
>comedi mailing list
>comedi_at_comedi.org
>https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>  
>

Received on 2005-01-04Z18:59:56