Re: Installing NI6036E

dear mr Salvador,
Thanks for the info, I was not aware of this possibility to compile a 
kernel the Debian way.
But after recompiling I ran comedilib-0.7.21 and than comedi-07.67 and 
still got some errors.

May be the output of the configure and make commands can clear the problem.

output for comedilib-0.7.21   ./confure

checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
configure: configuring comedilib for release
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 for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... 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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... 
(cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for ANSI C header files... (cached) yes
checking for python... /usr/bin/python
checking for python version... 2.2
checking for python platform... linux2
checking for python script directory... 
${prefix}/lib/python2.2/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.2/site-packages
checking for headers required to compile python extensions... not found
checking to see if compiler understands -fno-strict-aliasing... yes
checking to see if compiler understands -Wno-unused-function... yes
checking for docbook2man... no
checking for docbook2pdf... no
checking for docbook2html... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating comedi_calibrate/Makefile
config.status: creating comedi_config/Makefile
config.status: creating etc/Makefile
config.status: creating etc/pcmcia/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/man/Makefile
config.status: creating demo/Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating man/Makefile
config.status: creating python/Makefile
config.status: creating testing/Makefile
config.status: creating comedilib.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

output for comedilib-0.7.21   make

make  all-recursive
make[1]: Entering directory `/root/comedilib-0.7.21'
Making all in lib
make[2]: Entering directory `/root/comedilib-0.7.21/lib'
make  all-am
make[3]: Entering directory `/root/comedilib-0.7.21/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/comedilib-0.7.21/lib'
make[2]: Leaving directory `/root/comedilib-0.7.21/lib'
Making all in comedi_calibrate
make[2]: Entering directory `/root/comedilib-0.7.21/comedi_calibrate'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/comedilib-0.7.21/comedi_calibrate'
Making all in comedi_config
make[2]: Entering directory `/root/comedilib-0.7.21/comedi_config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/comedilib-0.7.21/comedi_config'
Making all in man
make[2]: Entering directory `/root/comedilib-0.7.21/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/comedilib-0.7.21/man'
Making all in testing
make[2]: Entering directory `/root/comedilib-0.7.21/testing'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/comedilib-0.7.21/testing'
Making all in demo
make[2]: Entering directory `/root/comedilib-0.7.21/demo'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o info  info-info.o 
info-common.o ../lib/libcomedi.la -lm
gcc -g -O2 -o .libs/info info-info.o info-common.o 
../lib/.libs/libcomedi.so -lm -Wl,--rpath -Wl,/usr/local/lib
creating info
make[2]: Leaving directory `/root/comedilib-0.7.21/demo'
Making all in doc
make[2]: Entering directory `/root/comedilib-0.7.21/doc'
make  all-recursive
make[3]: Entering directory `/root/comedilib-0.7.21/doc'
Making all in html
make[4]: Entering directory `/root/comedilib-0.7.21/doc/html'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/comedilib-0.7.21/doc/html'
Making all in man
make[4]: Entering directory `/root/comedilib-0.7.21/doc/man'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/comedilib-0.7.21/doc/man'
make[4]: Entering directory `/root/comedilib-0.7.21/doc'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/comedilib-0.7.21/doc'
make[3]: Leaving directory `/root/comedilib-0.7.21/doc'
make[2]: Leaving directory `/root/comedilib-0.7.21/doc'
Making all in python
make[2]: Entering directory `/root/comedilib-0.7.21/python'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/comedilib-0.7.21/python'
Making all in include
make[2]: Entering directory `/root/comedilib-0.7.21/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/comedilib-0.7.21/include'
Making all in etc
make[2]: Entering directory `/root/comedilib-0.7.21/etc'
Making all in pcmcia
make[3]: Entering directory `/root/comedilib-0.7.21/etc/pcmcia'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/comedilib-0.7.21/etc/pcmcia'
make[3]: Entering directory `/root/comedilib-0.7.21/etc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/comedilib-0.7.21/etc'
make[2]: Leaving directory `/root/comedilib-0.7.21/etc'
make[2]: Entering directory `/root/comedilib-0.7.21'
make[2]: Leaving directory `/root/comedilib-0.7.21'
make[1]: Leaving directory `/root/comedilib-0.7.21'

output comedilib-0.7.21      make install

Making install in lib
make[1]: Entering directory `/root/comedilib-0.7.21/lib'
make  install-am
make[2]: Entering directory `/root/comedilib-0.7.21/lib'
make[3]: Entering directory `/root/comedilib-0.7.21/lib'
/bin/sh ../mkinstalldirs /usr/local/lib
  /bin/sh ../libtool --mode=install /usr/bin/install -c  libcomedi.la 
/usr/local/lib/libcomedi.la
/usr/bin/install -c .libs/libcomedi.so.0.0.0 
/usr/local/lib/libcomedi.so.0.0.0
(cd /usr/local/lib && rm -f libcomedi.so.0 && ln -s libcomedi.so.0.0.0 
libcomedi.so.0)
(cd /usr/local/lib && rm -f libcomedi.so && ln -s libcomedi.so.0.0.0 
libcomedi.so)
/usr/bin/install -c .libs/libcomedi.lai /usr/local/lib/libcomedi.la
/usr/bin/install -c .libs/libcomedi.a /usr/local/lib/libcomedi.a
ranlib /usr/local/lib/libcomedi.a
chmod 644 /usr/local/lib/libcomedi.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
    /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
      during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
      during linking
    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/comedilib-0.7.21/lib'
make[2]: Leaving directory `/root/comedilib-0.7.21/lib'
make[1]: Leaving directory `/root/comedilib-0.7.21/lib'
Making install in comedi_calibrate
make[1]: Entering directory `/root/comedilib-0.7.21/comedi_calibrate'
make[2]: Entering directory `/root/comedilib-0.7.21/comedi_calibrate'
/bin/sh ../mkinstalldirs /usr/local/bin
   /bin/sh ../libtool --mode=install /usr/bin/install -c 
comedi_calibrate /usr/local/bin/comedi_calibrate
/usr/bin/install -c .libs/comedi_calibrate /usr/local/bin/comedi_calibrate
/usr/bin/install -c -d /usr/local/var/calibrations
make[2]: Leaving directory `/root/comedilib-0.7.21/comedi_calibrate'
make[1]: Leaving directory `/root/comedilib-0.7.21/comedi_calibrate'
Making install in comedi_config
make[1]: Entering directory `/root/comedilib-0.7.21/comedi_config'
make[2]: Entering directory `/root/comedilib-0.7.21/comedi_config'
/bin/sh ../mkinstalldirs /usr/local/sbin
   /bin/sh ../libtool --mode=install /usr/bin/install -c comedi_config 
/usr/local/sbin/comedi_config
/usr/bin/install -c comedi_config /usr/local/sbin/comedi_config
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/comedilib-0.7.21/comedi_config'
make[1]: Leaving directory `/root/comedilib-0.7.21/comedi_config'
Making install in man
make[1]: Entering directory `/root/comedilib-0.7.21/man'
make[2]: Entering directory `/root/comedilib-0.7.21/man'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/man/man7
  /usr/bin/install -c -m 644 ./comedi.7 /usr/local/man/man7/comedi.7
/bin/sh ../mkinstalldirs /usr/local/man/man8
  /usr/bin/install -c -m 644 ./comedi_calibrate.8 
/usr/local/man/man8/comedi_calibrate.8
  /usr/bin/install -c -m 644 ./comedi_config.8 
/usr/local/man/man8/comedi_config.8
make[2]: Leaving directory `/root/comedilib-0.7.21/man'
make[1]: Leaving directory `/root/comedilib-0.7.21/man'
Making install in testing
make[1]: Entering directory `/root/comedilib-0.7.21/testing'
make[2]: Entering directory `/root/comedilib-0.7.21/testing'
/bin/sh ../mkinstalldirs /usr/local/bin
   /bin/sh ../libtool --mode=install /usr/bin/install -c comedi_test 
/usr/local/bin/comedi_test
/usr/bin/install -c .libs/comedi_test /usr/local/bin/comedi_test
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/comedilib-0.7.21/testing'
make[1]: Leaving directory `/root/comedilib-0.7.21/testing'
Making install in demo
make[1]: Entering directory `/root/comedilib-0.7.21/demo'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o info  info-info.o 
info-common.o ../lib/libcomedi.la -lm
gcc -g -O2 -o .libs/info info-info.o info-common.o 
../lib/.libs/libcomedi.so -lm -Wl,--rpath -Wl,/usr/local/lib
creating info
make[2]: Entering directory `/root/comedilib-0.7.21/demo'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/comedilib-0.7.21/demo'
make[1]: Leaving directory `/root/comedilib-0.7.21/demo'
Making install in doc
make[1]: Entering directory `/root/comedilib-0.7.21/doc'
make  install-recursive
make[2]: Entering directory `/root/comedilib-0.7.21/doc'
Making install in html
make[3]: Entering directory `/root/comedilib-0.7.21/doc/html'
make[4]: Entering directory `/root/comedilib-0.7.21/doc/html'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/comedilib-0.7.21/doc/html'
make[3]: Leaving directory `/root/comedilib-0.7.21/doc/html'
Making install in man
make[3]: Entering directory `/root/comedilib-0.7.21/doc/man'
make[4]: Entering directory `/root/comedilib-0.7.21/doc/man'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/comedilib-0.7.21/doc/man'
make[3]: Leaving directory `/root/comedilib-0.7.21/doc/man'
make[3]: Entering directory `/root/comedilib-0.7.21/doc'
make[4]: Entering directory `/root/comedilib-0.7.21/doc'
make[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/share/comedilib
make[4]: Leaving directory `/root/comedilib-0.7.21/doc'
make[3]: Leaving directory `/root/comedilib-0.7.21/doc'
make[2]: Leaving directory `/root/comedilib-0.7.21/doc'
make[1]: Leaving directory `/root/comedilib-0.7.21/doc'
Making install in python
make[1]: Entering directory `/root/comedilib-0.7.21/python'
make[2]: Entering directory `/root/comedilib-0.7.21/python'
/bin/sh ../mkinstalldirs /usr/local/lib/python2.2/site-packages
/bin/sh ../mkinstalldirs /usr/local/lib/python2.2/site-packages
  /usr/bin/install -c comedi.py 
/usr/local/lib/python2.2/site-packages/comedi.py
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/comedilib-0.7.21/python'
make[1]: Leaving directory `/root/comedilib-0.7.21/python'
Making install in include
make[1]: Entering directory `/root/comedilib-0.7.21/include'
make[2]: Entering directory `/root/comedilib-0.7.21/include'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/include
  /usr/bin/install -c -m 644 comedi.h /usr/local/include/comedi.h
  /usr/bin/install -c -m 644 comedilib.h /usr/local/include/comedilib.h
make[2]: Leaving directory `/root/comedilib-0.7.21/include'
make[1]: Leaving directory `/root/comedilib-0.7.21/include'
Making install in etc
make[1]: Entering directory `/root/comedilib-0.7.21/etc'
Making install in pcmcia
make[2]: Entering directory `/root/comedilib-0.7.21/etc/pcmcia'
make[3]: Entering directory `/root/comedilib-0.7.21/etc/pcmcia'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/local/etc/pcmcia
  /usr/bin/install -c -m 644 comedi.conf /usr/local/etc/pcmcia/comedi.conf
  /usr/bin/install -c -m 644 comedi.opts /usr/local/etc/pcmcia/comedi.opts
/bin/sh ../../mkinstalldirs /usr/local/etc/pcmcia
  /usr/bin/install -c comedi /usr/local/etc/pcmcia/comedi
make[3]: Leaving directory `/root/comedilib-0.7.21/etc/pcmcia'
make[2]: Leaving directory `/root/comedilib-0.7.21/etc/pcmcia'
make[2]: Entering directory `/root/comedilib-0.7.21/etc'
make[3]: Entering directory `/root/comedilib-0.7.21/etc'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/share/comedilib
  /usr/bin/install -c -m 644 das1600.conf 
/usr/local/share/comedilib/das1600.conf
  /usr/bin/install -c -m 644 dt282x.conf 
/usr/local/share/comedilib/dt282x.conf
  /usr/bin/install -c -m 644 modules.conf 
/usr/local/share/comedilib/modules.conf
make[3]: Leaving directory `/root/comedilib-0.7.21/etc'
make[2]: Leaving directory `/root/comedilib-0.7.21/etc'
make[1]: Leaving directory `/root/comedilib-0.7.21/etc'
make[1]: Entering directory `/root/comedilib-0.7.21'
make[2]: Entering directory `/root/comedilib-0.7.21'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/comedilib-0.7.21'
make[1]: Leaving directory `/root/comedilib-0.7.21'

in the directory comedi-0.7.67       ./configure

checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-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... 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 Linux in /lib/modules/2.4.24/build... yes
checking Linux version... 2.4.24
checking for Linux CFLAGS... ok
checking Linux config option CONFIG_PCMCIA... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modtool
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

the command in the directory 0.7.67  make  gives

make  all-recursive
make[1]: Entering directory `/root/comedi-0.7.67'
Making all in comedi
make[2]: Entering directory `/root/comedi-0.7.67/comedi'
Making all in kcomedilib
make[3]: Entering directory `/root/comedi-0.7.67/comedi/kcomedilib'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include/ -D__KERNEL__ 
-I/usr/src/linux-2.4.24/include -Wall -Wstrict-prototypes -Wno-trigraphs 
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
-mpreferred-stack-boundary=2 -march=k6 -DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.24/include/linux/modversions.h -g -O2 -MT 
kcomedilib_ko-data.o -MD -MP -MF ".deps/kcomedilib_ko-data.Tpo" \
   -c -o kcomedilib_ko-data.o `test -f 'data.c' || echo './'`data.c; \
then mv -f ".deps/kcomedilib_ko-data.Tpo" ".deps/kcomedilib_ko-data.Po"; \
else rm -f ".deps/kcomedilib_ko-data.Tpo"; exit 1; \
fi
make[3]: Leaving directory `/root/comedi-0.7.67/comedi/kcomedilib'
make[2]: Leaving directory `/root/comedi-0.7.67/comedi'
make[1]: Leaving directory `/root/comedi-0.7.67'

in the directory comedi-0.7.67       ./configure

checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-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... 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 Linux in /lib/modules/2.4.24/build... yes
checking Linux version... 2.4.24
checking for Linux CFLAGS... ok
checking Linux config option CONFIG_PCMCIA... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modtool
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


the command in the directory 0.7.67  make install gives

Making install in comedi
make[1]: Entering directory `/root/comedi-0.7.67/comedi'
Making install in kcomedilib
make[2]: Entering directory `/root/comedi-0.7.67/comedi/kcomedilib'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../include/ -D__KERNEL__ 
-I/usr/src/linux-2.4.24/include -Wall -Wstrict-prototypes -Wno-trigraphs 
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
-mpreferred-stack-boundary=2 -march=k6 -DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.24/include/linux/modversions.h -g -O2 -MT 
kcomedilib_ko-data.o -MD -MP -MF ".deps/kcomedilib_ko-data.Tpo" \
   -c -o kcomedilib_ko-data.o `test -f 'data.c' || echo './'`data.c; \
then mv -f ".deps/kcomedilib_ko-data.Tpo" ".deps/kcomedilib_ko-data.Po"; \
else rm -f ".deps/kcomedilib_ko-data.Tpo"; exit 1; \
fi
make[2]: ***[kcomedilib_ko-data.o]  Error 1
make[2]: Leaving directory `/root/comedi-0.7.67/comedi/kcomedilib'
make[1]: ***[install-recursive] Error 1
make[1]: Leaving directory `/root/comedi-0.7.67/comedi'
make[1]: [install-recursive] Error 1


Salvador Eduardo Tropea wrote:
> Johan De Clercq wrote:
> 
>> Dear Sir,
>>
>> I received your message about Installing NI6036E card.
>>
>> I am not familiar with development so please can you explain to me 
>> what is the difference between kernel headers and kernel sources.
> 
> 
> The first thing you must understand is that Debian systems are stongly 
> oriented to the use of "packages".
> For this reason the best way to install a kernel compiled by yourself is 
> by using the kernel-package package. It have a tool called make-kpkg 
> that compiles kernel sources into Debian packages.
> To run your system just needs the binary packages for the kernel. This 
> package is called "kernel-image".
> For developement purposes you need the Linux header, they are included 
> in the "kernel-headers" package.
> If you need to compile the sources that Debian maintainers used to 
> create the "kernel-image" package you have to install a package called 
> "kernel-source".
> In all the above cases the name of the package is followed by the kernel 
> version and your architecture.
> In my system the installed kernel-image package is called: 
> kernel-image-2.4.18-1-k7
> 
> The one between 18 and k7 was added to differentiate the security 
> version from the original release.
> Using "uname -a" I get:
> 
> Linux ice 2.4.18-1-k7 #1 Mon Jan 5 23:08:06 UTC 2004 i686 unknown
> 
> As you can see the "2.4.18-1-k7" is here.
> 
>> I downloaded from kernel.org the 2.4.24  ( source ?)
> 
> 
> Debian applies some small patches to the kernel, usually to close 
> security holes, so you have to install the "kernel-source" package in 
> order to obtain the same sources.
> 
>> the command uname -r  produces no output  is this the header ?
> 
> 
> According to it and the version you name "2.4.24" it looks like you 
> installed a kernel compiling from sources without using make-kpkg.
> I strongly recommend using precompiled kernel packages unless you need 
> to patch your kernel or the machine is very small and you need to fine 
> tune your kernel. Using packages you can upgrade your machine really 
> quickly when a flaw in the kernel is discovered.
> 
> If you installed the kernel from sources:
> 1) I recommend using make-kpkg tool to generate the packages and install 
> them.
> 2) Be careful, Debian installs a set of kernel headers in /usr/include 
> that are for the original kernel included with the Debian release. Make 
> sure they arenīt mixed with the real ones.
> 
> SET
> 

Received on 2004-02-13Z17:30:41