make throws the following errors: is this kernel compatible ?
In file included from epiafb_driver.c:48:
epiafb.h:44:25: video/fbcon.h: No such file or directory
epiafb.h:45:30: video/fbcon-cfb8.h: No such file or directory
epiafb.h:46:31: video/fbcon-cfb16.h: No such file or directory
epiafb.h:47:31: video/fbcon-cfb24.h: No such file or directory
epiafb.h:48:31: video/fbcon-cfb32.h: No such file or directory
In file included from epiafb_driver.c:48:
epiafb.h:105: field `gen' has incomplete type
In file included from epiafb_driver.c:53:
epiafb_accel.h:53: warning: `struct display' declared inside parameter list
epiafb_accel.h:53: warning: its scope is only this definition or declaration, which is probably not what you want
epiafb_accel.h:54: warning: `struct display' declared inside parameter list
epiafb_driver.c:58: warning: `struct pci_device_id' declared inside parameter list
epiafb_driver.c:58: warning: `struct pci_dev' declared inside parameter list
epiafb_driver.c:59: warning: `struct pci_dev' declared inside parameter list
epiafb_driver.c:65: warning: `struct fb_info' declared inside parameter list
epiafb_driver.c:66: warning: `struct fb_info' declared inside parameter list
epiafb_driver.c:69: warning: `struct display' declared inside parameter list
epiafb_driver.c:73: elements of array `epia_devices' have incomplete type
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: `PCI_ANY_ID' undeclared here (not in a function)
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: `PCI_ANY_ID' undeclared here (not in a function)
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:75: warning: excess elements in struct initializer
epiafb_driver.c:75: warning: (near initialization for `epia_devices[1]')
epiafb_driver.c:78: sizeof applied to an incomplete type
epiafb_driver.c:80: variable `epiafb_pci_driver' has initializer but incomplete type
epiafb_driver.c:81: unknown field `name' specified in initializer
epiafb_driver.c:81: warning: excess elements in struct initializer
epiafb_driver.c:81: warning: (near initialization for `epiafb_pci_driver')
epiafb_driver.c:82: unknown field `id_table' specified in initializer
epiafb_driver.c:82: warning: excess elements in struct initializer
epiafb_driver.c:82: warning: (near initialization for `epiafb_pci_driver')
epiafb_driver.c:83: unknown field `probe' specified in initializer
epiafb_driver.c:83: warning: excess elements in struct initializer
epiafb_driver.c:83: warning: (near initialization for `epiafb_pci_driver')
epiafb_driver.c:84: unknown field `remove' specified in initializer
epiafb_driver.c:84: warning: excess elements in struct initializer
epiafb_driver.c:84: warning: (near initialization for `epiafb_pci_driver')
epiafb_driver.c:94: variable `epiafb_ops' has initializer but incomplete type
epiafb_driver.c:95: unknown field `fb_get_fix' specified in initializer
epiafb_driver.c:95: `fbgen_get_fix' undeclared here (not in a function)
epiafb_driver.c:95: warning: excess elements in struct initializer
epiafb_driver.c:95: warning: (near initialization for `epiafb_ops')
epiafb_driver.c:96: unknown field `fb_get_var' specified in initializer
epiafb_driver.c:96: `fbgen_get_var' undeclared here (not in a function)
epiafb_driver.c:96: warning: excess elements in struct initializer
epiafb_driver.c:96: warning: (near initialization for `epiafb_ops')
epiafb_driver.c:97: unknown field `fb_set_var' specified in initializer
epiafb_driver.c:97: `fbgen_set_var' undeclared here (not in a function)
epiafb_driver.c:97: warning: excess elements in struct initializer
epiafb_driver.c:97: warning: (near initialization for `epiafb_ops')
epiafb_driver.c:98: unknown field `fb_get_cmap' specified in initializer
epiafb_driver.c:98: `fbgen_get_cmap' undeclared here (not in a function)
epiafb_driver.c:98: warning: excess elements in struct initializer
epiafb_driver.c:98: warning: (near initialization for `epiafb_ops')
epiafb_driver.c:99: unknown field `fb_set_cmap' specified in initializer
epiafb_driver.c:99: `fbgen_set_cmap' undeclared here (not in a function)
epiafb_driver.c:99: warning: excess elements in struct initializer
epiafb_driver.c:99: warning: (near initialization for `epiafb_ops')
epiafb_driver.c💯 unknown field `fb_pan_display' specified in initializer
epiafb_driver.c💯 `fbgen_pan_display' undeclared here (not in a function)
epiafb_driver.c💯 warning: excess elements in struct initializer
epiafb_driver.c💯 warning: (near initialization for `epiafb_ops')
epiafb_driver.c:103: variable `epia_hwswitch' has initializer but incomplete type
epiafb_driver.c:104: `NULL' undeclared here (not in a function)
epiafb_driver.c:104: warning: excess elements in struct initializer
epiafb_driver.c:104: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:105: warning: excess elements in struct initializer
epiafb_driver.c:105: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:106: warning: excess elements in struct initializer
epiafb_driver.c:106: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:107: warning: excess elements in struct initializer
epiafb_driver.c:107: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:108: warning: excess elements in struct initializer
epiafb_driver.c:108: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:109: warning: excess elements in struct initializer
epiafb_driver.c:109: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:110: warning: excess elements in struct initializer
epiafb_driver.c:110: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:111: warning: excess elements in struct initializer
epiafb_driver.c:111: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:112: warning: excess elements in struct initializer
epiafb_driver.c:112: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:113: warning: excess elements in struct initializer
epiafb_driver.c:113: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:115: warning: excess elements in struct initializer
epiafb_driver.c:115: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c: In function `epia_decode_var':
epiafb_driver.c:232: `EINVAL' undeclared (first use in this function)
epiafb_driver.c:232: (Each undeclared identifier is reported only once
epiafb_driver.c:232: for each function it appears in.)
epiafb_driver.c: At top level:
epiafb_driver.c:696: warning: `struct fb_info' declared inside parameter list
epiafb_driver.c:697: conflicting types for `epia_getcolreg'
epiafb_driver.c:65: previous declaration of `epia_getcolreg'
epiafb_driver.c:716: warning: `struct fb_info' declared inside parameter list
epiafb_driver.c:717: conflicting types for `epia_setcolreg'
epiafb_driver.c:66: previous declaration of `epia_setcolreg'
epiafb_driver.c: In function `epia_setcolreg':
epiafb_driver.c:742: dereferencing pointer to incomplete type
epiafb_driver.c:746: dereferencing pointer to incomplete type
epiafb_driver.c: At top level:
epiafb_driver.c:801: conflicting types for `epia_set_disp'
epiafb_driver.c:69: previous declaration of `epia_set_disp'
epiafb_driver.c: In function `epia_set_disp':
epiafb_driver.c:807: dereferencing pointer to incomplete type
epiafb_driver.c:834: dereferencing pointer to incomplete type
epiafb_driver.c:834: `fbcon_dummy' undeclared (first use in this function)
epiafb_driver.c: At top level:
epiafb_driver.c:839: warning: `struct pci_dev' declared inside parameter list
epiafb_driver.c:840: conflicting types for `epia_pci_probe'
epiafb_driver.c:58: previous declaration of `epia_pci_probe'
epiafb_driver.c: In function `epia_pci_probe':
epiafb_driver.c:847: dereferencing pointer to incomplete type
epiafb_driver.c:884: dereferencing pointer to incomplete type
epiafb_driver.c:893: `NULL' undeclared (first use in this function)
epiafb_driver.c:894: `NODEV' undeclared (first use in this function)
epiafb_driver.c:898: `fbgen_switch' undeclared (first use in this function)
epiafb_driver.c:899: `fbgen_update_var' undeclared (first use in this function)
epiafb_driver.c:900: `fbgen_blank' undeclared (first use in this function)
epiafb_driver.c:902: `FBINFO_FLAG_DEFAULT' undeclared (first use in this function)
epiafb_driver.c:921: invalid use of undefined type `struct display'
epiafb_driver.c:931: `EINVAL' undeclared (first use in this function)
epiafb_driver.c: At top level:
epiafb_driver.c:940: warning: `struct pci_dev' declared inside parameter list
epiafb_driver.c:941: conflicting types for `epia_pci_remove'
epiafb_driver.c:59: previous declaration of `epia_pci_remove'
epiafb_driver.c: In function `epiafb_setup':
epiafb_driver.c:975: warning: assignment makes pointer from integer without a cast
epiafb_driver.c:975: `NULL' undeclared (first use in this function)
epiafb_driver.c: At top level:
epiafb_driver.c:80: storage size of `epiafb_pci_driver' isn't known
epiafb_driver.c:89: storage size of `disp' isn't known
epiafb_driver.c:94: storage size of `epiafb_ops' isn't known
epiafb_driver.c:103: storage size of `epia_hwswitch' isn't known
make: *** [epiafb_driver.o] Error 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
make throws the following errors: is this kernel compatible ?
In file included from epiafb_driver.c:48:
epiafb.h:44:25: video/fbcon.h: No such file or directory
epiafb.h:45:30: video/fbcon-cfb8.h: No such file or directory
epiafb.h:46:31: video/fbcon-cfb16.h: No such file or directory
epiafb.h:47:31: video/fbcon-cfb24.h: No such file or directory
epiafb.h:48:31: video/fbcon-cfb32.h: No such file or directory
In file included from epiafb_driver.c:48:
epiafb.h:105: field `gen' has incomplete type
In file included from epiafb_driver.c:53:
epiafb_accel.h:53: warning: `struct display' declared inside parameter list
epiafb_accel.h:53: warning: its scope is only this definition or declaration, which is probably not what you want
epiafb_accel.h:54: warning: `struct display' declared inside parameter list
epiafb_driver.c:58: warning: `struct pci_device_id' declared inside parameter list
epiafb_driver.c:58: warning: `struct pci_dev' declared inside parameter list
epiafb_driver.c:59: warning: `struct pci_dev' declared inside parameter list
epiafb_driver.c:65: warning: `struct fb_info' declared inside parameter list
epiafb_driver.c:66: warning: `struct fb_info' declared inside parameter list
epiafb_driver.c:69: warning: `struct display' declared inside parameter list
epiafb_driver.c:73: elements of array `epia_devices' have incomplete type
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: `PCI_ANY_ID' undeclared here (not in a function)
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: `PCI_ANY_ID' undeclared here (not in a function)
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:74: warning: excess elements in struct initializer
epiafb_driver.c:74: warning: (near initialization for `epia_devices[0]')
epiafb_driver.c:75: warning: excess elements in struct initializer
epiafb_driver.c:75: warning: (near initialization for `epia_devices[1]')
epiafb_driver.c:78: sizeof applied to an incomplete type
epiafb_driver.c:80: variable `epiafb_pci_driver' has initializer but incomplete type
epiafb_driver.c:81: unknown field `name' specified in initializer
epiafb_driver.c:81: warning: excess elements in struct initializer
epiafb_driver.c:81: warning: (near initialization for `epiafb_pci_driver')
epiafb_driver.c:82: unknown field `id_table' specified in initializer
epiafb_driver.c:82: warning: excess elements in struct initializer
epiafb_driver.c:82: warning: (near initialization for `epiafb_pci_driver')
epiafb_driver.c:83: unknown field `probe' specified in initializer
epiafb_driver.c:83: warning: excess elements in struct initializer
epiafb_driver.c:83: warning: (near initialization for `epiafb_pci_driver')
epiafb_driver.c:84: unknown field `remove' specified in initializer
epiafb_driver.c:84: warning: excess elements in struct initializer
epiafb_driver.c:84: warning: (near initialization for `epiafb_pci_driver')
epiafb_driver.c:94: variable `epiafb_ops' has initializer but incomplete type
epiafb_driver.c:95: unknown field `fb_get_fix' specified in initializer
epiafb_driver.c:95: `fbgen_get_fix' undeclared here (not in a function)
epiafb_driver.c:95: warning: excess elements in struct initializer
epiafb_driver.c:95: warning: (near initialization for `epiafb_ops')
epiafb_driver.c:96: unknown field `fb_get_var' specified in initializer
epiafb_driver.c:96: `fbgen_get_var' undeclared here (not in a function)
epiafb_driver.c:96: warning: excess elements in struct initializer
epiafb_driver.c:96: warning: (near initialization for `epiafb_ops')
epiafb_driver.c:97: unknown field `fb_set_var' specified in initializer
epiafb_driver.c:97: `fbgen_set_var' undeclared here (not in a function)
epiafb_driver.c:97: warning: excess elements in struct initializer
epiafb_driver.c:97: warning: (near initialization for `epiafb_ops')
epiafb_driver.c:98: unknown field `fb_get_cmap' specified in initializer
epiafb_driver.c:98: `fbgen_get_cmap' undeclared here (not in a function)
epiafb_driver.c:98: warning: excess elements in struct initializer
epiafb_driver.c:98: warning: (near initialization for `epiafb_ops')
epiafb_driver.c:99: unknown field `fb_set_cmap' specified in initializer
epiafb_driver.c:99: `fbgen_set_cmap' undeclared here (not in a function)
epiafb_driver.c:99: warning: excess elements in struct initializer
epiafb_driver.c:99: warning: (near initialization for `epiafb_ops')
epiafb_driver.c💯 unknown field `fb_pan_display' specified in initializer
epiafb_driver.c💯 `fbgen_pan_display' undeclared here (not in a function)
epiafb_driver.c💯 warning: excess elements in struct initializer
epiafb_driver.c💯 warning: (near initialization for `epiafb_ops')
epiafb_driver.c:103: variable `epia_hwswitch' has initializer but incomplete type
epiafb_driver.c:104: `NULL' undeclared here (not in a function)
epiafb_driver.c:104: warning: excess elements in struct initializer
epiafb_driver.c:104: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:105: warning: excess elements in struct initializer
epiafb_driver.c:105: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:106: warning: excess elements in struct initializer
epiafb_driver.c:106: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:107: warning: excess elements in struct initializer
epiafb_driver.c:107: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:108: warning: excess elements in struct initializer
epiafb_driver.c:108: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:109: warning: excess elements in struct initializer
epiafb_driver.c:109: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:110: warning: excess elements in struct initializer
epiafb_driver.c:110: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:111: warning: excess elements in struct initializer
epiafb_driver.c:111: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:112: warning: excess elements in struct initializer
epiafb_driver.c:112: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:113: warning: excess elements in struct initializer
epiafb_driver.c:113: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c:115: warning: excess elements in struct initializer
epiafb_driver.c:115: warning: (near initialization for `epia_hwswitch')
epiafb_driver.c: In function `epia_decode_var':
epiafb_driver.c:232: `EINVAL' undeclared (first use in this function)
epiafb_driver.c:232: (Each undeclared identifier is reported only once
epiafb_driver.c:232: for each function it appears in.)
epiafb_driver.c: At top level:
epiafb_driver.c:696: warning: `struct fb_info' declared inside parameter list
epiafb_driver.c:697: conflicting types for `epia_getcolreg'
epiafb_driver.c:65: previous declaration of `epia_getcolreg'
epiafb_driver.c:716: warning: `struct fb_info' declared inside parameter list
epiafb_driver.c:717: conflicting types for `epia_setcolreg'
epiafb_driver.c:66: previous declaration of `epia_setcolreg'
epiafb_driver.c: In function `epia_setcolreg':
epiafb_driver.c:742: dereferencing pointer to incomplete type
epiafb_driver.c:746: dereferencing pointer to incomplete type
epiafb_driver.c: At top level:
epiafb_driver.c:801: conflicting types for `epia_set_disp'
epiafb_driver.c:69: previous declaration of `epia_set_disp'
epiafb_driver.c: In function `epia_set_disp':
epiafb_driver.c:807: dereferencing pointer to incomplete type
epiafb_driver.c:834: dereferencing pointer to incomplete type
epiafb_driver.c:834: `fbcon_dummy' undeclared (first use in this function)
epiafb_driver.c: At top level:
epiafb_driver.c:839: warning: `struct pci_dev' declared inside parameter list
epiafb_driver.c:840: conflicting types for `epia_pci_probe'
epiafb_driver.c:58: previous declaration of `epia_pci_probe'
epiafb_driver.c: In function `epia_pci_probe':
epiafb_driver.c:847: dereferencing pointer to incomplete type
epiafb_driver.c:884: dereferencing pointer to incomplete type
epiafb_driver.c:893: `NULL' undeclared (first use in this function)
epiafb_driver.c:894: `NODEV' undeclared (first use in this function)
epiafb_driver.c:898: `fbgen_switch' undeclared (first use in this function)
epiafb_driver.c:899: `fbgen_update_var' undeclared (first use in this function)
epiafb_driver.c:900: `fbgen_blank' undeclared (first use in this function)
epiafb_driver.c:902: `FBINFO_FLAG_DEFAULT' undeclared (first use in this function)
epiafb_driver.c:921: invalid use of undefined type `struct display'
epiafb_driver.c:931: `EINVAL' undeclared (first use in this function)
epiafb_driver.c: At top level:
epiafb_driver.c:940: warning: `struct pci_dev' declared inside parameter list
epiafb_driver.c:941: conflicting types for `epia_pci_remove'
epiafb_driver.c:59: previous declaration of `epia_pci_remove'
epiafb_driver.c: In function `epiafb_setup':
epiafb_driver.c:975: warning: assignment makes pointer from integer without a cast
epiafb_driver.c:975: `NULL' undeclared (first use in this function)
epiafb_driver.c: At top level:
epiafb_driver.c:80: storage size of `epiafb_pci_driver' isn't known
epiafb_driver.c:89: storage size of `disp' isn't known
epiafb_driver.c:94: storage size of `epiafb_ops' isn't known
epiafb_driver.c:103: storage size of `epia_hwswitch' isn't known
make: *** [epiafb_driver.o] Error 1
I got same stream of errors with 2.6.7 with 2.6.7-epia1 patch.