[driverloader] dldrinstall.run complie error on SUSE 10.3 - kernel 2.6.22.9-0.4-default (64 bit)

Linuxant support (Jonathan) support at linuxant.com
Mon Oct 15 17:41:20 EDT 2007


Hi,

this is a known compilation problem of DriverLoader 2.38 on SuSE 10.3. A 
new version of DriverLoader will be available soon with that problem fixed.

In the meantime, you can install DriverLoader 2.38 in the generic TAR 
package available at:

http://www.linuxant.com/driverloader/wlan/full/downloads.php#generic

and patch it with the SuSE 10.3 specific patch you can install with the 
'dldrconfig --patch' command in a root shell.

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
support at linuxant.com



Bill Bixby wrote:
> Error compiling module for this new kernel.
> 
> /usr/lib/driverloader/modules/GPL/netndis.c: In 
> function 'netndis_ioctl_getiwrange':
> /usr/lib/driverloader/modules/GPL/netndis.c:1932: error: implicit 
> declaration of function 'verify_area'
> /usr/lib/driverloader/modules/GPL/netndis.c: In 
> function 'prism2_ioctl_set_generic_element':
> /usr/lib/driverloader/modules/GPL/netndis.c:3554: warning: cast from 
> pointer to integer of different size
> make[4]: *** [/usr/lib/driverloader/modules/GPL/netndis.o] Error 1
> make[3]: *** [_module_/usr/lib/driverloader/modules] Error 2
> make[2]: *** [modules] Error 2
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory 
> `/usr/src/linux-2.6.22.9-0.4-obj/x86_64/default'
> make: *** [all] Error 2
> 
> 
> ------------------------------------------------------------------------
> 
> (cd /lib/modules/2.6.22.9-0.4-default/build && make "DLDR_KERNELSRC=/lib/modules/2.6.22.9-0.4-default/build" "M=/usr/lib/driverloader/modules" "CC=gcc" clean)
> make[1]: Entering directory `/usr/src/linux-2.6.22.9-0.4-obj/x86_64/default'
> make -C ../../../linux-2.6.22.9-0.4 O=../linux-2.6.22.9-0.4-obj/x86_64/default clean
> make[1]: Leaving directory `/usr/src/linux-2.6.22.9-0.4-obj/x86_64/default'
> rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.22.9-0.4-default/build/.tmp_versions/driverloader.mod Modules.symvers
> (cd /lib/modules/2.6.22.9-0.4-default/build && make "DLDR_KERNELSRC=/lib/modules/2.6.22.9-0.4-default/build" "M=/usr/lib/driverloader/modules" "CC=gcc" modules)
> make[1]: Entering directory `/usr/src/linux-2.6.22.9-0.4-obj/x86_64/default'
> make -C ../../../linux-2.6.22.9-0.4 O=../linux-2.6.22.9-0.4-obj/x86_64/default modules
>   CC [M]  /usr/lib/driverloader/modules/dldrmod.o
> In file included from /usr/lib/driverloader/modules/dldrmod.c:12:
> /usr/lib/driverloader/modules/GPL/oscompat.h:554:1: warning: "access_ok" redefined
> In file included from /usr/src/linux-2.6.22.9-0.4/include/net/checksum.h:25,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/skbuff.h:27,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/if_ether.h:113,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/netdevice.h:29,
>                  from /usr/lib/driverloader/modules/GPL/oscompat.h:497,
>                  from /usr/lib/driverloader/modules/dldrmod.c:12:
> include2/asm/uaccess.h:48:1: warning: this is the location of the previous definition
>   CC [M]  /usr/lib/driverloader/modules/dldrpci.o
> In file included from /usr/lib/driverloader/modules/dldrpci.c:12:
> /usr/lib/driverloader/modules/GPL/oscompat.h:554:1: warning: "access_ok" redefined
> In file included from /usr/src/linux-2.6.22.9-0.4/include/net/checksum.h:25,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/skbuff.h:27,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/if_ether.h:113,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/netdevice.h:29,
>                  from /usr/lib/driverloader/modules/GPL/oscompat.h:497,
>                  from /usr/lib/driverloader/modules/dldrpci.c:12:
> include2/asm/uaccess.h:48:1: warning: this is the location of the previous definition
>   CC [M]  /usr/lib/driverloader/modules/dldrusb.o
> In file included from /usr/lib/driverloader/modules/dldrusb.c:12:
> /usr/lib/driverloader/modules/GPL/oscompat.h:554:1: warning: "access_ok" redefined
> In file included from /usr/src/linux-2.6.22.9-0.4/include/net/checksum.h:25,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/skbuff.h:27,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/if_ether.h:113,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/netdevice.h:29,
>                  from /usr/lib/driverloader/modules/GPL/oscompat.h:497,
>                  from /usr/lib/driverloader/modules/dldrusb.c:12:
> include2/asm/uaccess.h:48:1: warning: this is the location of the previous definition
>   CC [M]  /usr/lib/driverloader/modules/osusb.o
> In file included from /usr/lib/driverloader/modules/osusb.c:10:
> /usr/lib/driverloader/modules/GPL/oscompat.h:554:1: warning: "access_ok" redefined
> In file included from /usr/src/linux-2.6.22.9-0.4/include/net/checksum.h:25,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/skbuff.h:27,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/if_ether.h:113,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/netdevice.h:29,
>                  from /usr/lib/driverloader/modules/GPL/oscompat.h:497,
>                  from /usr/lib/driverloader/modules/osusb.c:10:
> include2/asm/uaccess.h:48:1: warning: this is the location of the previous definition
>   CC [M]  /usr/lib/driverloader/modules/GPL/netndis.o
> In file included from /usr/lib/driverloader/modules/GPL/netndis.c:67:
> /usr/lib/driverloader/modules/GPL/oscompat.h:554:1: warning: "access_ok" redefined
> In file included from /usr/src/linux-2.6.22.9-0.4/include/net/checksum.h:25,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/skbuff.h:27,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/if_ether.h:113,
>                  from /usr/src/linux-2.6.22.9-0.4/include/linux/netdevice.h:29,
>                  from /usr/lib/driverloader/modules/GPL/oscompat.h:497,
>                  from /usr/lib/driverloader/modules/GPL/netndis.c:67:
> include2/asm/uaccess.h:48:1: warning: this is the location of the previous definition
> /usr/lib/driverloader/modules/GPL/netndis.c: In function 'netndis_ioctl_getiwrange':
> /usr/lib/driverloader/modules/GPL/netndis.c:1932: error: implicit declaration of function 'verify_area'
> /usr/lib/driverloader/modules/GPL/netndis.c: In function 'prism2_ioctl_set_generic_element':
> /usr/lib/driverloader/modules/GPL/netndis.c:3554: warning: cast from pointer to integer of different size
> make[4]: *** [/usr/lib/driverloader/modules/GPL/netndis.o] Error 1
> make[3]: *** [_module_/usr/lib/driverloader/modules] Error 2
> make[2]: *** [modules] Error 2
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.22.9-0.4-obj/x86_64/default'
> make: *** [all] Error 2
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> driverloader mailing list
> driverloader at lists.linuxant.com
> https://www.linuxant.com/mailman/listinfo/driverloader


More information about the driverloader mailing list