#2071: Declaration error while issuing "make" command
----------------------------+-----------------------------------------------
Reporter: anonymous | Owner:
Type: defect | Status: closed
Priority: major | Milestone:
Component: ath9k | Version: trunk
Resolution: invalid | Keywords:
Patch_attached: 1 |
----------------------------+-----------------------------------------------
Changes (by mrenzmann):
* status: new => closed
* component: madwifi: other => ath9k
* resolution: => invalid
Old description:
> [EMAIL PROTECTED] ath9k]# make
> make -C /lib/modules/2.6.21-1.3194.fc7/build M=/root/ath9k modules
> make[1]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
> CC [M] /root/ath9k/ksrc/hw.o
> /root/ath9k/ksrc/hw.c: In function ‘ath9k_hw_init_macaddr’:
> /root/ath9k/ksrc/hw.c:1313: warning: implicit declaration of function
> ‘DECLARE_MAC_BUF’
> /root/ath9k/ksrc/hw.c:1313: error: ‘mac’ undeclared (first use in this
> function)
> /root/ath9k/ksrc/hw.c:1313: error: (Each undeclared identifier is
> reported only once
> /root/ath9k/ksrc/hw.c:1313: error: for each function it appears in.)
> /root/ath9k/ksrc/hw.c:1323: warning: implicit declaration of function
> ‘print_mac’
> /root/ath9k/ksrc/hw.c:1323: warning: format ‘%s’ expects type ‘char *’,
> but argument 3 has type ‘int’
> make[3]: *** [/root/ath9k/ksrc/hw.o] Error 1
> make[2]: *** [/root/ath9k/ksrc] Error 2
> make[1]: *** [_module_/root/ath9k] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
> make: *** [modules] Error 2
New description:
{{{
[EMAIL PROTECTED] ath9k]# make
make -C /lib/modules/2.6.21-1.3194.fc7/build M=/root/ath9k modules
make[1]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
CC [M] /root/ath9k/ksrc/hw.o
/root/ath9k/ksrc/hw.c: In function ‘ath9k_hw_init_macaddr’:
/root/ath9k/ksrc/hw.c:1313: warning: implicit declaration of function
‘DECLARE_MAC_BUF’
/root/ath9k/ksrc/hw.c:1313: error: ‘mac’ undeclared (first use in this
function)
/root/ath9k/ksrc/hw.c:1313: error: (Each undeclared identifier is reported
only once
/root/ath9k/ksrc/hw.c:1313: error: for each function it appears in.)
/root/ath9k/ksrc/hw.c:1323: warning: implicit declaration of function
‘print_mac’
/root/ath9k/ksrc/hw.c:1323: warning: format ‘%s’ expects type ‘char *’,
but argument 3 has type ‘int’
make[3]: *** [/root/ath9k/ksrc/hw.o] Error 1
make[2]: *** [/root/ath9k/ksrc] Error 2
make[1]: *** [_module_/root/ath9k] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [modules] Error 2
}}}
Comment:
ath9k does not support kernel 2.6.21.
--
Ticket URL: <https://madwifi.org/ticket/2071#comment:1>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets