Discussion:
cdc_ether.c:113: error: implicit declaration of function declaration of function ‘is_wireless’
gregory mitchell
2008-07-06 03:10:43 UTC
Permalink
Hi,

I'm having this problem trying to compile usb-rndis-lite from svn:

cdc_ether.c:113: error: implicit declaration of function declaration of
function 'is_wireless'

Compiling for a pxa270 CPU running debian armel, kernel 2.6.24, but I've
noticed that other people have had this problem too, google turns up the
following links, but no workarounds/solutions.

http://forum.xda-developers.com/showthread.php?t=340747&page=4
http://www.nabble.com/WM5-MotorolaQ-on-Debian-Lenny-td17748372.html
http://article.gmane.org/gmane.comp.handhelds.ipaq.synce.general/2415


Any assistance would be appreciated....
John Carr
2008-07-06 14:46:49 UTC
Permalink
I know that bug well. I actually consider it a feature, because it makes it
clear that you have the wrong kernel settings. Otherwise cdc_ether compiles
without windows mobile and everything else fails silently.

Basically, there is a section like this:

#if defined(CONFIG_USB_NET_RNDIS_HOST) ||
defined(CONFIG_USB_NET_RNDIS_HOST_MODULE)
// you need this
#else
// but you're getting this
#endif

So if you enable CONFIG_USB_RNDIS_HOST_MODULE in your kernel config, this
should build OK. This is default on most distros, with Gentoo the old
exception i'm so far aware of. I guess Debian armel has a smaller kernel by
default?

We could just remove the #ifdef, but we are trying to stay somewhat in sync
with the kernel.

John
Post by gregory mitchell
Hi,
cdc_ether.c:113: error: implicit declaration of function declaration of
function 'is_wireless'
Compiling for a pxa270 CPU running debian armel, kernel 2.6.24, but I've
noticed that other people have had this problem too, google turns up the
following links, but no workarounds/solutions.
http://forum.xda-developers.com/showthread.php?t=340747&page=4
http://www.nabble.com/WM5-MotorolaQ-on-Debian-Lenny-td17748372.html
http://article.gmane.org/gmane.comp.handhelds.ipaq.synce.general/2415
Any assistance would be appreciated....
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
Loading...