Remco | 4 Jul 2006 21:35
Picon

Re: R80 Linux 2.4 gcc 3.4.5 compile problems

> src/zd1211.o src/zd1211.c: In function `zd1211_InitSetup':
> src/zd1211.c:1883: error: `zd1205wext_iw_get_stats' undeclared (first use
> in this function) src/zd1211.c:1883: error: (Each undeclared identifier is
> reported only once src/zd1211.c:1883: error: for each function it appears
> in.)
> make: *** [src/zd1211.o] Error 1

There seems to be another problem in zd1205.c similar to the previous one:

In one place 'zd1205wext_iw_get_stats' gets used under the condition:
#if WIRELESS_EXT > 16
  .get_wireless_stats = &zd1205wext_iw_get_stats,

in another place:
#if WIRELESS_EXT > 12
struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev)

I think the two should match to make it work (and I guess it should also match 
the previous condition in zd1205.h)

I think it's time the author of the change steps up and tells what exactly is 
supposed to happen here.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Gabor Z. Papp | 5 Jul 2006 07:13
Picon

Re: R80 Linux 2.4 gcc 3.4.5 compile problems

* Remco <remco <at> d-compu.dyndns.org>:

| in another place:
| #if WIRELESS_EXT > 12
| struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev)

src/zd1211.c: In function `zd1205wext_iw_get_stats':
src/zd1211.c:1879: error: syntax error before "dev"
src/zd1211.c:1917: error: parameter `iface_desc' is initialized
[...]
src/zd1211.c:1748: warning: 'zd1211_kill_tx_urb' defined but not used
src/zd1211.c:1755: warning: 'zd1211_tx_timeout' defined but not used
make: *** [src/zd1211.o] Error 1

But maybe I'm too lame to apply your changes. My zd1211.c 1876-1877
lines looks like:

#if WIRELESS_EXT > 12
struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev)

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane