You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for EXTRA_CFLAGS has been removed in the kernel, rendering the Kbuild and Makefile for the oct612x library invalid. This now manifests as a build failure due to the missing options:
CC [M] oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c:34:10: fatal error: octdef.h: No such file or directory
34 | #include "octdef.h"
| ^~~~~~~~~~
compilation terminated.
make[5]: *** [/usr/src/linux-next/scripts/Makefile.build:203: oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o] Error 1
make[4]: *** [/usr/src/linux-next/scripts/Makefile.build:461: oct612x] Error 2
The text was updated successfully, but these errors were encountered:
ccflags-y was added to the kernel back in 2007, in commit
f77bf01425b11947eeb3b5b54. Recent kernel commit
dbd83ea09699390892e5efecddd74ae43a00f071 has now completely
removed the deprecated EXTRA_CFLAGS.
Comments in Kbuild and the Makefile for the oct612x library were
added back when it was created in 2013 in commit f65299e
to use the newer ccflags-y based on the kernel version,
but the change was never made to conditionally move away
from the EXTRA_CFLAGS.
Now that the older way no longer exists, always use ccflags-y.
Resolves: asterisk#76
ccflags-y was added to the kernel back in 2007, in commit
f77bf01425b11947eeb3b5b54. Recent kernel commit
dbd83ea09699390892e5efecddd74ae43a00f071 has now completely
removed the deprecated EXTRA_CFLAGS.
Comments in Kbuild and the Makefile for the oct612x library were
added back when it was created in 2013 in commit f65299e
to use the newer ccflags-y based on the kernel version,
but the change was never made to conditionally move away
from the EXTRA_CFLAGS.
Now that the older way no longer exists, always use ccflags-y.
Resolves: asterisk#76
Support for
EXTRA_CFLAGS
has been removed in the kernel, rendering theKbuild
andMakefile
for theoct612x
library invalid. This now manifests as a build failure due to the missing options:The text was updated successfully, but these errors were encountered: