From: Ouyang <ilhebe999@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: make module error
Date: Mon, 25 Jun 2012 01:59:09 +0000 (UTC) [thread overview]
Message-ID: <loom.20120625T030454-300@post.gmane.org> (raw)
kernel version:3.4.3-1.fc17.x86_64
I had already posted this problem several times and some specialist gave me some
suggestions, thanks to them. the problems is still not solved even though I
change my fedora 16 to fedora 17.
After I install ncurses-devel,copy a working kernel configuration of your linux
distro to the top level of the wireless-testing tree ,I used the command
menuconfig, but I did not change any setting of the menuconfig, just the default
value, and then , "make modules': and it comes with:
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:638:2: error: size of unnamed array is negative
include/net/mac80211.h:643: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.
next reply other threads:[~2012-06-25 1:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 1:59 Ouyang [this message]
2012-06-25 2:05 ` make module error Larry Finger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20120625T030454-300@post.gmane.org \
--to=ilhebe999@gmail.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).