Creating symlink /var/lib/dkms/macbook12-audio/0.1/source -> /usr/src/macbook12-audio-0.1
Kernel preparation unnecessary for this kernel. Skipping...
Running the pre_build script:
--2025-09-02 20:05:59-- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.0.tar.xz
Resolving cdn.kernel.org (cdn.kernel.org)... 151.101.21.176, 2a04:4e42:5::432
Connecting to cdn.kernel.org (cdn.kernel.org)|151.101.21.176|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-09-02 20:05:59 ERROR 404: Not Found.
--2025-09-02 20:05:59-- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.tar.xz
Resolving cdn.kernel.org (cdn.kernel.org)... 151.101.21.176, 2a04:4e42:5::432
Connecting to cdn.kernel.org (cdn.kernel.org)|151.101.21.176|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 142502100 (136M) [application/x-xz]
Saving to: ‘build/linux-6.8.tar.xz’
linux-6.8.tar.xz 100%[=============================================================================================>] 135.90M 23.7MB/s in 7.1s
2025-09-02 20:06:07 (19.2 MB/s) - ‘build/linux-6.8.tar.xz’ saved [142502100/142502100]
linux-6.8/sound/pci/hda/
linux-6.8/sound/pci/hda/Kconfig
linux-6.8/sound/pci/hda/Makefile
linux-6.8/sound/pci/hda/ca0132_regs.h
linux-6.8/sound/pci/hda/cirrus_scodec.c
linux-6.8/sound/pci/hda/cirrus_scodec.h
linux-6.8/sound/pci/hda/cirrus_scodec_test.c
linux-6.8/sound/pci/hda/cs35l41_hda.c
linux-6.8/sound/pci/hda/cs35l41_hda.h
linux-6.8/sound/pci/hda/cs35l41_hda_i2c.c
linux-6.8/sound/pci/hda/cs35l41_hda_property.c
linux-6.8/sound/pci/hda/cs35l41_hda_property.h
linux-6.8/sound/pci/hda/cs35l41_hda_spi.c
linux-6.8/sound/pci/hda/cs35l56_hda.c
linux-6.8/sound/pci/hda/cs35l56_hda.h
linux-6.8/sound/pci/hda/cs35l56_hda_i2c.c
linux-6.8/sound/pci/hda/cs35l56_hda_spi.c
linux-6.8/sound/pci/hda/hda_auto_parser.c
linux-6.8/sound/pci/hda/hda_auto_parser.h
linux-6.8/sound/pci/hda/hda_beep.c
linux-6.8/sound/pci/hda/hda_beep.h
linux-6.8/sound/pci/hda/hda_bind.c
linux-6.8/sound/pci/hda/hda_codec.c
linux-6.8/sound/pci/hda/hda_component.h
linux-6.8/sound/pci/hda/hda_controller.c
linux-6.8/sound/pci/hda/hda_controller.h
linux-6.8/sound/pci/hda/hda_controller_trace.h
linux-6.8/sound/pci/hda/hda_cs_dsp_ctl.c
linux-6.8/sound/pci/hda/hda_cs_dsp_ctl.h
linux-6.8/sound/pci/hda/hda_eld.c
linux-6.8/sound/pci/hda/hda_generic.c
linux-6.8/sound/pci/hda/hda_generic.h
linux-6.8/sound/pci/hda/hda_hwdep.c
linux-6.8/sound/pci/hda/hda_intel.c
linux-6.8/sound/pci/hda/hda_intel.h
linux-6.8/sound/pci/hda/hda_intel_trace.h
linux-6.8/sound/pci/hda/hda_jack.c
linux-6.8/sound/pci/hda/hda_jack.h
linux-6.8/sound/pci/hda/hda_local.h
linux-6.8/sound/pci/hda/hda_proc.c
linux-6.8/sound/pci/hda/hda_sysfs.c
linux-6.8/sound/pci/hda/hda_tegra.c
linux-6.8/sound/pci/hda/hp_x360_helper.c
linux-6.8/sound/pci/hda/ideapad_s740_helper.c
linux-6.8/sound/pci/hda/patch_analog.c
linux-6.8/sound/pci/hda/patch_ca0110.c
linux-6.8/sound/pci/hda/patch_ca0132.c
linux-6.8/sound/pci/hda/patch_cirrus.c
linux-6.8/sound/pci/hda/patch_cmedia.c
linux-6.8/sound/pci/hda/patch_conexant.c
linux-6.8/sound/pci/hda/patch_cs8409-tables.c
linux-6.8/sound/pci/hda/patch_cs8409.c
linux-6.8/sound/pci/hda/patch_cs8409.h
linux-6.8/sound/pci/hda/patch_hdmi.c
linux-6.8/sound/pci/hda/patch_realtek.c
linux-6.8/sound/pci/hda/patch_si3054.c
linux-6.8/sound/pci/hda/patch_sigmatel.c
linux-6.8/sound/pci/hda/patch_via.c
linux-6.8/sound/pci/hda/tas2781_hda_i2c.c
linux-6.8/sound/pci/hda/thinkpad_helper.c
make -C /lib/modules/6.8.0-79-generic/build M=/var/lib/dkms/macbook12-audio/0.1/build/build/hda modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-79-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04.2) 12.3.0
CC [M] /var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.o
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:399:31: error: array type has incomplete element type ‘struct hda_quirk’
399 | static const struct hda_quirk cs420x_fixup_tbl[] = {
| ^~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:528:
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus_a1534_setup.h:71:6: warning: no previous prototype for ‘snd_hda_coef_item’ [-Wmissing-prototypes]
71 | void snd_hda_coef_item(struct hda_codec *codec, u16 write_flag, hda_nid_t nid, u32 idx, u32 param, u32 retdata, int srcidx)
| ^~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus_a1534_setup.h:1679:
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus_a1534_pcm.h:135:6: warning: no previous prototype for ‘cs_4208_playback_pcm_hook’ [-Wmissing-prototypes]
135 | void cs_4208_playback_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus_a1534_pcm.h:253:5: warning: no previous prototype for ‘cs_4208_build_pcms_explicit’ [-Wmissing-prototypes]
253 | int cs_4208_build_pcms_explicit(struct hda_codec *codec)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:647:31: error: array type has incomplete element type ‘struct hda_quirk’
647 | static const struct hda_quirk cs4208_fixup_tbl[] = {
| ^~~~~~~~~~~~~~~~
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:653:31: error: array type has incomplete element type ‘struct hda_quirk’
653 | static const struct hda_quirk cs4208_mac_fixup_tbl[] = {
| ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:837:31: error: array type has incomplete element type ‘struct hda_quirk’
837 | static const struct hda_quirk cs421x_fixup_tbl[] = {
| ^~~~~~~~~~~~~~~~
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:837:31: warning: ‘cs421x_fixup_tbl’ defined but not used [-Wunused-variable]
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:653:31: warning: ‘cs4208_mac_fixup_tbl’ defined but not used [-Wunused-variable]
653 | static const struct hda_quirk cs4208_mac_fixup_tbl[] = {
| ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:647:31: warning: ‘cs4208_fixup_tbl’ defined but not used [-Wunused-variable]
647 | static const struct hda_quirk cs4208_fixup_tbl[] = {
| ^~~~~~~~~~~~~~~~
/var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.c:399:31: warning: ‘cs420x_fixup_tbl’ defined but not used [-Wunused-variable]
399 | static const struct hda_quirk cs420x_fixup_tbl[] = {
| ^~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/macbook12-audio/0.1/build/build/hda/patch_cirrus.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-79-generic/Makefile:1920: /var/lib/dkms/macbook12-audio/0.1/build/build/hda] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-79-generic'
make: *** [Makefile:10: all] Error 2
cp /var/lib/dkms/macbook12-audio/0.1/build/build/hda/snd-hda-codec-cirrus.ko /lib/modules/6.8.0-79-generic/updates
cp: cannot stat '/var/lib/dkms/macbook12-audio/0.1/build/build/hda/snd-hda-codec-cirrus.ko': No such file or directory
make: *** [Makefile:17: install] Error 1
contents of /lib/modules/6.8.0-79-generic/updates
total 3552
-rw-r--r-- 1 root root 3636504 Sep 2 19:34 facetimehd.ko
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.8.0-79-generic...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.0-79-generic (x86_64)
Consult /var/lib/dkms/macbook12-audio/0.1/build/make.log for more information.
root@anthony-MacBook:~/macbook12-audio-driver# ```
Hello, sorry for the trouble but thank you for the work you did @leifliddy and I have used this on the same machine in the past, but now when I install on a fresh install of the OS I get the following errors at the end. I did see the other posts but noticed you pushed a code change since that but it's not working for me after the update.