ipw3945 for rawhide and xine

Kurt Bechstein kurt at uniqsys.com
Wed Dec 20 20:25:33 CET 2006


On Wed, 2006-12-20 at 19:54 +0100, Matthias Saou wrote:
> Ralf Ertzinger wrote :
> 
> > Due to changes in the current rawhide kernel, dkms-ipw3945-1.1.2 (as in
> > freshrpms fc6) does not build anymore.
> > 1.1.3 plus patches has been released and does build (and even works
> > afterwards, yay).
> 
> I don't have the hardware handy to test, so please tell me if this
> package works for you before I release it (as I didn't understand for
> sure if the 2.6.20 patches were specific to that kernel version or
> harmless with lower versions...).

I didn't have any luck getting the dkms-ipw3945-1.1.3 to build.  After I
installed it I could go into the /usr/src/ipw3945-1.1.3-1 and type make
and I would get the following outpust hopefully this helps.  This is
from a fc6 box.  Let me know if I can help otherwise.  Thanks.

[root at scooby ipw3945-1.1.3-1]# make
 Using ieee80211 subsystem version API v2 from:

        Base: /lib/modules/2.6.18-1.2868.fc6/build/
        Path: /lib/modules/2.6.18-1.2868.fc6/build/include/

 EXTRA_CFLAGS = -DIPW3945_COMPAT=2 -g -Wa,-adhlms=check_inc.lst

make -C /lib/modules/2.6.18-1.2868.fc6/build M=/usr/src/ipw3945-1.1.3-1
modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2868.fc6-i686'
  CC [M]  /usr/src/ipw3945-1.1.3-1/ipw3945.o
In file included from /usr/src/ipw3945-1.1.3-1/ipw3945.c:68:
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2116: error: field ‘daemon_cmd_work’
has incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2286: error: field ‘up’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2287: error: field ‘down’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2288: error: field ‘activity_timer’
has incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2289: error: field
‘assoc_state_retry’ has incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2290: error: field ‘request_scan’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2291: error: field ‘gather_stats’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2292: error: field ‘scan_check’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2293: error: field ‘rf_kill’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2294: error: field ‘rate_scale_flush’
has incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2295: error: field ‘resume_work’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2296: error: field ‘alive_start’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.h:2299: error: field ‘report_work’ has
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_activity_timer’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:1356: error: dereferencing pointer to
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:1356: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:1356: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:1356: error: invalid use of undefined
type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:1357: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:1357: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_scan_check’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:3451: error: dereferencing pointer to
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:3451: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:3451: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:3451: error: invalid use of undefined
type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:3452: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:3452: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_daemon_cmd’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:4781: error: dereferencing pointer to
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:4781: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:4781: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:4781: error: invalid use of undefined
type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:4782: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:4782: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_gather_stats’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:7168: error: dereferencing pointer to
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:7168: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:7168: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:7168: error: invalid use of undefined
type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:7169: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:7169: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_request_scan’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:8230: error: dereferencing pointer to
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:8230: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:8230: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:8230: error: invalid use of undefined
type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:8231: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:8231: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_report_work’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:9882: error: dereferencing pointer to
incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:9882: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:9882: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:9882: error: invalid use of undefined
type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:9883: warning: type defaults to ‘int’
in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:9883: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function
‘ipw_bg_rate_scale_flush’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:14009: error: dereferencing pointer
to incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:14009: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:14009: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:14009: error: invalid use of
undefined type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:14010: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:14010: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_rf_kill’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15273: error: dereferencing pointer
to incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15273: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15273: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15273: error: invalid use of
undefined type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15274: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15274: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_resume_work’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15400: error: dereferencing pointer
to incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15400: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15400: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15400: error: invalid use of
undefined type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15401: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15401: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function
‘ipw_bg_assoc_state_retry’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15462: error: dereferencing pointer
to incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15462: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15462: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15462: error: invalid use of
undefined type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15463: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15463: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15523:46: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function
‘ipw_setup_deferred_work’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15523: error: ‘INIT_WORK’ undeclared
(first use in this function)
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15523: error: (Each undeclared
identifier is reported only once
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15523: error: for each function it
appears in.)
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15524:58: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15525:52: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15526:58: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15527: error: implicit declaration of
function ‘INIT_DELAYED_WORK’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15532:48: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15533:36: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15535:42: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15536:58: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15537:46: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15538:46: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15539:58: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15553:56: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15558:70: error: macro "INIT_WORK"
requires 3 arguments, but only 2 given
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_alive_start’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15935: error: dereferencing pointer
to incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15935: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15935: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15935: error: invalid use of
undefined type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15936: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:15936: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_up’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16015: error: dereferencing pointer
to incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16015: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16015: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16015: error: invalid use of
undefined type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16016: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16016: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c: In function ‘ipw_bg_down’:
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16136: error: dereferencing pointer
to incomplete type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16136: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16136: warning: initialization from
incompatible pointer type
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16136: error: invalid use of
undefined type ‘struct delayed_work’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16137: warning: type defaults to
‘int’ in declaration of ‘__mptr’
/usr/src/ipw3945-1.1.3-1/ipw3945.c:16137: warning: initialization from
incompatible pointer type
make[2]: *** [/usr/src/ipw3945-1.1.3-1/ipw3945.o] Error 1
make[1]: *** [_module_/usr/src/ipw3945-1.1.3-1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2868.fc6-i686'
make: *** [modules] Error 2


More information about the freshrpms-list mailing list