make moduels tx.c error
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’ [-Wnet/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’ wasnet/mac80211/tx.c: In function ‘ieee80211_tx_prepare’:net/mac80211/tx.c:1643:7: warning: passing argument 1 of ‘__ieee80211_parse_tx_radiotap’ fronet/mac80211/tx.c:1516:13: note: expected ‘struct sk_buff *’ but argument is of type ‘structnet/mac80211/tx.c:1643:7: error: too many arguments to function ‘__ieee80211_parse_tx_radiotnet/mac80211/tx.c:1516:13: note: declared herenet/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
Quoted 22 lines · Ouyang
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’ [-Wnet/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’ wasnet/mac80211/tx.c: In function ‘ieee80211_tx_prepare’:net/mac80211/tx.c:1643:7: warning: passing argument 1 of ‘__ieee80211_parse_tx_radiotap’ fronet/mac80211/tx.c:1516:13: note: expected ‘structsk_buff*’ but argument is of type ‘structnet/mac80211/tx.c:1643:7: error: too many arguments to function ‘__ieee80211_parse_tx_radiot
Quoted 8 lines
net/mac80211/tx.c:1516:13: note: declared herenet/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,
Signature · 1 line
~Randy
Quoted 4 lines · Randy Dunlap
Quoted 1 line · Ouyang
Anyone can tell me how to figure this problem? I do not have much
experience on
Quoted 4 lines
Quoted 4 lines
linux kernel compiling.
make modules
make[1]: Nothing to be done for `all'.
CHKinclude/linux/version.h
Quoted 8 lines
Quoted 8 lines
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’ [-Wnet/mac80211/tx.c: At top level:net/mac80211/tx.c:1601:1: error: conflicting types for
‘ieee80211_tx_prepare’
Quoted 6 lines
Quoted 6 lines
net/mac80211/tx.c:1327:16: note: previous implicit declaration of ‘ieee80211_tx_prepare’ wasnet/mac80211/tx.c: In function ‘ieee80211_tx_prepare’:net/mac80211/tx.c:1643:7: warning: passing argument 1 of ‘__ieee80211_parse_tx_radiotap’ fronet/mac80211/tx.c:1516:13: note: expected ‘structsk_buff*’ but argument
is of
Quoted 12 lines
Quoted 11 lines
type ‘struct
net/mac80211/tx.c:1643:7: error: too many arguments to function ‘__ieee80211_parse_tx_radiotnet/mac80211/tx.c:1516:13: note: declared herenet/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
Quoted 6 lines
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