error during udrc-dkms


Bernard f6bvp / ai7bg
 

Here are my Compass beta 13 current software versions:

Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

Gnu C 6.3.0
Gnu make 4.1
binutils 2.28
util-linux 2.29.2
mount debug
module-init-tools 23
e2fsprogs 1.43.4
Linux C Library 2.24
Dynamic linker (ldd) 2.24
Net-tools 2.10-alpha
Kbd 2.0.3
Sh-utils 8.26
wireless-tools 30
Modules Loaded fuse rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio ax25 i2c_dev ip_tables x_tables ipv6
root@compass-f6bvp:/home/pi#


Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.19.42-v7+ -C /lib/modules/4.19.42-v7+/build M=/var/lib/dkms/udrc/1.0.5/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.42-v7+ (armv7l)
Consult /var/lib/dkms/udrc/1.0.5/build/make.log for more information.
run-parts: /etc/kernel/postinst.d/udrc-dkms exited with return code 10
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.14.98-v7+ /boot/kernel7.img
run-parts: executing /etc/kernel/postinst.d/dkms 4.14.98-v7+ /boot/kernel7.img
/etc/kernel/postinst.d/dkms:
Error! echo
Your kernel headers for kernel 4.14.98-v7+ cannot be found at
/lib/modules/4.14.98-v7+/build or /lib/modules/4.14.98-v7+/source.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.14.98-v7+ /boot/kernel7.img
run-parts: executing /etc/kernel/postinst.d/udrc-dkms 4.14.98-v7+ /boot/kernel7.img
/etc/kernel/postinst.d/udrc-dkms:

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.19.42+ -C /lib/modules/4.19.42+/build M=/var/lib/dkms/udrc/1.0.5/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.42+ (armv7l)
Consult /var/lib/dkms/udrc/1.0.5/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.19.42-v7+ -C /lib/modules/4.19.42-v7+/build M=/var/lib/dkms/udrc/1.0.5/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.42-v7+ (armv7l)
Consult /var/lib/dkms/udrc/1.0.5/build/make.log for more information.
run-parts: /etc/kernel/postinst.d/udrc-dkms exited with return code 10
Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/apt/archives/raspberrypi-kernel_1.20190517-1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@compass-f6bvp:/home/pi# ver
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.


Here follows /var/lib/dkms/udrc/1.0.5/build/make.log


DKMS make.log for udrc-1.0.5 for kernel 4.19.42-v7+ (armv7l)
mardi 28 mai 2019, 22:40:14 (UTC+0200)
make : on entre dans le répertoire « /usr/src/linux-headers-4.19.42-v7+ »
CC [M] /var/lib/dkms/udrc/1.0.5/build/udrc.o
CC [M] /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.o
CC [M] /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4-i2c.o
CC [M] /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4-spi.o
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:471:49: warning: 'struct snd_soc_codec' declared inside parameter list will not be visible outside of this definition or declaration
static inline long aic32x4_get_mclk_rate(struct snd_soc_codec *codec)
^~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_get_mclk_rate':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:474:33: error: implicit declaration of function 'snd_soc_codec_get_drvdata' [-Werror=implicit-function-declaration]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:474:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
In file included from ./include/linux/gpio/driver.h:5:0,
from ./include/asm-generic/gpio.h:13,
from ./arch/arm/include/asm/gpio.h:10,
from ./include/linux/gpio.h:59,
from /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:31:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:484:15: error: dereferencing pointer to incomplete type 'struct snd_soc_codec'
dev_err(codec->dev, "Unsupported master clock rate %ld", mclk_rate);
^
./include/linux/device.h:1442:11: note: in definition of macro 'dev_err'
_dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_set_dai_sysclk':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:491:41: error: 'struct snd_soc_dai' has no member named 'codec'
struct snd_soc_codec *codec = codec_dai->codec;
^~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:492:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_set_dai_fmt':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:507:41: error: 'struct snd_soc_dai' has no member named 'codec'
struct snd_soc_codec *codec = codec_dai->codec;
^~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:512:16: error: implicit declaration of function 'snd_soc_read' [-Werror=implicit-function-declaration]
iface_reg_1 = snd_soc_read(codec, AIC32X4_IFACE1);
^~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:556:2: error: implicit declaration of function 'snd_soc_write' [-Werror=implicit-function-declaration]
snd_soc_write(codec, AIC32X4_IFACE1, iface_reg_1);
^~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_hw_params':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:566:35: error: 'struct snd_soc_dai' has no member named 'codec'
struct snd_soc_codec *codec = dai->codec;
^~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:567:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:572:36: error: passing argument 1 of 'aic32x4_get_mclk_rate' from incompatible pointer type [-Werror=incompatible-pointer-types]
mclk_rate = aic32x4_get_mclk_rate(codec);
^~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:471:20: note: expected 'struct snd_soc_codec *' but argument is of type 'struct snd_soc_codec *'
static inline long aic32x4_get_mclk_rate(struct snd_soc_codec *codec)
^~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/gpio/driver.h:5:0,
from ./include/asm-generic/gpio.h:13,
from ./arch/arm/include/asm/gpio.h:10,
from ./include/linux/gpio.h:59,
from /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:31:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:576:16: error: dereferencing pointer to incomplete type 'struct snd_soc_codec'
dev_err(codec->dev, "Sampling rate not supported\n");
^
./include/linux/device.h:1442:11: note: in definition of macro 'dev_err'
_dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:654:2: error: implicit declaration of function 'snd_soc_update_bits' [-Werror=implicit-function-declaration]
snd_soc_update_bits(codec, AIC32X4_DACSETUP, AIC32X4_DAC_CHAN_MASK,
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_mute':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:662:35: error: 'struct snd_soc_dai' has no member named 'codec'
struct snd_soc_codec *codec = dai->codec;
^~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: At top level:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:673:42: warning: 'struct snd_soc_codec' declared inside parameter list will not be visible outside of this definition or declaration
static int aic32x4_set_bias_level(struct snd_soc_codec *codec,
^~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_set_bias_level':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:676:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/gpio/driver.h:5:0,
from ./include/asm-generic/gpio.h:13,
from ./arch/arm/include/asm/gpio.h:10,
from ./include/linux/gpio.h:59,
from /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:31:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:687:17: error: dereferencing pointer to incomplete type 'struct snd_soc_codec'
dev_err(codec->dev, "Failed to enable master clock\n");
^
./include/linux/device.h:1442:11: note: in definition of macro 'dev_err'
_dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: At top level:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:784:39: warning: 'struct snd_soc_codec' declared inside parameter list will not be visible outside of this definition or declaration
static int aic32x4_codec_probe(struct snd_soc_codec *codec)
^~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_codec_probe':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:786:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: At top level:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:840:15: error: variable 'soc_codec_dev_aic32x4' has initializer but incomplete type
static struct snd_soc_codec_driver soc_codec_dev_aic32x4 = {
^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:841:2: error: unknown field 'probe' specified in initializer
.probe = aic32x4_codec_probe,
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:841:11: warning: excess elements in struct initializer
.probe = aic32x4_codec_probe,
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:841:11: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:842:2: error: unknown field 'set_bias_level' specified in initializer
.set_bias_level = aic32x4_set_bias_level,
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:842:20: warning: excess elements in struct initializer
.set_bias_level = aic32x4_set_bias_level,
^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:842:20: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:843:2: error: unknown field 'suspend_bias_off' specified in initializer
.suspend_bias_off = true,
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:843:22: warning: excess elements in struct initializer
.suspend_bias_off = true,
^~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:843:22: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:2: error: unknown field 'component_driver' specified in initializer
.component_driver = {
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:22: error: extra brace group at end of initializer
.component_driver = {
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:22: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:22: warning: excess elements in struct initializer
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:22: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_probe':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:1074:8: error: implicit declaration of function 'snd_soc_register_codec' [-Werror=implicit-function-declaration]
ret = snd_soc_register_codec(dev,
^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_remove':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:1092:2: error: implicit declaration of function 'snd_soc_unregister_codec' [-Werror=implicit-function-declaration]
snd_soc_unregister_codec(dev);
^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: At top level:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:840:36: error: storage size of 'soc_codec_dev_aic32x4' isn't known
static struct snd_soc_codec_driver soc_codec_dev_aic32x4 = {
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:309 : la recette pour la cible « /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.o » a échouée
make[1]: *** [/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.o] Erreur 1
Makefile:1524 : la recette pour la cible « _module_/var/lib/dkms/udrc/1.0.5/build » a échouée
make: *** [_module_/var/lib/dkms/udrc/1.0.5/build] Erreur 2
make : on quitte le répertoire « /usr/src/linux-headers-4.19.42-v7+ »


Regards and 73's
Bernard, f6bvp

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.