The Makefile is broken for the new Fedora Core 4 Kernel.
The problems is line 27:
ifeq ($(KERNELRELEASE),) # Test whether we were called by 2.6.x build system
Looks like they are now using KERNELVERSION.
Problem is that if you change it to KERNELVERSION then it breaks it for older kernels.
I decided to just set it to VERSION and it seems to work ok on both old and new kernels.
New line 27 in Makefile looks like:
ifeq ($(VERSION),) # Test whether we were called by 2.6.x build system
You will also need the posted patch to fix the other: compile problem with qc-driver.c.
I did notice a error/warning, but haven't had time to look into it.
Also qcset.c has a problem.
Line 386 needs to change from:
void pnm_open(unsigned char *name
to:
void pnm_open(char *name
The whole line isn't shown, just need to take out the unsigned and it gets rid of a compile warning.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Makefile is broken for the new Fedora Core 4 Kernel.
The problems is line 27:
ifeq ($(KERNELRELEASE),) # Test whether we were called by 2.6.x build system
Looks like they are now using KERNELVERSION.
Problem is that if you change it to KERNELVERSION then it breaks it for older kernels.
I decided to just set it to VERSION and it seems to work ok on both old and new kernels.
New line 27 in Makefile looks like:
ifeq ($(VERSION),) # Test whether we were called by 2.6.x build system
You will also need the posted patch to fix the other: compile problem with qc-driver.c.
I did notice a error/warning, but haven't had time to look into it.
Also qcset.c has a problem.
Line 386 needs to change from:
void pnm_open(unsigned char *name
to:
void pnm_open(char *name
The whole line isn't shown, just need to take out the unsigned and it gets rid of a compile warning.