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

Linuxant Support (Jonathan) support at linuxant.com
Thu Jul 9 13:56:39 EDT 2009


Hi,

we can't reproduce this behavior on our development systems. If you did 
build your own kernel and added patch(es) to it, please try without them 
to see if there is a difference. If you are using a vanilla 2.6.30.1 
kernel and you still have the same problems, please send us the .config 
(kernel configuration) file you are using.

Regards,


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


Hephaistos Klutometis wrote:
> 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
> _______________________________________________
> driverloader mailing list
> driverloader at lists.linuxant.com
> https://www.linuxant.com/mailman/listinfo/driverloader


More information about the driverloader mailing list