All of lore.kernel.org
 help / color / mirror / Atom feed
* please help me, fedora make modules error
@ 2012-06-22 21:04 Xun Ouyang
  2012-06-22 22:01 ` Larry Finger
  0 siblings, 1 reply; 2+ messages in thread
From: Xun Ouyang @ 2012-06-22 21:04 UTC (permalink / raw)
  To: linux-wireless

After I install ncurses-devel, I used the command menuconfig, but I did not 
change anything, just the default value, and then , "make modules'


[root@linux123 wireless-testing]# make modules
make[1]: Nothing to be done for `all'.
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC [M]  drivers/net/wireless/at76c50x-usb.o
In file included from drivers/net/wireless/at76c50x-usb.c:46:0:
include/net/mac80211.h: In function ‘ieee80211_tx_info_clear_status’:
include/net/mac80211.h:639:2: error: size of unnamed array is negative
include/net/mac80211.h:644:2: error: size of unnamed array is negative
make[3]: *** [drivers/net/wireless/at76c50x-usb.o] Error 1
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

The content in line 639 and 644 are all:like 
BUILD_BUG_ON(offsetof(struct XXXXXXX) !=XXX);

If I comment this line out, it "seems" this problem fixed.
And I tried to make modules again, the same error(BUILD_BUG_ON
(offsetof(struct XXXXXXX) !=XXX);)  came out but different
file, different lines.And repeatedly.
I do not think there are so many error that need to be fixed since I
just change a few lines of codes which seems unrelated to theses errors.

  
I really do not know what to do.Anyone can help me? Thank you so much.


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

* Re: please help me, fedora make modules error
  2012-06-22 21:04 please help me, fedora make modules error Xun Ouyang
@ 2012-06-22 22:01 ` Larry Finger
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Finger @ 2012-06-22 22:01 UTC (permalink / raw)
  To: Xun Ouyang; +Cc: linux-wireless

On 06/22/2012 04:04 PM, Xun Ouyang wrote:
> After I install ncurses-devel, I used the command menuconfig, but I did not
> change anything, just the default value, and then , "make modules'
>
>
> [root@linux123 wireless-testing]# make modules
> make[1]: Nothing to be done for `all'.
>    CHK     include/linux/version.h
>    CHK     include/generated/utsrelease.h
>    CALL    scripts/checksyscalls.sh
>    CC [M]  drivers/net/wireless/at76c50x-usb.o
> In file included from drivers/net/wireless/at76c50x-usb.c:46:0:
> include/net/mac80211.h: In function ‘ieee80211_tx_info_clear_status’:
> include/net/mac80211.h:639:2: error: size of unnamed array is negative
> include/net/mac80211.h:644:2: error: size of unnamed array is negative
> make[3]: *** [drivers/net/wireless/at76c50x-usb.o] Error 1
> make[2]: *** [drivers/net/wireless] Error 2
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2
>
> The content in line 639 and 644 are all:like
> BUILD_BUG_ON(offsetof(struct XXXXXXX) !=XXX);
>
> If I comment this line out, it "seems" this problem fixed.
> And I tried to make modules again, the same error(BUILD_BUG_ON
> (offsetof(struct XXXXXXX) !=XXX);)  came out but different
> file, different lines.And repeatedly.
> I do not think there are so many error that need to be fixed since I
> just change a few lines of codes which seems unrelated to theses errors.
>
>
> I really do not know what to do.Anyone can help me? Thank you so much.

What kernel are you using?

This problem is fixed in the latest version from wireless-testing.

Larry


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

end of thread, other threads:[~2012-06-22 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 21:04 please help me, fedora make modules error Xun Ouyang
2012-06-22 22:01 ` Larry Finger

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.