Anyone else lost sound on Linux 6.5.3 and got errors when runing script?
Closed this issue · 1 comments
sebastiancarlos commented
The issue happens when going into build/hda-6.5.3
and running make KVER=6.5.3-arch1-1
Which in turn calls: make -C /lib/modules/6.5.3-arch1-1/build CFLAGS_MODULE="-DAPPLE_PINSENSE_FIXUP -DAPPLE_CODECS -DCONFIG_SND_HDA_RECONFIG=1 -Wno-unused-variable -Wno-unused-function" M=/home/xxx/snd_hda_macbookpro/build/hda-6.5.3 modules
Producing (the linking error happens many times on different files):
CC [M] /home/elas/arch-scripts/snd_hda_macbookpro/build/hda-6.5.3/patch_cs8409.o
...
gcc: warning: /home/xxx/snd_hda_macbookpro/build/hda-6.5.3/.tmp_5474/tmp: linker input file unused because linking not done
gcc: error: /home/xxx/snd_hda_macbookpro/build/hda-6.5.3/.tmp_5474/tmp: linker input file not found: No such file or directory
...
make[3]: *** [scripts/Makefile.build:243: /home/xxx/snd_hda_macbookpro/build/hda-6.5.3/patch_cs8409.o] Error 1
make[3]: *** Deleting file '/home/xxx/snd_hda_macbookpro/build/hda-6.5.3/patch_cs8409.o'
Have a nice one.
sebastiancarlos commented
Nevermind, the problem was that that I have a custom version of 'rm' in my path that includes the verbose flag, and for some reason the linux-header makefile was including the output of rm into a call to gcc. Mind blown lol