All of lore.kernel.org
 help / color / mirror / Atom feed
* building compat-wireless-2011-04-23 fails with 2.6.38.4
@ 2011-04-23 22:29 Andreas Hartmann
  2011-04-24  0:28 ` Hauke Mehrtens
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Hartmann @ 2011-04-23 22:29 UTC (permalink / raw)
  To: linux-wireless

Hello,

I got the following erros compiling compat-wireless-2011-04-23:

CC [M]  /Downloads/compat-wireless-2011-04-23/compat/main.o
In file included from
/Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.h:34:0,from
<command-line>:0:
/Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.39.h:103:32:
error: redefinition of ‘kstrtoul’
/usr/src/linux-2.6.38.4-1/include/linux/kernel.h:197:32: note: previous
definition of ‘kstrtoul’ was here
/Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.39.h:116:32:
error: redefinition of ‘kstrtol’
/usr/src/linux-2.6.38.4-1/include/linux/kernel.h:210:32: note: previous
definition of ‘kstrtol’ was here
/Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.39.h:132:32:
error: redefinition of ‘kstrtou64’
/usr/src/linux-2.6.38.4-1/include/linux/kernel.h:226:32: note: previous
definition of ‘kstrtou64’ was here
/Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.39.h:137:32:
error: redefinition of ‘kstrtos64’
/usr/src/linux-2.6.38.4-1/include/linux/kernel.h:231:32: note: previous
definition of ‘kstrtos64’ was here
/Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.39.h:142:32:
error: redefinition of ‘kstrtou32’
/usr/src/linux-2.6.38.4-1/include/linux/kernel.h:236:32: note: previous
definition of ‘kstrtou32’ was here
/Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.39.h:147:32:
error: redefinition of ‘kstrtos32’
/usr/src/linux-2.6.38.4-1/include/linux/kernel.h:241:32: note: previous
definition of ‘kstrtos32’ was here
make[5]: *** [/Downloads/compat-wireless-2011-04-23/compat/main.o] Fehler 1
make[4]: *** [/Downloads/compat-wireless-2011-04-23/compat] Fehler 2


Could you please take a look at this problem?


Thank you,
Andreas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: building compat-wireless-2011-04-23 fails with 2.6.38.4
  2011-04-23 22:29 building compat-wireless-2011-04-23 fails with 2.6.38.4 Andreas Hartmann
@ 2011-04-24  0:28 ` Hauke Mehrtens
  0 siblings, 0 replies; 2+ messages in thread
From: Hauke Mehrtens @ 2011-04-24  0:28 UTC (permalink / raw)
  To: Andreas Hartmann; +Cc: linux-wireless

On 04/24/2011 12:29 AM, Andreas Hartmann wrote:
> Hello,
> 
> I got the following erros compiling compat-wireless-2011-04-23:
> 
> CC [M]  /Downloads/compat-wireless-2011-04-23/compat/main.o
> In file included from
> /Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.h:34:0,from
> <command-line>:0:
> /Downloads/compat-wireless-2011-04-23/include/linux/compat-2.6.39.h:103:32:
> error: redefinition of ‘kstrtoul’
> /usr/src/linux-2.6.38.4-1/include/linux/kernel.h:197:32: note: previous
> definition of ‘kstrtoul’ was here
...
> 
> 
> Could you please take a look at this problem?
> 
> 
> Thank you,
> Andreas

Hi Andreas,

in kernel 2.6.38.4 kstrto* was integrated into it, but compat-wireless
assumes that it is not there, because kernel <= 2.6.38.3 do not have it.
This should be fixed in compat-wireless, but there are some people with
older versions of the 2.6.38 kernel series out there like the users of
Ubuntu Natty 11.04. It will result in many bug reports if
compat-wireless does not work with the recent Ubuntu version. I will try
to find a solution to make it work with all versions of 2.6.38 tomorrow.

Hauke

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-24  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-23 22:29 building compat-wireless-2011-04-23 fails with 2.6.38.4 Andreas Hartmann
2011-04-24  0:28 ` Hauke Mehrtens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.