Hi All,

I didn't know where to post this bug so I'm posting it here. Apologies
in advance if this is not the appropriate forum or if you're already
aware of this bug.

I encountered several problems building the speedbundle for Fedora Core
1. Firstly, several files were in the wrong place, in particular
sonet.h. I believe this is a fault in the source code and I quickly
googled a solution. Once I copied the header to the correct place in the
linux source code, a simple make worked. However, when I attempted to do
a 'make install' I encountered the following bug:

--
> sudo make install
cd kernel_module && make install
make[1]: Entering directory
`/home/ricardo/speedbundle-1.0/kernel_module'
install -d /lib/modules/2.4.22-1.2115.nptlsmp 2.4.22-1.2115.nptlBOOT
2.4.22-1.2115.nptlbigmem 2.4.22-1.2115.nptl/kernel/drivers/usb
install -c speedtch.o /lib/modules/2.4.22-1.2115.nptlsmp
2.4.22-1.2115.nptlBOOT 2.4.22-1.2115.nptlbigmem
2.4.22-1.2115.nptl/kernel/drivers/usb
install: `/lib/modules/2.4.22-1.2115.nptlsmp' is a directory
install: `2.4.22-1.2115.nptlBOOT' is a directory
install: `2.4.22-1.2115.nptlbigmem' is a directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/ricardo/speedbundle-1.0/kernel_module'
make: *** [install] Error 2
--

I finally managed to locate the problem in the kernel_mode Makefile
(this fault is also extant in the regular speedtouch 1.7 kernel driver).
The problem is the following line:

VERSION := $(shell awk -F\" '/REL/ {print $$2}' $(VERSIONFILE))

Which, in Fedora, spits out there version strings. This problem was
quickly resolved by hard-coding the kernel version in the Makefile, as
so:

VERSION := 2.4.22-1.2115.nptl

Your excellent speedtouch driver is now working very satisfactorily.
Thanks for all the good work.

Regards...

-- 
Ricardo Gladwell
"They that can give up essential liberty to obtain a
       little temporary safety deserve neither liberty nor safety."
             - Benjamin Franklin



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to