hi all,
i've got fedora core 1 running, everything works except for my el cheapo usb-adsl modem.
I know i should replace that, but not possible for a while, so i want another solution
I am no expert, but am getting there through the man pages
since the open source driver was written for Mandrake kernel 2.4.19 and fedora core uses 2.4.22 it does not work and complaines it needs the older kernel
degrading to an older kernel seems as not the way2go
comes from: olitec.com/pub/USBADSLV151-1008fr.tar.gz
so i decide to download the closed source driver for kernel 2.4.20 and up, adapted it as stated (in dutch) on the site and run make...
here goes wrong, who can help me out?
this is what i did, i untarred the file to my desktop
changed the code in the files according to the help files, then went there:
cd /root/Desktop/USBADSL
then i did:
make clean
reply:
ln: `/lib/modules/2.4.22-1.2115.nptl/build': File exists
rm -f *.o
i knew this was going wrong, but did make anyway:
[root@localhost USBADSL]# make
ln: `/lib/modules/2.4.22-1.2115.nptl/build': File exists
gcc -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686 -march=i686 -DMODULE -D__KERNEL__ -DLINUX -I/lib/modules/`uname -r`/build/include -c usbsndcm.c -o usbsndcm.o
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/skbuff.h:19,
from hasbani.h:32,
from usbsndcm.c:20:
/usr/include/linux/timex.h:56: error: syntax error before "and"
......etc....
usbsndcm.c:416: error: `DeviceObject' undeclared (first use in this function)
usbsndcm.c: At top level:
hasbani.h:86: error: storage size of `cmd_recv_queue_head' isn't known
make: *** [usbsndcm.o] Error 1
i checked the pointer of the build module, because this sounds like wrongly composed kernel info, and i think that's a very small thing
[root@localhost root]# ls -all /lib/modules/2.4.22-1.2115.nptl/
totaal 3216
drwxr-xr-x 4 root root 4096 mrt 4 14:24 .
drwxr-xr-x 3 root root 4096 mrt 4 14:24 ..
lrwxrwxrwx 1 root root 41 mrt 4 14:24 build -> ../../../usr/src/linux-2.4.22-1.2115.nptl
drwxr-xr-x 8 root root 4096 mrt 4 14:24 kernel
-rw-r--r-- 1 root root 129404 mrt 16 20:09 modules.dep
-rw-r--r-- 1 root root 31 mrt 16 20:09 modules.generic_string
-rw-r--r-- 1 root root 443 mrt 16 20:09 modules.ieee1394map
-rw-r--r-- 1 root root 8330 mrt 16 20:09 modules.isapnpmap
-rw-r--r-- 1 root root 29 mrt 16 20:09 modules.parportmap
-rw-r--r-- 1 root root 70953 mrt 16 20:09 modules.pcimap
-rw-r--r-- 1 root root 24 mrt 16 20:09 modules.pnpbiosmap
-rw-r--r-- 1 root root 158673 mrt 16 20:09 modules.usbmap
drwxr-xr-x 5 root root 4096 mrt 4 14:24 unsupported
-rwxr-xr-x 1 root root 2865204 okt 29 21:53 vmlinux
pointer ok, so i'm out of ideas, who knows what to do?
Maarten