kliq
April 7th, 2011, 12:12 AM
Hello
I have tried to compile a program that I downloaded.
But I get a long list of warnings, and error messages detailing kernel headers that I am missing; eg:
In file included from /home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:69:
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: No such file or directory
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc.h:37:27: error: asm/semaphore.h: No such file or directory
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:166: error: variable ‘pwc_template’ has initializer but incomplete type
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:167: error: unknown field ‘owner’ specified in initializer
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:167: warning: excess elements in struct initializer
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:167: warning: (near initialization for ‘pwc_template’)
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:168: error: unknown field ‘name’ specified in initiali
and so it goes, on & on.
I have looked through the available kernel header files in Synaptic and a few have ! marks in the left hand column which I believe indicates the ones that are in my system, - Lucid, 10.04.
Please, does anyone know what: 'apt-get' packages will solve this or I should do next?
I have tried to compile a program that I downloaded.
But I get a long list of warnings, and error messages detailing kernel headers that I am missing; eg:
In file included from /home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:69:
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: No such file or directory
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc.h:37:27: error: asm/semaphore.h: No such file or directory
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:166: error: variable ‘pwc_template’ has initializer but incomplete type
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:167: error: unknown field ‘owner’ specified in initializer
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:167: warning: excess elements in struct initializer
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:167: warning: (near initialization for ‘pwc_template’)
/home/maxtor/Desktop/PWC-try/pwc-10.0.12-rc1/pwc-if.c:168: error: unknown field ‘name’ specified in initiali
and so it goes, on & on.
I have looked through the available kernel header files in Synaptic and a few have ! marks in the left hand column which I believe indicates the ones that are in my system, - Lucid, 10.04.
Please, does anyone know what: 'apt-get' packages will solve this or I should do next?