[driverloader] error: implicit declaration of function 'verify_area'

Hephaistos Klutometis klutometis at gmail.com
Wed Jul 8 21:02:52 EDT 2009


When trying to compile DriverLoader 2.48, I get the following error:

DriverLoader version 2.48
(cd /lib/modules/2.6.30.1/build && make
"DLDR_KERNELSRC=/lib/modules/2.6.30.1/build"
"SUBDIRS+=/usr/lib/driverloader/modules" "CC=gcc" clean)
make[1]: Entering directory `/home/pcdanenb/build/kernel'
make -C /usr/src/linux-2.6.30.1 O=/home/pcdanenb/build/kernel/. clean
make[1]: Leaving directory `/home/pcdanenb/build/kernel'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd
.tmp_versions .tmp_versions
/lib/modules/2.6.30.1/build/.tmp_versions/dldrengine.mod
/lib/modules/2.6.30.1/build/.tmp_versions/dldrpci.mod
/lib/modules/2.6.30.1/build/.tmp_versions/dldrusb.mod Modules.symvers
Module.symvers modules.order Module.markers
(cd /lib/modules/2.6.30.1/build && make
"DLDR_KERNELSRC=/lib/modules/2.6.30.1/build"
"SUBDIRS+=/usr/lib/driverloader/modules" "CC=gcc" modules)
make[1]: Entering directory `/home/pcdanenb/build/kernel'
make -C /usr/src/linux-2.6.30.1 O=/home/pcdanenb/build/kernel/. 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:575:1: warning:
"access_ok" redefined
In file included from /usr/src/linux-2.6.30.1/include/net/checksum.h:25,
                 from /usr/src/linux-2.6.30.1/include/linux/skbuff.h:27,
                 from /usr/src/linux-2.6.30.1/include/linux/if_ether.h:121,
                 from /usr/src/linux-2.6.30.1/include/linux/netdevice.h:29,
                 from /usr/lib/driverloader/modules/GPL/oscompat.h:508,
                 from /usr/lib/driverloader/modules/dldrmod.c:12:
/usr/src/linux-2.6.30.1/arch/x86/include/asm/uaccess.h:80: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:575:1: warning:
"access_ok" redefined
In file included from /usr/src/linux-2.6.30.1/include/net/checksum.h:25,
                 from /usr/src/linux-2.6.30.1/include/linux/skbuff.h:27,
                 from /usr/src/linux-2.6.30.1/include/linux/if_ether.h:121,
                 from /usr/src/linux-2.6.30.1/include/linux/netdevice.h:29,
                 from /usr/lib/driverloader/modules/GPL/oscompat.h:508,
                 from /usr/lib/driverloader/modules/GPL/netndis.c:67:
/usr/src/linux-2.6.30.1/arch/x86/include/asm/uaccess.h:80: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:1982: 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:3546: 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]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pcdanenb/build/kernel'
make: *** [all] Error 2


More information about the driverloader mailing list