haobug / bcm43142 Goto Github PK
View Code? Open in Web Editor NEWBroadcom BCM43142 802.11b/g/n driver, its another name bcm4365
Broadcom BCM43142 802.11b/g/n driver, its another name bcm4365
Hello. I have Debian Buster amd64, and can't to create deb-packet the drivers for the OS. Can you help me? Thank's.
What i got:
bb-pc:
/bcm43142-master$ ./configure/bcm43142-master$ make
bash: ./configure: File or folder not found
bb-pc:
KBUILD_NOPEDANTIC=1 make -C /lib/modules/uname -r
/build M=pwd
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /home/bb/bcm43142-master/built-in.o
CC [M] /home/bb/bcm43142-master/src/shared/linux_osl.o
CC [M] /home/bb/bcm43142-master/src/wl/sys/wl_linux.o
CC [M] /home/bb/bcm43142-master/src/wl/sys/wl_iw.o
CC [M] /home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.o
/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_key’:
/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c:1383:2: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [enabled by default]
memcpy(params.key, key.data, params.key_len);
^
In file included from /usr/src/linux-headers-3.16.0-4-common/arch/x86/include/asm/string.h:4:0,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/string.h:17,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/bitmap.h:8,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/cpumask.h:11,
from /usr/src/linux-headers-3.16.0-4-common/arch/x86/include/asm/cpumask.h:4,
from /usr/src/linux-headers-3.16.0-4-common/arch/x86/include/asm/msr.h:10,
from /usr/src/linux-headers-3.16.0-4-common/arch/x86/include/asm/processor.h:20,
from /usr/src/linux-headers-3.16.0-4-common/arch/x86/include/asm/thread_info.h:23,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/thread_info.h:54,
from /usr/src/linux-headers-3.16.0-4-common/arch/x86/include/asm/preempt.h:6,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/preempt.h:18,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/seqlock.h:35,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/time.h:5,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/stat.h:18,
from /usr/src/linux-headers-3.16.0-4-common/include/linux/module.h:10,
from /home/bb/bcm43142-master/src/include/linuxver.h:40,
from /home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c:26:
/usr/src/linux-headers-3.16.0-4-common/arch/x86/include/asm/string_64.h:32:14: note: expected ‘void *’ but argument is of type ‘const u8 *’
extern void *memcpy(void *to, const void *from, size_t len);
^
/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c: At top level:
/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c:1593:2: warning: initialization from incompatible pointer type [enabled by default]
.get_station = wl_cfg80211_get_station,
^
/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c:1593:2: warning: (near initialization for ‘wl_cfg80211_ops.get_station’) [enabled by default]
/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_notify_connect_status’:
/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c:1844:4: warning: passing argument 3 of ‘cfg80211_ibss_joined’ makes pointer from integer without a cast [enabled by default]
cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
^
In file included from /home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-3.16.0-4-common/include/net/cfg80211.h:4002:6: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘unsigned int’
void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
^
/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c:1844:4: error: too few arguments to function ‘cfg80211_ibss_joined’
cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
^
In file included from /home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-3.16.0-4-common/include/net/cfg80211.h:4002:6: note: declared here
void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
^
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:262: recipe for target '/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.o' failed
make[4]: *** [/home/bb/bcm43142-master/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
/usr/src/linux-headers-3.16.0-4-common/Makefile:1353: recipe for target 'module/home/bb/bcm43142-master' failed
make[3]: *** [module/home/bb/bcm43142-master] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
Did i do something wrong?
Alternatively, would a prebuild .deb be possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.