Fwd: Re: comedi 7.69 make errors

------- Forwarded message -------
From: Dale Stein <dstein2_at_bellsouth.net>
To: Nick Iorio <niorio_at_jmar.com>
Subject: Re: comedi 7.69 make errors
Date: Thu, 06 Jan 2005 13:02:43 -0600

> I included my configure output of you want to read it, it might help.
> But I really thing Frank is right below, and it should have found your 
> .config file
> in the toplevel linux directory  do ls -a -l .config   there
> also do
> ls -l
> and read the bit permissions they sould look something like
> rwxr x r x
>
> also in /lib/modules
> ls -l
> if root does not have permission to write and execute there, well, it 
> should.
>
> Hope this helps.
> PS I have been unable to get this thing to make, it cant create 
> comedi_rt_timer.o (undeclared variable
> all over the module!)
> dale
>
>
> On Thu, 06 Jan 2005 10:11:26 -0800, Nick Iorio <niorio_at_jmar.com> wrote:
>
>> Thanks Dale.  However, I've been root whenever I do any comedi stuff.  
>> Here is the output from configure and make (note that there is a make 
>> flags error):
>
>> checking for Linux in /lib/modules/2.4.21-4.EL/build... yes
>> checking /lib/modules/2.4.21-4.EL/build/.config... not found   <<---- 
>> should have found it checking 
>> /lib/modules/2.4.21-4.EL/build/configs/kernel-2.4.21-i686.config... yes
>> checking Pre-FC2 Red Hat/Fedora kernel... found
>> checking Linux config option CONFIG_M386... no
>> checking Linux config option CONFIG_M586... no
>> checking Linux config option CONFIG_M686... yes
>> checking Linux config option CONFIG_MPENTIUMIII... no
>> checking Linux config option CONFIG_MK7... no
>> checking Linux config option CONFIG_SMP... no
>> checking Linux config option CONFIG_HIGHMEM64G... no
>> configure: Putting kernel modules under /lib/modules/2.4.21-4.EL
>> configure: Putting kernel module development files under 
>> /lib/modules/2.4.21-4.EL/build
>> checking Linux major/minor version... 2.4
>> checking for Linux 2.4 make flags... make: *** [modules] Error 1
>> ok
>> checking for Linux 2.4 CFLAGS...   -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
>> checking for Linux 2.4 LDFLAGS...
>> checking for strip... (cached) /usr/bin/strip
>> ./configure
>> checking for depmod... (cached) /sbin/depmod
>> configure: creating modtool
>> checking Linux config option CONFIG_RTHAL... no
>> checking Linux config option CONFIG_ADEOS... no
>> checking Linux config option CONFIG_RTLINUX... no
>> checking Linux config option CONFIG_PCMCIA... module
>> checking Linux config option CONFIG_ISA... yes
>> checking Linux config option CONFIG_PCI... yes
>> checking Linux config option CONFIG_USB... module
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating comedi/Makefile
>> config.status: creating comedi/drivers/Makefile
>> config.status: creating comedi/kcomedilib/Makefile
>> config.status: creating config.h
>> config.status: config.h is unchanged
>> config.status: executing depfiles commands
>>
>> 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 .
>
>> Dale Stein wrote:
>>
>>>
>>> This might be trite, but
>>> su root
>>> then run configure and make and make install  from the comedi directory
>>>
>>>>> 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
>
>
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Received on 2005-01-06Z19:09:15