compile error with a source package
Hello there, I got a source package for my hp scanjet scanner and tried to
compile it. I'm new at programming or fixing code. I was wondering if
you could give me some pointers where to look to fix the error, I am also
going to give you the lsm of the package that I am trying to compile.
Thanks
Paul
LSM file
Begin3
Title: hpscan - HP ScanJet (Plus) low level device driver
Version: 0.1.1.8
Entered-date: 09OCT95
Description: This is a low level driver for the HP ScanJet and (hopefully)
HP ScanJet Plus scanners. This driver should behave mostly
like the HPSCAN device for DOS.
Keywords: HP ScanJet HPSCAN
Author: wingel@ctrl-c.liu.se (Christer Weinigel)
Primary-site: ctrl-c.liu.se /unix/linux/wingel
hpscan-0_1_1_8_tar.gz
Alternate-site: sunsite.unc.edu /pub/Linux/kernel/patches/scanners
hpscan-0.1.1.8.tar.gz
Platforms: Linux, HP ScanJet (Plus)
Copying-policy: Freely distributable
End
Error file of output of the make file.
cc -O2 -fomit-frame-pointer -Wall -Wstrict-prototypes -D__KERNEL__ -DMODULE -DCONFIG_MODVERSIONS -DKERNEL_VERSION=\"2.1.125\" -c hpscan.c -o hpscan.o
hpscan.c: In function `hpsj_detect':
hpscan.c:127: warning: suggest parentheses around comparison in operand of &
hpscan.c: At top level:
hpscan.c:511: redefinition of `kernel_version'
/usr/include/linux/module.h:95: `kernel_version' previously defined here
make: *** [hpscan.o] Error 1
Thanks again.
Reply to: