23-05-2020, 18:40
0
Kod:
DKMS make.log for mt7601-3.0.0.4 for kernel 5.3.0-53-generic (i386)
sob, 23 maj 2020, 18:20:44 CEST
make -C tools
make[1]: Wejście do katalogu '/var/lib/dkms/mt7601/3.0.0.4/build/tools'
gcc -g bin2h.c -o bin2h
cp -f os/linux/Makefile.6 /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/Makefile
make -C /lib/modules/5.3.0-53-generic/build SUBDIRS=/var/lib/dkms/mt7601/3.0.0.4/build/os/linux modules
make[1]: Wejście do katalogu '/usr/src/linux-headers-5.3.0-53-generic'
Makefile:227: ================= WARNING ================
Makefile:228: 'SUBDIRS' will be removed after Linux 5.3
Makefile:229:
Makefile:230: If you are building an individual subdirectory
Makefile:231: in the kernel tree, you can do like this:
Makefile:232: $ make path/to/dir/you/want/to/build/
Makefile:233: (Do not forget the trailing slash)
Makefile:234:
Makefile:235: If you are building an external module,
Makefile:236: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile:237: ==========================================
make[1]: Opuszczenie katalogu '/var/lib/dkms/mt7601/3.0.0.4/build/tools'
/var/lib/dkms/mt7601/3.0.0.4/build/tools/bin2h
CC [M] /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../os/linux/rt_profile.o
CC [M] /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/assoc.o
CC [M] /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/auth.o
CC [M] /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/auth_rsp.o
CC [M] /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/sync.o
CC [M] /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/sanity.o
/var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/sync.c:2182:12: error: passing argument 8 of ‘StaAddMacTableEntry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&ie_list,
^
In file included from /var/lib/dkms/mt7601/3.0.0.4/build/include/rt_config.h:59:0,
from /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/sync.c:28:
/var/lib/dkms/mt7601/3.0.0.4/build/include/rtmp.h:7892:9: note: expected ‘IE_LISTS * {aka struct _IE_lists *}’ but argument is of type ‘BCN_IE_LIST ** {aka struct _bcn_ie_list **}’
BOOLEAN StaAddMacTableEntry(
^~~~~~~~~~~~~~~~~~~
CC [M] /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/rtmp_data.o
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/sync.o' failed
make[2]: *** [/var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/sync.o] Error 1
make[2]: *** Oczekiwanie na niezakończone zadania....
/var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/rtmp_data.c:523:33: error: passing argument 2 of ‘MacTableLookup’ from incompatible pointer type [-Werror=incompatible-pointer-types]
pEntry = MacTableLookup(pAd, &pHeader->Addr2);
^
In file included from /var/lib/dkms/mt7601/3.0.0.4/build/include/rt_config.h:59:0,
from /var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/rtmp_data.c:28:
/var/lib/dkms/mt7601/3.0.0.4/build/include/rtmp.h:8429:18: note: expected ‘UCHAR * {aka unsigned char *}’ but argument is of type ‘UCHAR (*)[6] {aka unsigned char (*)[6]}’
MAC_TABLE_ENTRY *MacTableLookup(RTMP_ADAPTER *pAd, UCHAR *pAddr);
^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/rtmp_data.o' failed
make[2]: *** [/var/lib/dkms/mt7601/3.0.0.4/build/os/linux/../../sta/rtmp_data.o] Error 1
Makefile:1656: recipe for target '_module_/var/lib/dkms/mt7601/3.0.0.4/build/os/linux' failed
make[1]: *** [_module_/var/lib/dkms/mt7601/3.0.0.4/build/os/linux] Error 2
make[1]: Opuszczenie katalogu '/usr/src/linux-headers-5.3.0-53-generic'
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
Dodano po pewnym czasie:
https://github.com/art567/mt7601usta
Ten sposób też nie działa.