On 20.03.2016 19:22, Paul Smith wrote: > GNU make absolutely never invokes Android Studio. It doesn't know > anything about Android Studio.
Sorry, didn't mean to imply that. > So, either you are using a different version of make or a modified GNU > make, or else the rule you're invoking is somehow running Android Studio > unexpectedly. > > You don't show the command that make is invoking, only the error > messages, so there's no much we can tell you. The command was a plain `make'. For the partial compilation I intend, it will be `make M=/path/to/source/sound/usb' but Android Studio (AS) is also opened with the plain command so I went with that for the initial message. > However, these errors: > >> > Cannot find file '/usr/src/linux-headers-4.2.0-34-lowlatency/--64' >> > Cannot find file '/usr/src/linux-headers-4.2.0-34-lowlatency/-o' >> > Cannot find file '/usr/src/linux-headers-4.2.0-34-lowlatency/.5259.tmp' > sure look to me like your command line is broken: these "files" like "- > -64", "-o", etc. all should be interpreted as options to some command, > not files. So it's possible that something else that should be > interpreted as an option or file is being interpreted as a command, and > invoking Android Studio. That's what I was thinking, too. Though I have no idea how that could be. Even with AS not in the PATH it gets opened (it's installed in a subfolder of HOME). ---- I executed `make -d' to get some debugging information: GNU Make 4.0 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Reading makefile 'Makefile'... Reading makefile 'scripts/Kbuild.include' (search path) (no ~ expansion)... Reading makefile 'include/config/auto.conf' (search path) (don't care) (no ~ expansion)... Reading makefile 'include/config/auto.conf.cmd' (search path) (don't care) (no ~ expansion)... Reading makefile 'arch/x86/Makefile' (search path) (no ~ expansion)... After that I get the AS opening loop until I cancel with CTRL+C. Then I renamed the AS directory and repeated the command; it now continues onward and compiles as expected: ... [same as before] ... Reading makefile 'arch/x86/Makefile' (search path) (no ~ expansion)... arch/x86/Makefile:138: CONFIG_X86_X32 enabled but no binutils support Makefile:669: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler Reading makefile 'scripts/Makefile.kasan' (search path) (no ~ expansion)... Reading makefile 'scripts/Makefile.extrawarn' (search path) (no ~ expansion)... Updating makefiles.... ... [continue compiling] ... So now I at least know a hotfix and can compile but this behavior still baffles me. Anyway, thanks for your help! Sideboard _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make