* ath6kl build error.
@ 2013-03-08 11:25 nick
2013-03-08 18:39 ` Larry Finger
0 siblings, 1 reply; 5+ messages in thread
From: nick @ 2013-03-08 11:25 UTC (permalink / raw)
To: linux-wireless
Hi,
I'm getting a build error when building ath6kl modules.
include/linux/mmc/sdio_func.h:162:12: error: expected identifier or '(' before numeric constant
the line it's complaining about is like this:
extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
A bit of googling has shown that others have seen the same problem too.
But, I've not seen a fix for it.
Any ideas appreciated.
Regards
Nick Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ath6kl build error.
[not found] <7009019.981362755325047.JavaMail.www@wwinf3702>
@ 2013-03-08 15:12 ` nick
0 siblings, 0 replies; 5+ messages in thread
From: nick @ 2013-03-08 15:12 UTC (permalink / raw)
To: linux-wireless
In fact, it is !
In drivers/include_local/linux/compat-2.6.34.h .
I see this:
#define sdio_set_host_pm_flags(a, b) 0
That's causing my compiler problem.
Regards
Nick
> Message Received: Mar 08 2013, 03:08 PM
> From: nick@nhthomas.freeserve.co.uk
> To: nick@nhthomas.freeserve.co.uk
> Cc:
> Subject: RE: ath6kl build error.
>
> The problem appears to be that sdio_set_host_pm_flags is already defined somewhere else.
Regards
Nick
> Message Received: Mar 08 2013, 11:25 AM
> From: nick@nhthomas.freeserve.co.uk
> To: linux-wireless@vger.kernel.org
> Cc:
> Subject: ath6kl build error.
>
>
> Hi,
>
> I'm getting a build error when building ath6kl modules.
>
> include/linux/mmc/sdio_func.h:162:12: error: expected identifier or '(' before numeric constant
>
> the line it's complaining about is like this:
>
> extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
>
>
> A bit of googling has shown that others have seen the same problem too.
> But, I've not seen a fix for it.
>
> Any ideas appreciated.
>
>
> Regards
>
> Nick Thomas
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ath6kl build error.
2013-03-08 11:25 nick
@ 2013-03-08 18:39 ` Larry Finger
2013-03-09 6:21 ` Kalle Valo
0 siblings, 1 reply; 5+ messages in thread
From: Larry Finger @ 2013-03-08 18:39 UTC (permalink / raw)
To: nick; +Cc: linux-wireless
On 03/08/2013 05:25 AM, nick@nhthomas.freeserve.co.uk wrote:
>
> Hi,
>
> I'm getting a build error when building ath6kl modules.
>
> include/linux/mmc/sdio_func.h:162:12: error: expected identifier or '(' before numeric constant
>
> the line it's complaining about is like this:
>
> extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
>
>
> A bit of googling has shown that others have seen the same problem too.
> But, I've not seen a fix for it.
>
> Any ideas appreciated.
The complete gcc error output would be helpful.
What kernel are you using? A quick check of 3.9-rc1 shows that "struct
sdio_func" is defined in include/linux/mmc/sdio_func.h, which is included from
both drivers/net/wireless/ath/ath6kl/init.c and
drivers/net/wireless/ath/ath6kl/sdio.c. The symbol "mmc_pm_flag_t" is defined in
include/linux/mmc/pm.h, which is included in include/linux/mmc/sdio_func.h. It
seems unlikely that either "extern" or "int" is undefined, thus the error is
hard to understand.
Larry
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ath6kl build error.
2013-03-08 18:39 ` Larry Finger
@ 2013-03-09 6:21 ` Kalle Valo
2013-03-10 14:13 ` nick
0 siblings, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2013-03-09 6:21 UTC (permalink / raw)
To: Larry Finger; +Cc: nick, linux-wireless, ath6kl-devel
Larry Finger <Larry.Finger@lwfinger.net> writes:
> On 03/08/2013 05:25 AM, nick@nhthomas.freeserve.co.uk wrote:
>>
>> I'm getting a build error when building ath6kl modules.
>>
>> include/linux/mmc/sdio_func.h:162:12: error: expected identifier or '(' before numeric constant
>>
>> the line it's complaining about is like this:
>>
>> extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
>>
>>
>> A bit of googling has shown that others have seen the same problem too.
>> But, I've not seen a fix for it.
>>
>> Any ideas appreciated.
>
> The complete gcc error output would be helpful.
>
> What kernel are you using?
I think he's using compat-driver and compiling against some old vendor
kernel.
--
Kalle Valo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ath6kl build error.
2013-03-09 6:21 ` Kalle Valo
@ 2013-03-10 14:13 ` nick
0 siblings, 0 replies; 5+ messages in thread
From: nick @ 2013-03-10 14:13 UTC (permalink / raw)
To: linux-wireless; +Cc: Kalle Valo
Hi,
My compilation problem comes down to this:
In drivers/include_local/linux/compat-2.6.34.h .
I see this:
#define sdio_set_host_pm_flags(a, b) 0
That's causing my compiler problem.
I'm going to have to locally patch the tree to fix this.
Regards
Nick
> Message Received: Mar 09 2013, 06:22 AM
> From: "Kalle Valo"
> To: "Larry Finger"
> Cc: nick@nhthomas.freeserve.co.uk, linux-wireless@vger.kernel.org, ath6kl-devel@qca.qualcomm.com
> Subject: Re: ath6kl build error.
>
> Larry Finger writes:
>
> > On 03/08/2013 05:25 AM, nick@nhthomas.freeserve.co.uk wrote:
> >>
> >> I'm getting a build error when building ath6kl modules.
> >>
> >> include/linux/mmc/sdio_func.h:162:12: error: expected identifier or '(' before numeric constant
> >>
> >> the line it's complaining about is like this:
> >>
> >> extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
> >>
> >>
> >> A bit of googling has shown that others have seen the same problem too.
> >> But, I've not seen a fix for it.
> >>
> >> Any ideas appreciated.
> >
> > The complete gcc error output would be helpful.
> >
> > What kernel are you using?
>
> I think he's using compat-driver and compiling against some old vendor
> kernel.
>
> --
> Kalle Valo
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-03-10 14:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <7009019.981362755325047.JavaMail.www@wwinf3702>
2013-03-08 15:12 ` ath6kl build error nick
2013-03-08 11:25 nick
2013-03-08 18:39 ` Larry Finger
2013-03-09 6:21 ` Kalle Valo
2013-03-10 14:13 ` nick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).