Després de fer
Retorna tot això:
Code:
make -C /lib/modules/5.4.0-26-generic/build M=/home/estemon/Baixades/MT7630E-release/rt2x00 modulesmake[1]: Entering directory '/usr/src/linux-headers-5.4.0-26-generic'
CC [M] /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.o
In file included from /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:32:
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h: In function ‘rt2x00_rf_read’:
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:98:19: error: expected ‘(’ before ‘static’
98 | #define __inline static inline
| ^~~~~~
././include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~~~~~
./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:2453:2: note: in expansion of macro ‘BUG_ON’
2453 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
In file included from ./include/linux/bug.h:5,
from ./include/linux/thread_info.h:12,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:78,
from ./include/linux/spinlock.h:51,
from ./include/linux/seqlock.h:36,
from ./include/linux/time.h:6,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:10,
from /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:28:
./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~
./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:2453:2: note: in expansion of macro ‘BUG_ON’
2453 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
In file included from /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:32:
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:98:19: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
98 | #define __inline static inline
| ^~~~~~
././include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~~~~~
./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:2453:2: note: in expansion of macro ‘BUG_ON’
2453 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h: In function ‘rt2x00_rf_write’:
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:98:19: error: expected ‘(’ before ‘static’
98 | #define __inline static inline
| ^~~~~~
././include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~~~~~
./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:2460:2: note: in expansion of macro ‘BUG_ON’
2460 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
In file included from ./include/linux/bug.h:5,
from ./include/linux/thread_info.h:12,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:78,
from ./include/linux/spinlock.h:51,
from ./include/linux/seqlock.h:36,
from ./include/linux/time.h:6,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:10,
from /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:28:
./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~
./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:2460:2: note: in expansion of macro ‘BUG_ON’
2460 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
In file included from /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:32:
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:98:19: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
98 | #define __inline static inline
| ^~~~~~
././include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~~~~~
./arch/x86/include/asm/bug.h:73:2: note: in expansion of macro ‘_BUG_FLAGS’
73 | _BUG_FLAGS(ASM_UD2, 0); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:62:57: note: in expansion of macro ‘BUG’
62 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| ^~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:2460:2: note: in expansion of macro ‘BUG_ON’
2460 | BUG_ON(word < 1 || word > rt2x00dev->ops->rf_size / sizeof(u32));
| ^~~~~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c: In function ‘rt2x00lib_beaconupdate_iter’:
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:98:19: error: expected ‘(’ before ‘static’
98 | #define __inline static inline
| ^~~~~~
././include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~~~~~
./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’
79 | _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’
90 | #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
| ^~~~~~~~~~~~
./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’
115 | __WARN(); \
| ^~~~~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:259:2: note: in expansion of macro ‘WARN_ON’
259 | WARN_ON(rt2x00_is_usb(rt2x00dev));
| ^~~~~~~
In file included from ./include/linux/bug.h:5,
from ./include/linux/thread_info.h:12,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:78,
from ./include/linux/spinlock.h:51,
from ./include/linux/seqlock.h:36,
from ./include/linux/time.h:6,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:10,
from /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:28:
./arch/x86/include/asm/bug.h:35:22: error: expected identifier or ‘(’ before string constant
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~
./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’
79 | _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’
90 | #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
| ^~~~~~~~~~~~
./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’
115 | __WARN(); \
| ^~~~~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:259:2: note: in expansion of macro ‘WARN_ON’
259 | WARN_ON(rt2x00_is_usb(rt2x00dev));
| ^~~~~~~
In file included from /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:32:
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00.h:98:19: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
98 | #define __inline static inline
| ^~~~~~
././include/linux/compiler_types.h:210:24: note: in expansion of macro ‘__inline’
210 | #define asm_inline asm __inline
| ^~~~~~~~
./arch/x86/include/asm/bug.h:35:2: note: in expansion of macro ‘asm_inline’
35 | asm_inline volatile("1:\t" ins "\n" \
| ^~~~~~~~~~
./arch/x86/include/asm/bug.h:79:2: note: in expansion of macro ‘_BUG_FLAGS’
79 | _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \
| ^~~~~~~~~~
./include/asm-generic/bug.h:90:19: note: in expansion of macro ‘__WARN_FLAGS’
90 | #define __WARN() __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
| ^~~~~~~~~~~~
./include/asm-generic/bug.h:115:3: note: in expansion of macro ‘__WARN’
115 | __WARN(); \
| ^~~~~~
/home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.c:259:2: note: in expansion of macro ‘WARN_ON’
259 | WARN_ON(rt2x00_is_usb(rt2x00dev));
| ^~~~~~~
make[2]: *** [scripts/Makefile.build:275: /home/estemon/Baixades/MT7630E-release/rt2x00/rt2x00dev.o] Error 1
make[1]: *** [Makefile:1719: /home/estemon/Baixades/MT7630E-release/rt2x00] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-26-generic'
make: *** [Makefile:9: all] Error 2
'firmware/BT/mt76x0.bin' -> '/lib/firmware/mt76x0.bin'
'firmware/Wi-FI/MT7650E234.bin' -> '/lib/firmware/MT7650E234.bin'
insmod: ERROR: could not load module ./rt2x00/mt7630e.ko: No such file or directory
insmod: ERROR: could not load module ./btloader/mt76xx.ko: No such file or directory
I aquí ja em perdo...
Bookmarks