compile compat-wireless
Hello ...
I use kernel 3.1.4 . and download compat-wireless-3.1.1-1 . i extract and this package and use channel-negative-one-maxim.patch Code:
patch -p1 < ../channel-negative-one-maxim.patch but in compile receive this message : Code:
root@skynet:/data2/compat-wireless-3.1.1-1# make |
The error implicit declaration of function means that a function is referenced (used) before its declaration or when the function prototype is missing. Looking at the source code of compat-wireless-3.1.1-1 it seems the prototype of function br_port_exists is in the header linux/compat-3.1.h but this header is not included in util.c. I would try to add the proper include line (see text in bold) among the others in net/wireless/util.c:
Code:
#include <linux/bitops.h> Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves. |
i have not this file !
Code:
/usr/include/linux/compat-3.1.h |
It's not a system file. The path is relative to the compat-wireless installation directory, that one you extracted from the downloaded tar.gz. If you look at the other include statements, you can see they refer to:
Code:
|
opss !
sorry .. I do this ! but not work ! |
Is it exactly the same error message?
|
Error replayed ... !
Code:
CC [M] /data2/compat-wireless-3.1.1-1/net/mac80211/mesh_hwmp.o |
Fixed ... !
I patch this files : mac80211.compat08082009.wl_frag+ack_v1.patch channel-negative-one-maxim.patch comment lines from : compat-wireless-3.1.1-1/net/wireless/nl80211.c Code:
if (!use_4addr) { Code:
if (br_port_exists(dev) && |
Well done! :)
|
All times are GMT -5. The time now is 08:48 AM. |