[Letux-kernel] compile problems

Andreas Kemnade andreas at kemnade.info
Sun Jul 22 12:30:57 CEST 2018


Hi,

I tried to test the newest letux-4.18-rc5-kernel.
I came to the following problem:

  CC [M]  sound/soc/omap/omap-twl4030.o
../sound/soc/omap/omap-twl4030.c: In function ‘omap_twl4030_init’:
../sound/soc/omap/omap-twl4030.c:210:23: error: passing argument 1 of ‘pdata->jack_init’ from incompatible pointer type [-Werror=incompatible-pointer-types]
      pdata->jack_init(rtd->card))
                       ^~~
../sound/soc/omap/omap-twl4030.c:210:23: note: expected ‘struct snd_soc_codec *’ but argument is of type ‘struct snd_soc_card *’
../sound/soc/omap/omap-twl4030.c:211:21: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
   priv->jack_remove = pdata->jack_remove;
                     ^
cc1: some warnings being treated as errors

compiling with:
andi at aktux:~/gta04/gta04-kernel/4.18rc$ arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180722/f456f8f8/attachment.asc>


More information about the Letux-kernel mailing list