[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
building the module... again...
From: Maciej Brosz ####@####.#### Date: 27 Apr 2005 11:44:41 +0100 Message-Id: <426F6CF8.5000106@post.pl> Dear ! I used SuSE 9.0 (2.4.21) and scanner Plustek P12 (parport) and everything worked perfectly - even better than ...with windows, but... I switch to Mandrake 2005 Lim. Edtition. 2.6.11-6mdk, AMD Athlon(tm) XP 2400+ gcc (GCC) 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk) Sane packages: libsane1-1.0.15-7mdk xsane-0.97-1mdk sane-backends-1.0.15-7mdk I do have proper kernel source package installed, with proper symbolic link "touched": lrwxrwxrwx 1 root root 17 kwi 23 11:29 linux -> linux-2.6.11-6mdk/ drwxr-xr-x 21 root root 696 kwi 23 11:29 linux-2.6.11-6mdk/ And I try to build the kernel modul pt_drv.ko: In Mandrake it looks like: [kajtek@neverhood plustek]$ pwd /usr/share/doc/sane-backends-1.0.15/plustek ...and [kajtek@neverhood plustek]$ ls build/ MakeModule.sh Plustek-USB.changes FAQ Plustek-PARPORT.changes Plustek-USB-TODO.txt Makefile.kernel24 Plustek-PARPORT-TODO.txt Plustek-USB.txt Makefile.kernel26 Plustek-PARPORT.txt and [kajtek@neverhood plustek]$ sudo sh MakeModule.sh Password: This script will try and build a suitable kernel-module for your system. If you'd like to make the module WITH debug output, restart this script with as follows: ./MakeModule.sh DEBUG=y Press <ENTER> to continue or <CTRL><C> to cancel. Check for root - done. Check for kernelversion: Using makefile for kernel 2.6.x Build-directory: /usr/share/doc/sane-backends-1.0.15/plustek/build Removing build-directory - done. Creating build-directory - done. Linking source files...ls: /usr/share/doc/sane-backends-1.0.15/plustek/../../backend/plustek-pp_*.c: No such file or directory ls: /usr/share/doc/sane-backends-1.0.15/plustek/../../backend/plustek-pp_*.h: No such file or directory - done. Copying Makefile to build-directory - done. Making the module... make: Entering directory `/usr/src/linux-2.6.11-6mdk' make[1]: *** Brak reguł do zrobienia obiektu `/usr/share/doc/sane-backends-1.0.15/plustek/build/plustek-pp_dac.s', wymaganego przez `/usr/share/doc/sane-backends-1.0.15/plustek/build/plustek-pp_dac.o'. Stop. make: *** [_module_/usr/share/doc/sane-backends-1.0.15/plustek/build] Błąd 2 make: Leaving directory `/usr/src/linux-2.6.11-6mdk' There were some build errors... Could You send me any prompt what to do with this? I am pretty familiar with linux but not with "coding, programming", I am a sociologist :) On SuSE 9.0, Mandrake 9.0-9.2 based on 2.4.xx kernels I didn't have any troubles with building proper module, but on 2.6.xx I quit :( Best regards, Maciej. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: building the module... again...
From: Gerhard Jaeger ####@####.#### Date: 27 Apr 2005 19:42:34 +0100 Message-Id: <200504272056.08923.gerhard@gjaeger.de> Hi, please see my answer to the topic: "Don't know how to build te module" What you see is a gcc-3.4.3 problem. Ciao, Gerhard On Wednesday 27 April 2005 12:44, Maciej Brosz wrote: > Dear ! > > I used SuSE 9.0 (2.4.21) and scanner Plustek P12 (parport) and everything > worked perfectly - even better than ...with windows, but... > > I switch to Mandrake 2005 Lim. Edtition. > > 2.6.11-6mdk, AMD Athlon(tm) XP 2400+ > gcc (GCC) 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk) > > Sane packages: > libsane1-1.0.15-7mdk > xsane-0.97-1mdk > sane-backends-1.0.15-7mdk > > I do have proper kernel source package installed, with proper symbolic link > "touched": > > lrwxrwxrwx 1 root root 17 kwi 23 11:29 linux -> linux-2.6.11-6mdk/ > drwxr-xr-x 21 root root 696 kwi 23 11:29 linux-2.6.11-6mdk/ > > > And I try to build the kernel modul pt_drv.ko: > > In Mandrake it looks like: > > [kajtek@neverhood plustek]$ pwd > /usr/share/doc/sane-backends-1.0.15/plustek > > ...and > > [kajtek@neverhood plustek]$ ls > build/ MakeModule.sh Plustek-USB.changes > FAQ Plustek-PARPORT.changes Plustek-USB-TODO.txt > Makefile.kernel24 Plustek-PARPORT-TODO.txt Plustek-USB.txt > Makefile.kernel26 Plustek-PARPORT.txt > > and > > [kajtek@neverhood plustek]$ sudo sh MakeModule.sh > Password: > This script will try and build a suitable kernel-module for your system. > If you'd like to make the module WITH debug output, restart this script > with as follows: > ./MakeModule.sh DEBUG=y > Press <ENTER> to continue or <CTRL><C> to cancel. > > Check for root - done. > > Check for kernelversion: > Using makefile for kernel 2.6.x > Build-directory: > /usr/share/doc/sane-backends-1.0.15/plustek/build > Removing build-directory - done. > Creating build-directory - done. > > Linking source files...ls: > /usr/share/doc/sane-backends-1.0.15/plustek/../../backend/plustek-pp_*.c: > No such file or directory > ls: > /usr/share/doc/sane-backends-1.0.15/plustek/../../backend/plustek-pp_*.h: > No such file or directory > - done. > Copying Makefile to build-directory - done. > Making the module... > make: Entering directory `/usr/src/linux-2.6.11-6mdk' > make[1]: *** Brak reguł do zrobienia obiektu > `/usr/share/doc/sane-backends-1.0.15/plustek/build/plustek-pp_dac.s', > wymaganego przez > `/usr/share/doc/sane-backends-1.0.15/plustek/build/plustek-pp_dac.o'. Stop. > make: *** [_module_/usr/share/doc/sane-backends-1.0.15/plustek/build] Błąd > 2 make: Leaving directory `/usr/src/linux-2.6.11-6mdk' > There were some build errors... > > Could You send me any prompt what to do with this? > I am pretty familiar with linux but not with "coding, programming", I am a > sociologist :) > > On SuSE 9.0, Mandrake 9.0-9.2 based on 2.4.xx kernels I didn't have any > troubles with building proper module, but on 2.6.xx I quit :( > > Best regards, > Maciej. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |