Hi all,
I have a problem. My respeaker can’t found some SSIDs on the CISCO wi-fi access point.
So, I have tried to connect via USB wi-fi card to the access point,
and I have compiled the USB wi-fi driver, but I can’t.
I don’t know exactly but I know that to compile a driver, I need ‘/scripts/recordmcount’
To compile ‘/scripts/recordmcount’, I execute ‘make scripts’ like the followings.
----------------------------------------------------
respeaker@v2:/usr/src/linux-headers-4.4.138-respeaker-r0$ sudo make scripts
scripts/kconfig/conf --silentoldconfig Kconfig
*
- Restart config…
*
*
- General setup
*
Cross-compiler tool prefix (CROSS_COMPILE) []
Compile also drivers which will not load (COMPILE_TEST) [N/y/?] n
Local version - append to kernel release (LOCALVERSION) []
Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n
Default hostname (DEFAULT_HOSTNAME) [localhost] localhost
Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y
System V IPC (SYSVIPC) [Y/n/?] y
POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y
Enable process_vm_readv/writev syscalls (CROSS_MEMORY_ATTACH) [Y/n/?] y
open by fhandle syscalls (FHANDLE) [Y/n/?] y
uselib syscall (USELIB) [Y/n/?] y
Auditing support (AUDIT) [N/y/?] n
Kernel .config support (IKCONFIG) [Y/n/m/?] y
Enable access to .config through /proc/config.gz (IKCONFIG_PROC) [Y/n/?] y
Kernel log buffer size (16 => 64KB, 17 => 128KB) (LOG_BUF_SHIFT) [18] 18
CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB) (LOG_CPU_MAX_BUF_SHIFT) [12] 12
Checkpoint/restore support (CHECKPOINT_RESTORE) [N/y/?] n
…
CC scripts/mod/empty.o
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
scripts/Makefile.build:277: recipe for target ‘scripts/mod/empty.o’ failed
make[2]: *** [scripts/mod/empty.o] Error 1
----------------------------------------------------
Does anyone know solve this error?
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’