Re: comedi digest, Vol 1 #1211 - 2 msgs

Klaas,

Thanks for the quick reply.

Here is the command that I typed as well as the
output.
Looking into the configure file, it seems that it is
looking for a flag called CONFIG_RTHAL in
/usr/src/linux/build/.config, which used to exist, but
has perhaps been replaced with CONFIG_ADEOS.  It only
checks the path passed in through --with-rtaidir if
the CONFIG_RTHAL variable is found.  Any ideas?  

Thanks,

Tim

[timlee_at_Chivo comedi-0.7.68]$ ./configure
--with-linuxdir=/usr/src/rtlinux/
--with-rtaidir=/usr/src/rtai-kilauea

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific
portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name...
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strip... /usr/bin/strip
checking for Linux in /usr/src/rtlinux/... yes
checking for configuration in
/usr/src/rtlinux//.config... yes
checking Red Hat/Fedora kernel... not 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
checking Linux major/minor version... 2.4
checking for Linux 2.4 make flags... ok
checking for Linux 2.4 CFLAGS... -D__KERNEL__
-I/usr/src/linux-2.4.24-adeos/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODULE -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...
configure: creating modtool
checking Linux config option CONFIG_RTHAL... no
checking Linux config option CONFIG_RTLINUX... no
configure: moo
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

--- Klaas Gadeyne <Klaas.Gadeyne_at_mech.kuleuven.ac.be>
wrote:
> > I have a machine running linux kernel 2.4.24 and
> RTAI
> > version 3.0r2 (almost revision 2, was actually a
> CVS
> > snapshop from 2004.2)
> >
> > I downloaded comedi (0.7.68) and ran the configure
> > file.  I noticed that it said:
> >
> > checking Linux config option CONFIG_RTHAL...no
> >
> > I can build this, but it doesn't seem to be aware
> that
> > I have RTAI.  I tried modifying the configure file
> to
> > check CONFIG_ADEOS instead, but then I got build
> > errors.
> >
> > So, does anyone know how to install comedi with
> the
> > later versions (adeos) of RTAI?
> 
> This should work (I'm not using 0.7.68).  Do you
> have rtai or linux
> installed in non-standard paths?  If so, try these
> configure options
> 
> --with-linuxdir=DIR     specify path to Linux source
> directory
> --with-linux-config=FILE
>                         specify path to Linux
> configuration file
> --with-rtaidir=DIR      specify path to RTAI
> installation or build directory
> 
> If this doesn't work, try posting the full output of
> configure, that 'll
> be easier to debug
> 
> klaas
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

Received on 2004-04-13Z17:29:05