Aider moi à compiler em8300 !

Aider moi à compiler em8300 ! - Codes et scripts - Linux et OS Alternatifs

Marsh Posté le 25-05-2003 à 11:10:09    

ça ne fonctionne pas mais je ne sais pas pourquoi :
 
./configure :
 

Code :
  1. loading cache ./config.cache
  2. checking for gcc... (cached) gcc
  3. checking whether the C compiler (gcc  ) works... yes
  4. checking whether the C compiler (gcc  ) is a cross-compiler... no
  5. checking whether we are using GNU C... (cached) yes
  6. checking whether gcc accepts -g... (cached) yes
  7. checking for a BSD compatible install... (cached) /usr/bin/install -c
  8. checking whether build environment is sane... yes
  9. checking whether make sets ${MAKE}... (cached) yes
  10. checking for working aclocal-1.4... missing
  11. checking for working autoconf... missing
  12. checking for working automake-1.4... missing
  13. checking for working autoheader... missing
  14. checking for working makeinfo... found
  15. checking host system type... i686-pc-linux-gnu
  16. checking for Cygwin environment... (cached) no
  17. checking for mingw32 environment... (cached) no
  18. checking how to run the C preprocessor... (cached) gcc -E
  19. checking build system type... i686-pc-linux-gnu
  20. checking for ld used by GCC... (cached) /usr/bin/ld
  21. checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
  22. checking for /usr/bin/ld option to reload object files... (cached) -r
  23. checking for BSD-compatible nm... (cached) /usr/bin/nm -B
  24. checking for a sed that does not truncate output... (cached) /bin/sed
  25. checking whether ln -s works... (cached) yes
  26. checking how to recognise dependent libraries... (cached) pass_all
  27. checking for object suffix... (cached) o
  28. checking for executable suffix... (cached) no
  29. checking command to parse /usr/bin/nm -B output... (cached) ok
  30. checking for dlfcn.h... (cached) yes
  31. checking for ranlib... (cached) ranlib
  32. checking for strip... (cached) strip
  33. checking for objdir... .libs
  34. checking for gcc option to produce PIC... (cached)   -fPIC
  35. checking if gcc PIC flag   -fPIC works... (cached) yes
  36. checking if gcc static flag  works... (cached) no
  37. checking if gcc supports -c -o file.o... (cached) yes
  38. checking if gcc supports -c -o file.lo... (cached) yes
  39. checking if gcc supports -fno-rtti -fno-exceptions... yes
  40. checking whether the linker (/usr/bin/ld) supports shared libraries... yes
  41. checking how to hardcode library paths into programs... immediate
  42. checking whether stripping libraries is possible... yes
  43. checking dynamic linker characteristics... GNU/Linux ld.so
  44. checking if libtool supports shared libraries... yes
  45. checking whether to build shared libraries... yes
  46. checking whether to build static libraries... yes
  47. checking whether -lc should be explicitly linked in... (cached) no
  48. creating libtool
  49. checking for mawk... (cached) gawk
  50. checking whether make sets ${MAKE}... (cached) yes
  51. checking for a BSD compatible install... /usr/bin/install -c
  52. checking whether ln -s works... (cached) yes
  53. checking for ANSI C header files... (cached) yes
  54. checking for fcntl.h... (cached) yes
  55. checking for sys/ioctl.h... (cached) yes
  56. checking for unistd.h... (cached) yes
  57. checking for working const... (cached) yes
  58. checking for inline... (cached) inline
  59. checking for off_t... (cached) yes
  60. checking for size_t... (cached) yes
  61. checking whether time.h and sys/time.h may both be included... (cached) yes
  62. checking whether gcc needs -traditional... (cached) no
  63. checking for gtk-config... (cached) no
  64. checking for GTK - version >= 1.2.0... no
  65. *** The gtk-config script installed by GTK could not be found
  66. *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
  67. *** your path, or set the GTK_CONFIG environment variable to the
  68. *** full path to gtk-config.
  69. *** GTK not found ***
  70. updating cache ./config.cache
  71. creating ./config.status
  72. creating Makefile
  73. creating em8300.spec
  74. creating em8300.sysv
  75. creating include/Makefile
  76. creating include/libdxr3/Makefile
  77. creating include/linux/Makefile
  78. creating libdxr3/Makefile
  79. creating libdxr3/libac3/Makefile
  80. creating overlay/Makefile
  81. creating dhc/Makefile
  82. creating em8300setup/Makefile
  83. creating scripts/Makefile
  84. creating include/config.h
  85. include/config.h is unchanged


 
make :
 

Code :
  1. Making all in libdxr3
  2. make[1]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3'
  3. Making all in libac3
  4. make[2]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  5. make[2]: Rien à faire pour « all ».
  6. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  7. make[2]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3'
  8. make[2]: Rien à faire pour « all-am ».
  9. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3'
  10. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3'
  11. Making all in include
  12. make[1]: Entering directory `/home/vivi/em8300-0.13.0/include'
  13. make  all-recursive
  14. make[2]: Entering directory `/home/vivi/em8300-0.13.0/include'
  15. Making all in libdxr3
  16. make[3]: Entering directory `/home/vivi/em8300-0.13.0/include/libdxr3'
  17. make[3]: Rien à faire pour « all ».
  18. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/include/libdxr3'
  19. Making all in linux
  20. make[3]: Entering directory `/home/vivi/em8300-0.13.0/include/linux'
  21. make[3]: Rien à faire pour « all ».
  22. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/include/linux'
  23. make[3]: Entering directory `/home/vivi/em8300-0.13.0/include'
  24. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/include'
  25. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/include'
  26. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/include'
  27. Making all in scripts
  28. make[1]: Entering directory `/home/vivi/em8300-0.13.0/scripts'
  29. make[1]: Rien à faire pour « all ».
  30. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/scripts'
  31. Making all in em8300setup
  32. make[1]: Entering directory `/home/vivi/em8300-0.13.0/em8300setup'
  33. make[1]: Rien à faire pour « all ».
  34. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/em8300setup'
  35. make[1]: Entering directory `/home/vivi/em8300-0.13.0'
  36. make[1]: Rien à faire pour « all-am ».
  37. make[1]: Leaving directory `/home/vivi/em8300-0.13.0'


 
make install :
 

Code :
  1. Making install in libdxr3
  2. make[1]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3'
  3. Making install in libac3
  4. make[2]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  5. make[3]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  6. make[3]: Rien à faire pour « install-exec-am ».
  7. make[3]: Rien à faire pour « install-data-am ».
  8. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  9. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  10. make[2]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3'
  11. make[3]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3'
  12. /bin/sh ../autotools/mkinstalldirs /usr/local/lib
  13. /bin/sh ../libtool  --mode=install /usr/bin/install -c libdxr3.la /usr/local/lib/libdxr3.la
  14. /usr/bin/install -c .libs/libdxr3.so.0.0.0 /usr/local/lib/libdxr3.so.0.0.0
  15. /usr/bin/install: ne peut enlever `/usr/local/lib/libdxr3.so.0.0.0': Permission denied
  16. make[3]: *** [install-libLTLIBRARIES] Erreur 1
  17. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3'
  18. make[2]: *** [install-am] Erreur 2
  19. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3'
  20. make[1]: *** [install-recursive] Erreur 1
  21. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3'
  22. make: *** [install-recursive] Erreur 1


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 11:10:09   

Reply

Marsh Posté le 25-05-2003 à 11:41:34    

Lance le make install en root.

Reply

Marsh Posté le 25-05-2003 à 15:11:01    

Le Ouinhin Pervers a écrit :

Lance le make install en root.


J'avais testé...


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 15:26:11    

checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
*** GTK not found ***

 
 
installe gtk peut etre non ?


---------------
-= In Kik00 101 I trust :o =-
Reply

Marsh Posté le 25-05-2003 à 15:28:48    

HuGoBioS a écrit :

checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
*** GTK not found ***

 
installe gtk peut etre non ?


Ben y'a GNOME qui tourne très bien... je savais pas qu'il pouvait fonctionner sans :heink:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 15:36:15    

DrVins a écrit :


Ben y'a GNOME qui tourne très bien... je savais pas qu'il pouvait fonctionner sans :heink:


 
le 2 ou le 1.2, les fichiers de dev existent  ?


Message édité par parano le 25-05-2003 à 15:36:45
Reply

Marsh Posté le 25-05-2003 à 15:41:04    

parano a écrit :


e 2 ou le 1.2, les fichiers de dev existent  ?


 :??:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 15:43:38    

ben gtk1.2.x et 2.x sont indépendant, et quand on compile, il te faut les fichier de developpement correpsondant.
 
ici il te faut avoir installer avant libgtk1.2-dev

Reply

Marsh Posté le 25-05-2003 à 16:02:08    

libgtk+1.2, libgtk+1.2-devel, libgtk+2.0_0, libgtk+2.0_0-devel sont installés...


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 16:03:33    

et quand tu refais le ./configure il te marque le meme message ? en user et en root ?

Reply

Marsh Posté le 25-05-2003 à 16:03:33   

Reply

Marsh Posté le 25-05-2003 à 16:04:13    

parano a écrit :

et quand tu refais le ./configure il te marque le meme message ? en user et en root ?  


J'ai pas essayé en root, le fait tt de suite.


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 16:04:58    

Pareil :cry:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 16:08:27    

ca marche gtk-config --version ?

Reply

Marsh Posté le 25-05-2003 à 16:09:58    

parano a écrit :

ca marche gtk-config --version ?  


Code :
  1. 1.2.10


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 16:14:39    

et  gtk-config --prefix ? (je te previens j'arrive au bout de mes idées :D)

Reply

Marsh Posté le 25-05-2003 à 16:16:46    

parano a écrit :

et  gtk-config --prefix ? (je te previens j'arrive au bout de mes idées :D)


/usr


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 16:22:30    

Citation :

ne peut enlever `/usr/local/lib/libdxr3.so.0.0.0': Permission denied
make[3]: *** [install-libLTLIBRARIES] Erreur 1

 
 
elle est utilisé ta carte ? c un modules que tu peux demonté ? tu as essayé en renommant ce fichier en libdxr3.so.0.0.0.old ?

Reply

Marsh Posté le 25-05-2003 à 16:34:04    

parano a écrit :

Citation :

ne peut enlever `/usr/local/lib/libdxr3.so.0.0.0': Permission denied
make[3]: *** [install-libLTLIBRARIES] Erreur 1

 
 
elle est utilisé ta carte ? c un modules que tu peux demonté ? tu as essayé en renommant ce fichier en libdxr3.so.0.0.0.old ?  


Ben je veux l'utiliser ! c'est pour ça que j'essaie d'installer em8300. Mais je sais pas si elle est déja utilisée.
 
Renommer quoi ? j'ai libdxr3.so.0.0.0 dans /usr/local/lib/ et pas libdxr3.so.0.0.0.old. (enfin jlà j'ai pas trop compris ce que tu veux me dire ;))


Message édité par drvins le 25-05-2003 à 16:34:35

---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 16:42:00    

ben le fichier ibdxr3.so.0.0.0, tu le renommes en  ibdxr3.so.0.0.0.old, puisque ton make install pleure en disant qu'il peut pas l'enlever :D
 

Reply

Marsh Posté le 25-05-2003 à 16:53:57    

Voilà mon make install à présen :  
 

Code :
  1. Making install in libdxr3
  2. make[1]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3'
  3. Making install in libac3
  4. make[2]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  5. make[3]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  6. make[3]: Rien à faire pour « install-exec-am ».
  7. make[3]: Rien à faire pour « install-data-am ».
  8. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  9. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3/libac3'
  10. make[2]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3'
  11. make[3]: Entering directory `/home/vivi/em8300-0.13.0/libdxr3'
  12. /bin/sh ../autotools/mkinstalldirs /usr/local/lib
  13. /bin/sh ../libtool  --mode=install /usr/bin/install -c libdxr3.la /usr/local/lib/libdxr3.la
  14. /usr/bin/install -c .libs/libdxr3.so.0.0.0 /usr/local/lib/libdxr3.so.0.0.0
  15. (cd /usr/local/lib && rm -f libdxr3.so.0 && ln -s libdxr3.so.0.0.0 libdxr3.so.0)
  16. (cd /usr/local/lib && rm -f libdxr3.so && ln -s libdxr3.so.0.0.0 libdxr3.so)
  17. /usr/bin/install -c .libs/libdxr3.lai /usr/local/lib/libdxr3.la
  18. /usr/bin/install -c .libs/libdxr3.a /usr/local/lib/libdxr3.a
  19. ranlib /usr/local/lib/libdxr3.a
  20. chmod 644 /usr/local/lib/libdxr3.a
  21. PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
  22. ----------------------------------------------------------------------
  23. Libraries have been installed in:
  24.    /usr/local/lib
  25. If you ever happen to want to link against installed libraries
  26. in a given directory, LIBDIR, you must either use libtool, and
  27. specify the full pathname of the library, or use the `-LLIBDIR'
  28. flag during linking and do at least one of the following:
  29.    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  30.      during execution
  31.    - add LIBDIR to the `LD_RUN_PATH' environment variable
  32.      during linking
  33.    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
  34.    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
  35. See any operating system documentation about shared libraries for
  36. more information, such as the ld(1) and ld.so(8) manual pages.
  37. ----------------------------------------------------------------------
  38. make[3]: Rien à faire pour « install-data-am ».
  39. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3'
  40. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3'
  41. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/libdxr3'
  42. Making install in include
  43. make[1]: Entering directory `/home/vivi/em8300-0.13.0/include'
  44. Making install in libdxr3
  45. make[2]: Entering directory `/home/vivi/em8300-0.13.0/include/libdxr3'
  46. make[3]: Entering directory `/home/vivi/em8300-0.13.0/include/libdxr3'
  47. make  install-exec-hook
  48. make[4]: Entering directory `/home/vivi/em8300-0.13.0/include/libdxr3'
  49. /bin/sh ../../autotools/mkinstalldirs /usr/local/include/libdxr3
  50. make[4]: Leaving directory `/home/vivi/em8300-0.13.0/include/libdxr3'
  51. /bin/sh ../../autotools/mkinstalldirs /usr/local/include/libdxr3
  52. /usr/bin/install -c -m 644 api.h /usr/local/include/libdxr3/api.h
  53. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/include/libdxr3'
  54. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/include/libdxr3'
  55. Making install in linux
  56. make[2]: Entering directory `/home/vivi/em8300-0.13.0/include/linux'
  57. make[3]: Entering directory `/home/vivi/em8300-0.13.0/include/linux'
  58. make  install-exec-hook
  59. make[4]: Entering directory `/home/vivi/em8300-0.13.0/include/linux'
  60. /bin/sh ../../autotools/mkinstalldirs /usr/include/linux/
  61. make[4]: Leaving directory `/home/vivi/em8300-0.13.0/include/linux'
  62. /bin/sh ../../autotools/mkinstalldirs /usr/include/linux/
  63. /usr/bin/install -c -m 644 em8300.h /usr/include/linux//em8300.h
  64. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/include/linux'
  65. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/include/linux'
  66. make[2]: Entering directory `/home/vivi/em8300-0.13.0/include'
  67. make[3]: Entering directory `/home/vivi/em8300-0.13.0/include'
  68. make[3]: Rien à faire pour « install-exec-am ».
  69. make[3]: Rien à faire pour « install-data-am ».
  70. make[3]: Leaving directory `/home/vivi/em8300-0.13.0/include'
  71. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/include'
  72. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/include'
  73. Making install in scripts
  74. make[1]: Entering directory `/home/vivi/em8300-0.13.0/scripts'
  75. make[2]: Entering directory `/home/vivi/em8300-0.13.0/scripts'
  76. make[2]: Rien à faire pour « install-exec-am ».
  77. /bin/sh ../autotools/mkinstalldirs /usr/local/share/em8300
  78. /usr/bin/install -c  console.pl /usr/local/share/em8300/console.pl
  79. /usr/bin/install -c  em8300.pm /usr/local/share/em8300/em8300.pm
  80. /usr/bin/install -c  i2ctest.pl /usr/local/share/em8300/i2ctest.pl
  81. /usr/bin/install -c  microcode_extract.pl /usr/local/share/em8300/microcode_extract.pl
  82. /usr/bin/install -c  microcode_info.pl /usr/local/share/em8300/microcode_info.pl
  83. /usr/bin/install -c  microcode_upload.pl /usr/local/share/em8300/microcode_upload.pl
  84. /usr/bin/install -c  msexpand.pl /usr/local/share/em8300/msexpand.pl
  85. /usr/bin/install -c  parsei2c.pl /usr/local/share/em8300/parsei2c.pl
  86. /usr/bin/install -c  replay.pl /usr/local/share/em8300/replay.pl
  87. /usr/bin/install -c  softiceparse.pl /usr/local/share/em8300/softiceparse.pl
  88. /usr/bin/install -c  symboliclog.pl /usr/local/share/em8300/symboliclog.pl
  89. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/scripts'
  90. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/scripts'
  91. Making install in em8300setup
  92. make[1]: Entering directory `/home/vivi/em8300-0.13.0/em8300setup'
  93. make[2]: Entering directory `/home/vivi/em8300-0.13.0/em8300setup'
  94. /bin/sh ../autotools/mkinstalldirs /usr/local/bin
  95. /bin/sh ../libtool  --mode=install /usr/bin/install -c  em8300setup /usr/local/bin/em8300setup
  96. /usr/bin/install -c em8300setup /usr/local/bin/em8300setup
  97. make[2]: Rien à faire pour « install-data-am ».
  98. make[2]: Leaving directory `/home/vivi/em8300-0.13.0/em8300setup'
  99. make[1]: Leaving directory `/home/vivi/em8300-0.13.0/em8300setup'
  100. make[1]: Entering directory `/home/vivi/em8300-0.13.0'
  101. make[2]: Entering directory `/home/vivi/em8300-0.13.0'
  102. make[2]: Rien à faire pour « install-exec-am ».
  103. /bin/sh ./autotools/mkinstalldirs /usr/local/share/em8300
  104. /usr/bin/install -c  em8300.sysv /usr/local/share/em8300/em8300.sysv
  105. /bin/sh ./autotools/mkinstalldirs /usr/local/share/em8300
  106. /usr/bin/install -c -m 644 ./modules.tar.gz /usr/local/share/em8300/modules.tar.gz
  107. make[2]: Leaving directory `/home/vivi/em8300-0.13.0'
  108. make[1]: Leaving directory `/home/vivi/em8300-0.13.0'


 
Mais après, je dois faire quoi ?


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 16:57:31    

charger les bons modules comme expliqué sur la home page des développeurs, puis "em8300setup"
 
ensuite, mplayer, sélectioonner la sortie ad hoc, et ca roule

Reply

Marsh Posté le 25-05-2003 à 17:13:19    

Perchut2 a écrit :

charger les bons modules comme expliqué sur la home page des développeurs, puis "em8300setup"
 
ensuite, mplayer, sélectioonner la sortie ad hoc, et ca roule


Sur le site des drivers de DXR3, ils disent de faire "make clean install devices" dans /modules. Alors je le fait et j'ai ça :
 

Code :
  1. [vivi@cable-213-132-155-144 modules]$ make clean install devices
  2. cat: /lib/modules/2.4.21-0.13mdk/build/include/linux/autoconf.h: No such file or directory
  3. cat: /lib/modules/2.4.21-0.13mdk/build/include/linux/version.h: No such file or directory
  4. rm -f *.o
  5. cc -D__KERNEL__ -DMODULE  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -g -I ../include -I /lib/modules/2.4.21-0.13mdk/build/include/ -O2 -fomit-frame-pointer -Wall -DEM8300_VIDEOMODE_DEFAULT=EM8300_VIDEOMODE_PAL -DEM8300_AUDIOMODE_DEFAULT=EM8300_AUDIOMODE_ANALOG -DEM8300_VERSION=\""0.13.0"\" -DCONFIG_ADV717X_PIXELPORT16BIT -DCONFIG_ADV717X_PIXELPORTPAL -DCONFIG_EM8300_DICOMPAL -DCONFIG_EM8300_DICOMFIX -DCONFIG_EM8300_DICOMCTRL   -c -o em8300_main.o em8300_main.c
  6. In file included from em8300_main.c:21:
  7. /usr/include/linux/version.h:2:2: #error "======================================================="
  8. /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
  9. /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
  10. /usr/include/linux/version.h:5:2: #error ""
  11. /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
  12. /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
  13. /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
  14. /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
  15. /usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
  16. /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
  17. /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
  18. /usr/include/linux/version.h:13:2: #error ""
  19. /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
  20. /usr/include/linux/version.h:15:2: #error ""
  21. /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
  22. /usr/include/linux/version.h:17:2: #error ""
  23. /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
  24. /usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
  25. /usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
  26. /usr/include/linux/version.h:21:2: #error ""
  27. /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
  28. /usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
  29. /usr/include/linux/version.h:24:2: #error ""
  30. /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
  31. /usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
  32. /usr/include/linux/version.h:27:2: #error ""
  33. /usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
  34. /usr/include/linux/version.h:29:2: #error ""
  35. /usr/include/linux/version.h:30:2: #error "   instead of"
  36. /usr/include/linux/version.h:31:2: #error ""
  37. /usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
  38. /usr/include/linux/version.h:33:2: #error ""
  39. /usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
  40. /usr/include/linux/version.h:35:2: #error "======================================================="
  41. In file included from /usr/include/linux/module.h:297,
  42.                  from em8300_main.c:22:
  43. /usr/include/linux/version.h:2:2: #error "======================================================="
  44. /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
  45. /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
  46. /usr/include/linux/version.h:5:2: #error ""
  47. /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
  48. /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
  49. /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
  50. /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
  51. /usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
  52. /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
  53. /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
  54. /usr/include/linux/version.h:13:2: #error ""
  55. /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
  56. /usr/include/linux/version.h:15:2: #error ""
  57. /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
  58. /usr/include/linux/version.h:17:2: #error ""
  59. /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
  60. /usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
  61. /usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
  62. /usr/include/linux/version.h:21:2: #error ""
  63. /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
  64. /usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
  65. /usr/include/linux/version.h:24:2: #error ""
  66. /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
  67. /usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
  68. /usr/include/linux/version.h:27:2: #error ""
  69. /usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
  70. /usr/include/linux/version.h:29:2: #error ""
  71. /usr/include/linux/version.h:30:2: #error "   instead of"
  72. /usr/include/linux/version.h:31:2: #error ""
  73. /usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
  74. /usr/include/linux/version.h:33:2: #error ""
  75. /usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
  76. /usr/include/linux/version.h:35:2: #error "======================================================="
  77. In file included from em8300_main.c:22:
  78. /usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
  79. em8300_main.c:38:40: missing binary operator before '('
  80. In file included from /usr/include/linux/i2c.h:45,
  81.                  from /usr/include/linux/i2c-algo-bit.h:29,
  82.                  from em8300_main.c:57:
  83. /usr/include/linux/version.h:2:2: #error "======================================================="
  84. /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
  85. /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
  86. /usr/include/linux/version.h:5:2: #error ""
  87. /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
  88. /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
  89. /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
  90. /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
  91. /usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
  92. /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
  93. /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
  94. /usr/include/linux/version.h:13:2: #error ""
  95. /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
  96. /usr/include/linux/version.h:15:2: #error ""
  97. /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
  98. /usr/include/linux/version.h:17:2: #error ""
  99. /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
  100. /usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
  101. /usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
  102. /usr/include/linux/version.h:21:2: #error ""
  103. /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
  104. /usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
  105. /usr/include/linux/version.h:24:2: #error ""
  106. /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
  107. /usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
  108. /usr/include/linux/version.h:27:2: #error ""
  109. /usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
  110. /usr/include/linux/version.h:29:2: #error ""
  111. /usr/include/linux/version.h:30:2: #error "   instead of"
  112. /usr/include/linux/version.h:31:2: #error ""
  113. /usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
  114. /usr/include/linux/version.h:33:2: #error ""
  115. /usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
  116. /usr/include/linux/version.h:35:2: #error "======================================================="
  117. em8300_main.c:77:2: #error "This needs the I2C Bit Banging Interface in your Kernel"
  118. em8300_main.c: In function `find_em8300':
  119. em8300_main.c:245: structure has no member named `base_address'
  120. em8300_main.c:258: structure has no member named `base_address'
  121. em8300_main.c: In function `em8300_io_mmap':
  122. em8300_main.c:414: structure has no member named `vm_offset'
  123. em8300_main.c:431: wrong type argument to increment
  124. em8300_main.c: In function `em8300_poll':
  125. em8300_main.c:451: warning: passing arg 2 of `poll_wait' from incompatible pointer type
  126. em8300_main.c:460: warning: passing arg 2 of `poll_wait' from incompatible pointer type
  127. em8300_main.c:469: warning: passing arg 2 of `poll_wait' from incompatible pointer type
  128. make: *** [em8300_main.o] Erreur 1


 
 :sweat:


Message édité par drvins le 25-05-2003 à 17:13:54

---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:20:59    

heu ton make clean install device c pas plutot pour un cas specifique de la 0.12 alors que toi tu fais mumuse avec em8300-0.13.0 ???  :heink:

Reply

Marsh Posté le 25-05-2003 à 17:23:07    

parano a écrit :

heu ton make clean install device c pas plutot pour un cas specifique de la 0.12 alors que toi tu fais mumuse avec em8300-0.13.0 ???  :heink:  


bah y'avais pas plus haut sur le site :D


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:27:55    

Compiling
 
Just run "make". This will build the four modules, adv717x.o, bt865.o, em8300.o, and eeprom.o. To install the modules, run "make install".  
 
Creating the Device Files
 
      In Linux, and Unix in general, to communicate with a device you need to have a device file. Well, the Dxr3 and H+ are no different. We currently use four device files, which must be created as root. If you are running devfs these will be created automatically and will use kernel assigned major/minor numbers, no need to read this section.
    * Creating the /dev/em8300* devices
 
    * 0.12.0 and newer
      Just run make devices in em8300/modules
 
puis apres tu charge le module comme expliquer nan ?

Reply

Marsh Posté le 25-05-2003 à 17:28:44    

Bon, j'ai fait :
 
mknod /dev/em8300-0    c 121 0
mknod /dev/em8300_mv-0 c 121 1
mknod /dev/em8300_ma-0 c 121 2
mknod /dev/em8300_sp-0 c 121 3
 
comme c'est indiqué des le "INSTALL" du dossier modules (fallais le voir...) mais ç ne marche pas, enfin si les dev se créent mais tjrs rien avec MPlayer :cry:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:30:50    

ben oui tu as installer les modules, creer les devices, mais pas charger les modules :D

Reply

Marsh Posté le 25-05-2003 à 17:30:54    

parano a écrit :

Compiling
puis apres tu charge le module comme expliquer nan ?  


nan :lol:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:31:19    

parano a écrit :

ben oui tu as installer les modules, creer les devices, mais pas charger les modules :D  


ouais ben coment k'on fait ?


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:31:20    


 
Il le faut !  :D

Reply

Marsh Posté le 25-05-2003 à 17:33:04    

y'a une section "Loading the Kernel Modules" la http://dxr3.sourceforge.net/howto.html
 

Reply

Marsh Posté le 25-05-2003 à 17:35:07    

parano a écrit :

y'a une section "Loading the Kernel Modules" la http://dxr3.sourceforge.net/howto.html


Merci de votre patiente lol, on va voir ce que ça donne...


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:37:58    

DrVins a écrit :


Merci de votre patiente lol, on va voir ce que ça donne...


Vraiment désolé mais j'ai rien compris !


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:43:01    

modprobe em8300
insmod em8300
etc...
 
 

Citation :

If you don't want to use ldm and rmm you can just issue the appropriate modprobe/insmod/rmmod commands by themselves and enter the module parameters on the command line or in /etc/modules.conf.

Reply

Marsh Posté le 25-05-2003 à 17:47:16    

parano a écrit :

modprobe em8300
insmod em8300
etc...


pour modprobe, ça va mais pour insmod, il me dit que ça existe déja ! : "Using /lib/modules/2.4.21-0.13mdk/kernel/3rdparty/dxr3/em8300.o.gz
insmod: a module named em8300 already exists"
 
Et etc, c'est quoi ? :whistle:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:48:52    

ben ca y'est alors ton module est charger now !
 
et puis apres tu peux aller lire un peu la doc sur le chargement des modules dans linux hein  :D


Message édité par parano le 25-05-2003 à 17:49:11
Reply

Marsh Posté le 25-05-2003 à 17:49:10    

oui, c'est l'un ou l'autre qu'il faut faire ;)
 
les autres modules c'est adv717x, bt865... eeprom, je l'ai jamais chargé chez moi... :o

Reply

Marsh Posté le 25-05-2003 à 17:51:55    

ben non c'est pas chargé, enfin peut être mais en tout cas, ça va pas avec mplayer, je met pourtant bien dxr3/h+ comme drivers (avec /dev/em8300-0 comme device) et quand je lance un DVD, ça me met : "Error opening/initializing the selected video_out (-vo) device.".


Message édité par drvins le 25-05-2003 à 17:52:45

---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 25-05-2003 à 17:53:36    

t'as exécuté em8000-setup avant ?

Reply

Marsh Posté le 25-05-2003 à 17:54:17    

et tu as les droits sur ce device ?

Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed