Hi Mike,

Could you tell us your kernel version?

The KGDBOE didn't  be added to lib/Kconfig.kgdb by default.

I am wondering where your KGDBOE come from.  :-)


Thanks,
Dongdong

On Wed, May 26, 2010 at 4:07 AM, Mike Frysinger <[email protected]> wrote:
> From: Sonic Zhang <[email protected]>
>
> If we try to enable KGDBOE but NET_POLL_CONTROLLER is disabled, we hit:
> net/core/netpoll.c: In function 'netpoll_poll':
> net/core/netpoll.c:184: error: 'const struct net_device_ops' has no member 
> named 'ndo_poll_controller'
> net/core/netpoll.c:188: error: 'const struct net_device_ops' has no member 
> named 'ndo_poll_controller'
> net/core/netpoll.c: In function 'netpoll_setup':
> net/core/netpoll.c:707: error: 'const struct net_device_ops' has no member 
> named 'ndo_poll_controller'
> make[2]: *** [net/core/netpoll.o] Error 1
>
> Signed-off-by: Sonic Zhang <[email protected]>
> Signed-off-by: Mike Frysinger <[email protected]>
> ---
>  lib/Kconfig.kgdb |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb
> index fe5010b..1d9909e 100644
> --- a/lib/Kconfig.kgdb
> +++ b/lib/Kconfig.kgdb
> @@ -32,6 +32,7 @@ config KGDBOE
>        depends on KGDB
>        select NETPOLL
>        select NETPOLL_TRAP
> +       select NET_POLL_CONTROLLER
>        help
>          Uses the NETPOLL API to communicate with the host GDB via UDP.
>          In order for this to work, the ethernet interface specified must
> --
> 1.7.1
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Kgdb-bugreport mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
>

------------------------------------------------------------------------------

_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to