2005-03-25 04:15:38

by Miles Lane

[permalink] [raw]
Subject: Error building ndiswrapper-1.0rc1 against 2.6.12-rc1-mm2 sources

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


2005-03-25 04:31:51

by Kyle Moffett

[permalink] [raw]
Subject: Re: Error building ndiswrapper-1.0rc1 against 2.6.12-rc1-mm2 sources

On Mar 24, 2005, at 23:15, Miles Lane wrote:
> 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------