Tiny Core Extensions > TCE Corepure64

Tinycore 14.0 64bit: Macbook Air Wifi - Broadcom 4360 WLAN - wl not found

<< < (4/6) > >>

Juanito:
Thanks  :)

Juanito:
..and there's a bunch of patches in http://deb.debian.org/debian/pool/non-free-firmware/b/broadcom-sta/broadcom-sta_6.30.223.271-24~exp3.debian.tar.xz

I guess you'll need patches 16 to 29

pek:
Thanks guys.
I patched all that and

--- Code: ---make API=CFG80211 -C /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl M=`pwd`
--- End code ---
Then I got wl.mod
I searched for wl.ko but nowhere to be found.


When I "cat wl.mod" I got

--- Code: ---/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/shared/linux_osl.o
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.o
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_iw.o
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_cfg80211_hybrid.o

--- End code ---
Is this the file I'm supposed to look for?


Btw, when I did "make API=CFG80211 -C..."
It showed this in terminal

--- Code: ---tc@box:/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl$ make API=CFG80211 -C /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/

linux-6.1.2 M=`pwd` > /home/tc/logWL.txt
tc@box:/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl$ make API=CFG80211 -C /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/

linux-6.1.2 M=`pwd`
make: Entering directory '/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2'
CFG80211 API specified in command line
Using CFG80211 API
  CC [M]  /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.o
In file included from /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c:81:
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_iw.h:73: warning: "isprint" redefined
   73 | #define isprint(c) bcm_isprint(c)
      |
In file included from ./include/linux/string_helpers.h:6,
                 from ./include/linux/seq_file.h:7,
                 from ./include/linux/seq_file_net.h:5,
                 from ./include/net/net_namespace.h:191,
                 from ./include/linux/netdevice.h:38,
                 from /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/include/linuxver.h:69,
                 from /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c:27:
./include/linux/ctype.h:30: note: this is the location of the previous definition
   30 | #define isprint(c)      ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0)
      |
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_dump_ver':
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c:2125:17: error: macro "__DATE__" might prevent reproducible builds []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdate-time-Werror=date-time]8;;]
 2125 |                 __DATE__, __TIME__, EPI_VERSION_STR);
      |                 ^~~~~~~~
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c:2125:27: error: macro "__TIME__" might prevent reproducible builds []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdate-time-Werror=date-time]8;;]
 2125 |                 __DATE__, __TIME__, EPI_VERSION_STR);
      |                           ^~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:250: /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make: *** [Makefile:1992: /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl] Error 2
make: Leaving directory '/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2'
tc@box:/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl$


--- End code ---

Juanito:
wl.ko is not built because of this:
--- Code: ---cc1: some warnings being treated as errors
--- End code ---

Edit the Makefile and try changing "EXTRA_CFLAGS :=" to "EXTRA_CFLAGS := -Wno-error"

pek:
It gives same error I think

--- Code: ---tc@box:/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl$ make API=CFG80211 -C /mnt/

sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2 M=`pwd`
make: Entering directory '/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2'
CFG80211 API specified in command line
Using CFG80211 API
  CC [M]  /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.o
In file included from /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c:81:
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_iw.h:73: warning: "isprint" redefined
   73 | #define isprint(c) bcm_isprint(c)
      |
In file included from ./include/linux/string_helpers.h:6,
                 from ./include/linux/seq_file.h:7,
                 from ./include/linux/seq_file_net.h:5,
                 from ./include/net/net_namespace.h:191,
                 from ./include/linux/netdevice.h:38,
                 from /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/include/linuxver.h:69,
                 from /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c:27:
./include/linux/ctype.h:30: note: this is the location of the previous definition
   30 | #define isprint(c)      ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0)
      |
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_dump_ver':
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c:2125:17: error: macro "__DATE__" might prevent reproducible builds []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdate-time-Werror=date-time]8;;]
 2125 |                 __DATE__, __TIME__, EPI_VERSION_STR);
      |                 ^~~~~~~~
/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.c:2125:27: error: macro "__TIME__" might prevent reproducible builds []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdate-time-Werror=date-time]8;;]
 2125 |                 __DATE__, __TIME__, EPI_VERSION_STR);
      |                           ^~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:250: /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make: *** [Makefile:1992: /mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl] Error 2
make: Leaving directory '/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2'
tc@box:/mnt/sda1/tcl/tcz/14/tcz64/compileKernel/src/linux-6.1.2/hybrid_wl$


--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version