Skip to contentSkip to conversation

Error building ndiswrapper-1.0rc1 against 2.6.12-rc1-mm2 sources

DISCUSSION Miles Lane 2 participants 2 messages Mar 25, 2005

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

Hi,

Was this change intentional or accidental? I have successfully built ndiswrapper-1.0rc1 with the other recent kernel trees.

/usr/src/ndiswrapper-1.0rc1/driver/wrapper.c: In function `wrapper_init':
/usr/src/ndiswrapper-1.0rc1/driver/wrapper.c:1485: warning: passing arg 4 of `call_usermodehelper' makes pointer from integer without a cast
/usr/src/ndiswrapper-1.0rc1/driver/wrapper.c:1485: error: too few arguments to function `call_usermodehelper'
make[3]: *** [/usr/src/ndiswrapper-1.0rc1/driver/wrapper.o] Error 1

#1 lore raw
Quoted 7 lines · Miles Lane

Hi,

Was this change intentional or accidental? I have successfully built ndiswrapper-1.0rc1 with the other recent kernel trees.

warning: passing arg 4 of `call_usermodehelper' makes pointer from integer without a cast
error: too few arguments to function `call_usermodehelper'

call_usermodehelper was extended with a parameters to allow a keyring environment to be passed. As this is -mm, who knows whether the patch will make it into mainline or not. I suspect it will, though, due to its utility at which point external modules will need to be converted.

Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$ L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r !y?(-) ------END GEEK CODE BLOCK------