[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
plustek-driver with Kernel 2.4.10-4GB
From: ####@####.#### (Uwe Bosse) Date: 3 Dec 2001 18:22:06 -0000 Message-Id: <200112031700.fB3H0PU01491@jupiter.zuhause> After an update from SuSE 7.0. to SuSE 7.3 I tried to recompile the Plustek kernel-module pt_drv. So I downloaded the latest version plustek-module-0_39_7.tar.gz and got an awful lot of error-messages as answer to make and some hints, how to avoid them (install the kernel-sources and modify the Makefile). Perhaps someone has an already modified Makefile an could tell me how to succeed, or, even better, someone has the binaries (I think it's only the file pt_drv.o) and could sent it to me by email? Thank you for help! ####@####.#### | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: plustek-driver with Kernel 2.4.10-4GB
From: "Jaeger, Gerhard" ####@####.#### Date: 3 Dec 2001 19:14:27 -0000 Message-Id: <01120320102000.01043@ruebennase> So where's the problem? Can you be more specific? Gerhard On Monday, 3. December 2001 18:00, Uwe Bosse wrote: > After an update from SuSE 7.0. to SuSE 7.3 I tried to recompile the Plustek > kernel-module pt_drv. So I downloaded the latest version > plustek-module-0_39_7.tar.gz and got an awful lot of error-messages as > answer to > make > and some hints, how to avoid them (install the kernel-sources and modify > the Makefile). Perhaps someone has an already modified Makefile an could > tell me how to succeed, or, even better, someone has the binaries (I think > it's only the file pt_drv.o) and could sent it to me by email? > > Thank you for help! > > ####@####.#### > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: plustek-driver with Kernel 2.4.10-4GB
From: Hauer Peter ####@####.#### Date: 4 Dec 2001 21:07:01 -0000 Message-Id: I do not know if you want to work with an USB-Scanner, in that case you won't succeed. There is a mistake in the standard Kernel from SuSE. It was not possible to work with my USB-Modem with this Kernel. I found the reason in the support database from SuSe. For me it was th best to download a new kernel fom ftp://ftp.suse.com/pub/people/mantel/next/RPM/ With Kernel 2.4.16 everything works fine. Maybe this is the reason mfg/Peter Hauer Am Montag, 3. Dezember 2001 18:00 schrieben Sie: > After an update from SuSE 7.0. to SuSE 7.3 I tried to recompile the Plustek > kernel-module pt_drv. So I downloaded the latest version > plustek-module-0_39_7.tar.gz and got an awful lot of error-messages as > answer to > make > and some hints, how to avoid them (install the kernel-sources and modify > the Makefile). Perhaps someone has an already modified Makefile an could > tell me how to succeed, or, even better, someone has the binaries (I think > it's only the file pt_drv.o) and could sent it to me by email? > > Thank you for help! > > ####@####.#### > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: plustek-driver with Kernel 2.4.10-4GB
From: "Jaeger, Gerhard" ####@####.#### Date: 5 Dec 2001 19:05:43 -0000 Message-Id: <01120520013600.00612@ruebennase> Hi, again that damned SuSE crap! First: Have you installed the kernel sources? If yes, go into the kernel directory cd /usr/src/linux if no, install them. Then do a make mrproper make cloneconfig this should solve the problems. I'm not shure if you also have to copy the /boot/vmlinuz.autoconf.h etc... In cas this doesn't work, have a look at the SuSE database and look for "compiling kernel modules" Gerhard On Monday, 3. December 2001 23:01, Uwe Bosse wrote: > "Jaeger, Gerhard" schrieb: > > So where's the problem? > > Can you be more specific? > > of course I can. > If I try "make all" (within the plustek-driver - directory) I get: > > grep: /usr/src/linux/include/linux/autoconf.h: Datei oder Verzeichnis > nicht gefunden > > ok, the file doesn't exist. I find a autoconf.h at the following > location > /boot/vmlinuz.autoconf.h > > so I edit the Makefile to replace > $(KERNEL_HEADERS)/linux/autoconf.h > within LINE 107 with > /boot/vmlinuz.autoconf.h > And now, I try "make all" again and receive the following: > --------------------------------------------------------------------------- >--------------------- > --------------------------------------------------------------------------- >--------------------- gcc -Wall -Wstrict-prototypes -fomit-frame-pointer > -D_PTDRV_V1=0 > -D_PTDRV_V0=39 -D_PTDRV_BUILD=8 -D__KERNEL__ -I/usr/src/linux/include > -I./h -I./.. -O2 -DMODULE -c src/dac.c -o obj/dac.o > In file included from h/plustek_scan.h:58, > from src/dac.c:47: > /usr/include/linux/version.h:2: #error > "=======================================================" > /usr/include/linux/version.h:3: #error "You should not include > /usr/include/{linux,asm}/ header" > /usr/include/linux/version.h:4: #error "files directly for the > compilation of kernel modules." > /usr/include/linux/version.h:5: #error "" > /usr/include/linux/version.h:6: #error "glibc now uses kernel header > files from a well-defined" > /usr/include/linux/version.h:7: #error "working kernel version (as > recommended by Linus Torvalds)" > /usr/include/linux/version.h:8: #error "These files are glibc internal > and may not match the" > /usr/include/linux/version.h:9: #error "currently running kernel. They > should only be" > /usr/include/linux/version.h:10: #error "included via other system > header files - user space" > /usr/include/linux/version.h:11: #error "programs should not directly > include <linux/*.h> or" > /usr/include/linux/version.h:12: #error "<asm/*.h> as well." > /usr/include/linux/version.h:13: #error "" > /usr/include/linux/version.h:14: #error "To build kernel modules please > do the following:" > /usr/include/linux/version.h:15: #error "" > /usr/include/linux/version.h:16: #error " o Have the kernel sources > installed" > /usr/include/linux/version.h:17: #error "" > /usr/include/linux/version.h:18: #error " o Make sure that the symbolic > link" > /usr/include/linux/version.h:19: #error " /lib/modules/`uname > -r`/build exists and points to" > /usr/include/linux/version.h:20: #error " the matching kernel source > directory" > /usr/include/linux/version.h:21: #error "" > /usr/include/linux/version.h:22: #error " o Now copy > /boot/vmlinuz.version.h to"/usr/include/linux/version.h:23: #error " > /lib/modules/`uname -r`/build/include/linux/version.h" > /usr/include/linux/version.h:24: #error "" > /usr/include/linux/version.h:25: #error " o When compiling, make sure to > use the following" > /usr/include/linux/version.h:26: #error " compiler option to use the > correct include files:" > /usr/include/linux/version.h:27: #error "" > /usr/include/linux/version.h:28: #error " -I/lib/modules/`uname > -r`/build/include" > /usr/include/linux/version.h:29: #error "" > /usr/include/linux/version.h:30: #error " instead of" > /usr/include/linux/version.h:31: #error "" > /usr/include/linux/version.h:32: #error " -I/usr/include/linux" > /usr/include/linux/version.h:33: #error "" > /usr/include/linux/version.h:34: #error " Please adjust the Makefile > accordingly." > /usr/include/linux/version.h:35: #error > "=======================================================" > In file included from h/plustek_sysdep.h:38, > from h/plustek_scan.h:59, > from src/dac.c:47: > /usr/include/linux/version.h:2: #error > "=======================================================" > /usr/include/linux/version.h:3: #error "You should not include > /usr/include/{linux,asm}/ header" > /usr/include/linux/version.h:4: #error "files directly for the > compilation of kernel modules." > /usr/include/linux/version.h:5: #error "" > /usr/include/linux/version.h:6: #error "glibc now uses kernel header > files from a well-defined" > /usr/include/linux/version.h:7: #error "working kernel version (as > recommended by Linus Torvalds)" > /usr/include/linux/version.h:8: #error "These files are glibc internal > and may not match the" > /usr/include/linux/version.h:9: #error "currently running kernel. They > should only be" > /usr/include/linux/version.h:10: #error "included via other system > header files - user space" > /usr/include/linux/version.h:11: #error "programs should not directly > include <linux/*.h> or" > /usr/include/linux/version.h:12: #error "<asm/*.h> as well." > /usr/include/linux/version.h:13: #error "" > /usr/include/linux/version.h:14: #error "To build kernel modules please > do the following:" > /usr/include/linux/version.h:15: #error "" > /usr/include/linux/version.h:16: #error " o Have the kernel sources > installed" > /usr/include/linux/version.h:17: #error "" > /usr/include/linux/version.h:18: #error " o Make sure that the symbolic > link" > /usr/include/linux/version.h:19: #error " /lib/modules/`uname > -r`/build exists and points to" > /usr/include/linux/version.h:20: #error " the matching kernel source > directory" > /usr/include/linux/version.h:21: #error "" > /usr/include/linux/version.h:22: #error " o Now copy > /boot/vmlinuz.version.h to"/usr/include/linux/version.h:23: #error " > /lib/modules/`uname -r`/build/include/linux/version.h" > /usr/include/linux/version.h:24: #error "" > /usr/include/linux/version.h:25: #error " o When compiling, make sure to > use the following" > /usr/include/linux/version.h:26: #error " compiler option to use the > correct include files:" > /usr/include/linux/version.h:27: #error "" > /usr/include/linux/version.h:28: #error " -I/lib/modules/`uname > -r`/build/include" > /usr/include/linux/version.h:29: #error "" > /usr/include/linux/version.h:30: #error " instead of" > /usr/include/linux/version.h:31: #error "" > /usr/include/linux/version.h:32: #error " -I/usr/include/linux" > /usr/include/linux/version.h:33: #error "" > /usr/include/linux/version.h:34: #error " Please adjust the Makefile > accordingly." > /usr/include/linux/version.h:35: #error > "=======================================================" > In file included from h/plustek_scan.h:59, > from src/dac.c:47: > h/plustek_sysdep.h:47: #error "This kernel is too old: not supported by > this file" > In file included from h/plustek_scan.h:59, > from src/dac.c:47: > h/plustek_sysdep.h:211: warning: `cpu_to_le16' redefined > /usr/include/linux/byteorder/generic.h:91: warning: this is the location > of the previous definition > h/plustek_sysdep.h:212: warning: `cpu_to_le32' redefined > /usr/include/linux/byteorder/generic.h:89: warning: this is the location > of the previous definition > h/plustek_sysdep.h:213: warning: `cpu_to_be16' redefined > /usr/include/linux/byteorder/generic.h:97: warning: this is the location > of the previous definition > h/plustek_sysdep.h:214: warning: `cpu_to_be32' redefined > /usr/include/linux/byteorder/generic.h:95: warning: this is the location > of the previous definition > h/plustek_sysdep.h:223: warning: `le16_to_cpu' redefined > /usr/include/linux/byteorder/generic.h:92: warning: this is the location > of the previous definition > h/plustek_sysdep.h:224: warning: `le32_to_cpu' redefined > /usr/include/linux/byteorder/generic.h:90: warning: this is the location > of the previous definition > h/plustek_sysdep.h:225: warning: `be16_to_cpu' redefined > /usr/include/linux/byteorder/generic.h:98: warning: this is the location > of the previous definition > h/plustek_sysdep.h:226: warning: `be32_to_cpu' redefined > /usr/include/linux/byteorder/generic.h:96: warning: this is the location > of the previous definition > h/plustek_sysdep.h:231: warning: `cpu_to_le16p' redefined > /usr/include/linux/byteorder/generic.h:103: warning: this is the > location of the previous definition > h/plustek_sysdep.h:232: warning: `cpu_to_le32p' redefined > /usr/include/linux/byteorder/generic.h:101: warning: this is the > location of the previous definition > h/plustek_sysdep.h:233: warning: `cpu_to_be16p' redefined > /usr/include/linux/byteorder/generic.h:109: warning: this is the > location of the previous definition > h/plustek_sysdep.h:234: warning: `cpu_to_be32p' redefined > /usr/include/linux/byteorder/generic.h:107: warning: this is the > location of the previous definition > h/plustek_sysdep.h:241: warning: `le16_to_cpup' redefined > /usr/include/linux/byteorder/generic.h:104: warning: this is the > location of the previous definition > h/plustek_sysdep.h:242: warning: `le32_to_cpup' redefined > /usr/include/linux/byteorder/generic.h:102: warning: this is the > location of the previous definition > h/plustek_sysdep.h:243: warning: `be16_to_cpup' redefined > /usr/include/linux/byteorder/generic.h:110: warning: this is the > location of the previous definition > h/plustek_sysdep.h:244: warning: `be32_to_cpup' redefined > /usr/include/linux/byteorder/generic.h:108: warning: this is the > location of the previous definition > h/plustek_sysdep.h:246: warning: `le16_to_cpus' redefined > /usr/include/linux/byteorder/generic.h:116: warning: this is the > location of the previous definition > h/plustek_sysdep.h:247: warning: `le32_to_cpus' redefined > /usr/include/linux/byteorder/generic.h:114: warning: this is the > location of the previous definition > h/plustek_sysdep.h:248: warning: `be16_to_cpus' redefined > /usr/include/linux/byteorder/generic.h:122: warning: this is the > location of the previous definition > h/plustek_sysdep.h:249: warning: `be32_to_cpus' redefined > /usr/include/linux/byteorder/generic.h:120: warning: this is the > location of the previous definition > In file included from /usr/include/linux/udf_fs_sb.h:22, > from /usr/include/linux/fs.h:658, > from /usr/include/linux/capability.h:17, > from /usr/include/linux/binfmts.h:5, > from /usr/include/linux/sched.h:8, > from /usr/include/linux/mm.h:4, > from /usr/include/linux/slab.h:14, > from /usr/include/linux/malloc.h:4, > from h/plustek_scan.h:60, > from src/dac.c:47: > /usr/include/linux/version.h:2: #error > "=======================================================" > /usr/include/linux/version.h:3: #error "You should not include > /usr/include/{linux,asm}/ header" > /usr/include/linux/version.h:4: #error "files directly for the > compilation of kernel modules." > /usr/include/linux/version.h:5: #error "" > /usr/include/linux/version.h:6: #error "glibc now uses kernel header > files from a well-defined" > /usr/include/linux/version.h:7: #error "working kernel version (as > recommended by Linus Torvalds)" > /usr/include/linux/version.h:8: #error "These files are glibc internal > and may not match the" > /usr/include/linux/version.h:9: #error "currently running kernel. They > should only be" > /usr/include/linux/version.h:10: #error "included via other system > header files - user space" > /usr/include/linux/version.h:11: #error "programs should not directly > include <linux/*.h> or" > /usr/include/linux/version.h:12: #error "<asm/*.h> as well." > /usr/include/linux/version.h:13: #error "" > /usr/include/linux/version.h:14: #error "To build kernel modules please > do the following:" > /usr/include/linux/version.h:15: #error "" > /usr/include/linux/version.h:16: #error " o Have the kernel sources > installed" > /usr/include/linux/version.h:17: #error "" > /usr/include/linux/version.h:18: #error " o Make sure that the symbolic > link" > /usr/include/linux/version.h:19: #error " /lib/modules/`uname > -r`/build exists and points to" > /usr/include/linux/version.h:20: #error " the matching kernel source > directory" > /usr/include/linux/version.h:21: #error "" > /usr/include/linux/version.h:22: #error " o Now copy > /boot/vmlinuz.version.h to"/usr/include/linux/version.h:23: #error " > /lib/modules/`uname -r`/build/include/linux/version.h" > /usr/include/linux/version.h:24: #error "" > /usr/include/linux/version.h:25: #error " o When compiling, make sure to > use the following" > /usr/include/linux/version.h:26: #error " compiler option to use the > correct include files:" > /usr/include/linux/version.h:27: #error "" > /usr/include/linux/version.h:28: #error " -I/lib/modules/`uname > -r`/build/include" > /usr/include/linux/version.h:29: #error "" > /usr/include/linux/version.h:30: #error " instead of" > /usr/include/linux/version.h:31: #error "" > /usr/include/linux/version.h:32: #error " -I/usr/include/linux" > /usr/include/linux/version.h:33: #error "" > /usr/include/linux/version.h:34: #error " Please adjust the Makefile > accordingly." > /usr/include/linux/version.h:35: #error > "=======================================================" > make: *** [obj/dac.o] Error 1 > --------------------------------------------------------------------------- >--------------------- > > And now? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |