Re: Fail to compile comedi cvs

On 08/03/06 12:37, Mathieu Miroir wrote:
> 
> Hello,
> 
> I'm trying to build the comedi module (cvs version) with gcc4 (debian 
> testing) and a custom 2.6.15 kernel.
> 
> The make fails with
> 
> make[4]: *** No rule to make « pcm3724.ko.o », needed for « pcm3724..ko 
> ». Stop.
> 
> (see the full make log here http://perso.crans.org/~miroir/make_log)
> 
> I tryied autogen with and without the --enable-kbuild flag, but it 
> changes nothing
> 
> I'm quite lost, do you have any hint ?
> 
> Thanks a lot in advance
> 
> best regards,
> 
> PS: this is the third time I try to send this mail, the two first ones 
> seemed to be
> silently discarded (they don't appear here 
> https://mail.comedi.org/pipermail/comedi/2006-March/thread.html), maybe 
> due to
> the attached log ?

Yes, there are restrictions on size and mime-type of attachments.

I couldn't reproduce the build problem, maybe because I'm using a 
different version of autotools or something, but 
comedi/drivers/Makefile.am is incomplete for the pcm3724 driver.  This 
patch should fix it:

Index: comedi/drivers/Makefile.am
===================================================================
RCS file: /cvs/comedi/comedi/comedi/drivers/Makefile.am,v
retrieving revision 1.28
diff -u -r1.28 Makefile.am
--- comedi/drivers/Makefile.am	6 Feb 2006 03:21:17 -0000	1.28
+++ comedi/drivers/Makefile.am	8 Mar 2006 17:27:54 -0000
_at__at_ -230,6 +230,7 _at__at_
  ni_labpc_cs_ko_SOURCES = ni_labpc_cs.c
  ni_daq_dio24_ko_SOURCES = ni_daq_dio24.c
  ni_at_ao_ko_SOURCES = ni_at_ao.c
+pcm3724_ko_SOURCES = pcm3724.c
  pcm3730_ko_SOURCES = pcm3730.c
  pcmad_ko_SOURCES = pcmad.c
  pcl711_ko_SOURCES = pcl711.c

Received on 2006-03-08Z17:33:52