linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* make moduels tx.c error
@ 2012-06-17 21:45 Ouyang
  2012-06-18  6:05 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Ouyang @ 2012-06-17 21:45 UTC (permalink / raw)
  To: linux-wireless

 Anyone can tell me how to figure this problem? I do not have much experience on
linux kernel compiling.
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]  net/mac80211/tx.o
net/mac80211/tx.c: In function ‘ieee80211_tx’:
net/mac80211/tx.c:1327:2: error: implicit declaration of function
‘ieee80211_tx_prepare’ [-W
net/mac80211/tx.c: At top level:
net/mac80211/tx.c:1601:1: error: conflicting types for ‘ieee80211_tx_prepare’
net/mac80211/tx.c:1327:16: note: previous implicit declaration of
‘ieee80211_tx_prepare’ was
net/mac80211/tx.c: In function ‘ieee80211_tx_prepare’:
net/mac80211/tx.c:1643:7: warning: passing argument 1 of
‘__ieee80211_parse_tx_radiotap’ fro
net/mac80211/tx.c:1516:13: note: expected ‘struct sk_buff *’ but argument is of
type ‘struct
net/mac80211/tx.c:1643:7: error: too many arguments to function
‘__ieee80211_parse_tx_radiot
net/mac80211/tx.c:1516:13: note: declared here
net/mac80211/tx.c: In function ‘ieee80211_monitor_start_xmit’:
net/mac80211/tx.c:1790:2: error: implicit declaration of function
‘ieee80211_parse_tx_radiot
cc1: some warnings being treated as errors
make[2]: *** [net/mac80211/tx.o] Error 1
make[1]: *** [net/mac80211] Error 2
make: *** [net] Error 2



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

* Re: make moduels tx.c error
  2012-06-17 21:45 make moduels tx.c error Ouyang
@ 2012-06-18  6:05 ` Randy Dunlap
  2012-06-18 18:03   ` Ouyang
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2012-06-18  6:05 UTC (permalink / raw)
  To: Ouyang; +Cc: linux-wireless

On 06/17/2012 02:45 PM, Ouyang wrote:

>  Anyone can tell me how to figure this problem? I do not have much experience on
> linux kernel compiling.
> 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]  net/mac80211/tx.o
> net/mac80211/tx.c: In function ‘ieee80211_tx’:
> net/mac80211/tx.c:1327:2: error: implicit declaration of function
> ‘ieee80211_tx_prepare’ [-W
> net/mac80211/tx.c: At top level:
> net/mac80211/tx.c:1601:1: error: conflicting types for ‘ieee80211_tx_prepare’
> net/mac80211/tx.c:1327:16: note: previous implicit declaration of
> ‘ieee80211_tx_prepare’ was
> net/mac80211/tx.c: In function ‘ieee80211_tx_prepare’:
> net/mac80211/tx.c:1643:7: warning: passing argument 1 of
> ‘__ieee80211_parse_tx_radiotap’ fro
> net/mac80211/tx.c:1516:13: note: expected ‘struct sk_buff *’ but argument is of
> type ‘struct
> net/mac80211/tx.c:1643:7: error: too many arguments to function
> ‘__ieee80211_parse_tx_radiot
> net/mac80211/tx.c:1516:13: note: declared here
> net/mac80211/tx.c: In function ‘ieee80211_monitor_start_xmit’:
> net/mac80211/tx.c:1790:2: error: implicit declaration of function
> ‘ieee80211_parse_tx_radiot
> cc1: some warnings being treated as errors
> make[2]: *** [net/mac80211/tx.o] Error 1
> make[1]: *** [net/mac80211] Error 2
> make: *** [net] Error 2



What kernel version is this?

What commands did you use to do the build?

thanks,

-- 
~Randy

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

* Re: make moduels tx.c error
  2012-06-18  6:05 ` Randy Dunlap
@ 2012-06-18 18:03   ` Ouyang
  0 siblings, 0 replies; 3+ messages in thread
From: Ouyang @ 2012-06-18 18:03 UTC (permalink / raw)
  To: linux-wireless

Randy Dunlap <rdunlap@...> writes:

> 
> On 06/17/2012 02:45 PM, Ouyang wrote:
> 
> >  Anyone can tell me how to figure this problem? I do not have much 
experience on
> > linux kernel compiling.
> > 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]  net/mac80211/tx.o
> > net/mac80211/tx.c: In function ‘ieee80211_tx’:
> > net/mac80211/tx.c:1327:2: error: implicit declaration of function
> > ‘ieee80211_tx_prepare’ [-W
> > net/mac80211/tx.c: At top level:
> > net/mac80211/tx.c:1601:1: error: conflicting types for 
‘ieee80211_tx_prepare’
> > net/mac80211/tx.c:1327:16: note: previous implicit declaration of
> > ‘ieee80211_tx_prepare’ was
> > net/mac80211/tx.c: In function ‘ieee80211_tx_prepare’:
> > net/mac80211/tx.c:1643:7: warning: passing argument 1 of
> > ‘__ieee80211_parse_tx_radiotap’ fro
> > net/mac80211/tx.c:1516:13: note: expected ‘struct sk_buff *’ but argument 
is of
> > type ‘struct
> > net/mac80211/tx.c:1643:7: error: too many arguments to function
> > ‘__ieee80211_parse_tx_radiot
> > net/mac80211/tx.c:1516:13: note: declared here
> > net/mac80211/tx.c: In function ‘ieee80211_monitor_start_xmit’:
> > net/mac80211/tx.c:1790:2: error: implicit declaration of function
> > ‘ieee80211_parse_tx_radiot
> > cc1: some warnings being treated as errors
> > make[2]: *** [net/mac80211/tx.o] Error 1
> > make[1]: *** [net/mac80211] Error 2
> > make: *** [net] Error 2
> 
> What kernel version is this?
> 
> What commands did you use to do the build?
> 
> thanks,
> 

 The version of the kernel is 3.1.0-7.fc16.x86_64, I just add a few codes to 
the functions and it could not compile successfully,.
 After I installed ncurses-devel, I used the command "make menuconfig", but I 
did not change anything, just the default value. and then, "make modules". It 
goes as showed previously.

 Thank you so much for the advice and I will take it seriously even though 
the problems are still not solved


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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-17 21:45 make moduels tx.c error Ouyang
2012-06-18  6:05 ` Randy Dunlap
2012-06-18 18:03   ` Ouyang

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).