Citation :
cat: /lib/modules/2.4.21-0.13mdk/build/include/linux/autoconf.h: No such file or directory
cat: /lib/modules/2.4.21-0.13mdk/build/include/linux/version.h: No such file or directory
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 -c -o em8300_main.o em8300_main.c
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:11,
from em8300_main.c:21:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
from em8300_main.c:21:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from em8300_main.c:21:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported only once
/usr/include/linux/module.h:433: for each function it appears in.)
In file included from em8300_main.c:52:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/i2c.h:45,
from /usr/include/linux/i2c-algo-bit.h:29,
from em8300_main.c:54:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from em8300_main.c:56:
encoder.h:4:26: linux/em8300.h: No such file or directory
em8300_main.c:59:26: linux/em8300.h: No such file or directory
em8300_main.c:75:2: #error "This needs the I2C Bit Banging Interface in your Kernel"
em8300_main.c: At top level:
em8300_main.c:92: `EM8300_MAX' undeclared here (not in a function)
em8300_main.c:92: empty scalar initializer
em8300_main.c:92: (near initialization for `use_bt865'
em8300_main.c:122: `EM8300_MAX' undeclared here (not in a function)
em8300_main.c:122: empty scalar initializer
em8300_main.c:122: (near initialization for `remap'
em8300_main.c:124: `EM8300_MAX' undeclared here (not in a function)
em8300_main.c: In function `em8300_irq':
em8300_main.c:141: dereferencing pointer to incomplete type
em8300_main.c:141: dereferencing pointer to incomplete type
em8300_main.c:144: dereferencing pointer to incomplete type
em8300_main.c:144: dereferencing pointer to incomplete type
em8300_main.c:145: dereferencing pointer to incomplete type
em8300_main.c:147: dereferencing pointer to incomplete type
em8300_main.c:147: dereferencing pointer to incomplete type
em8300_main.c:149: `IRQSTATUS_VIDEO_FIFO' undeclared (first use in this function)
em8300_main.c:150: dereferencing pointer to incomplete type
em8300_main.c:153: `IRQSTATUS_AUDIO_FIFO' undeclared (first use in this function)
em8300_main.c:154: dereferencing pointer to incomplete type
em8300_main.c:157: `IRQSTATUS_VIDEO_VBL' undeclared (first use in this function)
em8300_main.c:158: warning: implicit declaration of function `em8300_video_check_ptsfifo'
em8300_main.c:159: warning: implicit declaration of function `em8300_spu_check_ptsfifo'
em8300_main.c:162: dereferencing pointer to incomplete type
em8300_main.c:162: warning: implicit declaration of function `TIMEDIFF'
em8300_main.c:162: dereferencing pointer to incomplete type
em8300_main.c:163: dereferencing pointer to incomplete type
em8300_main.c:164: dereferencing pointer to incomplete type
em8300_main.c:167: dereferencing pointer to incomplete type
em8300_main.c:167: dereferencing pointer to incomplete type
em8300_main.c:167: dereferencing pointer to incomplete type
em8300_main.c:168: dereferencing pointer to incomplete type
em8300_main.c:168: dereferencing pointer to incomplete type
em8300_main.c: In function `release_em8300':
em8300_main.c:180: dereferencing pointer to incomplete type
em8300_main.c:181: dereferencing pointer to incomplete type
em8300_main.c:181: dereferencing pointer to incomplete type
em8300_main.c:190: warning: implicit declaration of function `em8300_i2c_exit'
em8300_main.c:192: dereferencing pointer to incomplete type
em8300_main.c:192: dereferencing pointer to incomplete type
em8300_main.c:193: dereferencing pointer to incomplete type
em8300_main.c:193: dereferencing pointer to incomplete type
em8300_main.c:194: dereferencing pointer to incomplete type
em8300_main.c:196: dereferencing pointer to incomplete type
em8300_main.c:197: dereferencing pointer to incomplete type
em8300_main.c:198: dereferencing pointer to incomplete type
em8300_main.c:201: dereferencing pointer to incomplete type
em8300_main.c:204: dereferencing pointer to incomplete type
em8300_main.c:205: dereferencing pointer to incomplete type
em8300_main.c: In function `find_em8300':
em8300_main.c:223: `PCI_VENDOR_ID_SIGMADESIGNS' undeclared (first use in this function)
em8300_main.c:223: `PCI_DEVICE_ID_SIGMADESIGNS_EM8300' undeclared (first use in this function)
em8300_main.c:225: dereferencing pointer to incomplete type
em8300_main.c:228: dereferencing pointer to incomplete type
em8300_main.c:228: structure has no member named `base_address'
em8300_main.c:237: dereferencing pointer to incomplete type
em8300_main.c:241: structure has no member named `base_address'
em8300_main.c:241: dereferencing pointer to incomplete type
em8300_main.c:243: dereferencing pointer to incomplete type
em8300_main.c:247: dereferencing pointer to incomplete type
em8300_main.c:253: dereferencing pointer to incomplete type
em8300_main.c:256: dereferencing pointer to incomplete type
em8300_main.c:258: dereferencing pointer to incomplete type
em8300_main.c:258: dereferencing pointer to incomplete type
em8300_main.c:258: dereferencing pointer to incomplete type
em8300_main.c:259: dereferencing pointer to incomplete type
em8300_main.c: In function `em8300_io_ioctl':
em8300_main.c:290: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:291: warning: implicit declaration of function `em8300_audio_ioctl'
em8300_main.c:292: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:293: warning: implicit declaration of function `em8300_video_ioctl'
em8300_main.c:294: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:295: warning: implicit declaration of function `em8300_spu_ioctl'
em8300_main.c:296: `EM8300_SUBDEVICE_CONTROL' undeclared (first use in this function)
em8300_main.c:297: warning: implicit declaration of function `em8300_control_ioctl'
em8300_main.c: In function `em8300_io_open':
em8300_main.c:314: `EM8300_SUBDEVICE_CONTROL' undeclared (first use in this function)
em8300_main.c:326: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:328: warning: implicit declaration of function `em8300_audio_open'
em8300_main.c:330: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:332: dereferencing pointer to incomplete type
em8300_main.c:335: warning: implicit declaration of function `em8300_video_open'
em8300_main.c:337: warning: implicit declaration of function `em8300_ioctl_enable_videoout'
em8300_main.c:339: warning: implicit declaration of function `em8300_video_setplaymode'
em8300_main.c:339: `EM8300_PLAYMODE_PLAY' undeclared (first use in this function)
em8300_main.c:341: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:343: dereferencing pointer to incomplete type
em8300_main.c:346: warning: implicit declaration of function `em8300_spu_open'
em8300_main.c: In function `em8300_io_write':
em8300_main.c:372: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:373: warning: implicit declaration of function `em8300_video_write'
em8300_main.c:375: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:376: warning: implicit declaration of function `em8300_audio_write'
em8300_main.c:378: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:379: warning: implicit declaration of function `em8300_spu_write'
em8300_main.c: In function `em8300_io_mmap':
em8300_main.c:392: `EM8300_SUBDEVICE_CONTROL' undeclared (first use in this function)
em8300_main.c:397: structure has no member named `vm_offset'
em8300_main.c:402: dereferencing pointer to incomplete type
em8300_main.c:407: dereferencing pointer to incomplete type
em8300_main.c:414: wrong type argument to increment
em8300_main.c: In function `em8300_poll':
em8300_main.c:433: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:434: dereferencing pointer to incomplete type
em8300_main.c:436: dereferencing pointer to incomplete type
em8300_main.c:442: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:443: dereferencing pointer to incomplete type
em8300_main.c:445: dereferencing pointer to incomplete type
em8300_main.c:451: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:452: dereferencing pointer to incomplete type
em8300_main.c:454: dereferencing pointer to incomplete type
em8300_main.c: In function `em8300_io_release':
em8300_main.c:470: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:471: warning: implicit declaration of function `em8300_audio_release'
em8300_main.c:473: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:474: warning: implicit declaration of function `em8300_video_release'
em8300_main.c:477: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:481: dereferencing pointer to incomplete type
em8300_main.c: In function `init_em8300':
em8300_main.c:630: dereferencing pointer to incomplete type
em8300_main.c:630: dereferencing pointer to incomplete type
em8300_main.c:632: dereferencing pointer to incomplete type
em8300_main.c:634: dereferencing pointer to incomplete type
em8300_main.c:635: dereferencing pointer to incomplete type
em8300_main.c:636: dereferencing pointer to incomplete type
em8300_main.c:637: dereferencing pointer to incomplete type
em8300_main.c:638: dereferencing pointer to incomplete type
em8300_main.c:639: dereferencing pointer to incomplete type
em8300_main.c:640: dereferencing pointer to incomplete type
em8300_main.c:641: dereferencing pointer to incomplete type
em8300_main.c:643: dereferencing pointer to incomplete type
em8300_main.c:645: dereferencing pointer to incomplete type
em8300_main.c:649: dereferencing pointer to incomplete type
em8300_main.c:650: dereferencing pointer to incomplete type
em8300_main.c:651: dereferencing pointer to incomplete type
em8300_main.c:652: dereferencing pointer to incomplete type
em8300_main.c:655: dereferencing pointer to incomplete type
em8300_main.c:656: dereferencing pointer to incomplete type
em8300_main.c:657: dereferencing pointer to incomplete type
em8300_main.c:658: dereferencing pointer to incomplete type
em8300_main.c:659: dereferencing pointer to incomplete type
em8300_main.c:660: dereferencing pointer to incomplete type
em8300_main.c:663: dereferencing pointer to incomplete type
em8300_main.c:665: warning: implicit declaration of function `em8300_i2c_init'
em8300_main.c:670: dereferencing pointer to incomplete type
em8300_main.c:670: `CLOCKGEN_TVMODE_1' undeclared (first use in this function)
em8300_main.c:671: dereferencing pointer to incomplete type
em8300_main.c:671: `CLOCKGEN_OVERLAYMODE_1' undeclared (first use in this function)
em8300_main.c:673: dereferencing pointer to incomplete type
em8300_main.c:673: `CLOCKGEN_TVMODE_2' undeclared (first use in this function)
em8300_main.c:674: dereferencing pointer to incomplete type
em8300_main.c:674: `CLOCKGEN_OVERLAYMODE_2' undeclared (first use in this function)
em8300_main.c: In function `em8300_exit':
em8300_main.c:709: `EM8300_MAJOR' undeclared (first use in this function)
em8300_main.c:709: `EM8300_LOGNAME' undeclared (first use in this function)
em8300_main.c:688: warning: unused variable `devname'
em8300_main.c: In function `em8300_init':
em8300_main.c:750: dereferencing pointer to incomplete type
em8300_main.c:752: dereferencing pointer to incomplete type
em8300_main.c:754: dereferencing pointer to incomplete type
em8300_main.c:791: `EM8300_MAJOR' undeclared (first use in this function)
em8300_main.c:791: `EM8300_LOGNAME' undeclared (first use in this function)
em8300_main.c:719: warning: unused variable `devname'
em8300_main.c: At top level:
em8300_main.c:92: storage size of `use_bt865' isn't known
em8300_main.c:122: storage size of `remap' isn't known
em8300_main.c:124: storage size of `em8300' isn't known
em8300_main.c:92: warning: `use_bt865' defined but not used
em8300_main.c:122: warning: `remap' defined but not used
em8300_main.c:124: warning: `em8300' defined but not used
make: *** [em8300_main.o] Erreur 1
|