problem with sound on bytcht-es8316 and recompiling the drivers do not work either on my strombook

helllo friends i am having a weird laptoP from thailand with intel atom based on it i recently installed ubuntu in place of windows and now the sound is not working i have following card displayed on my alsamixer: bytcht-es8316
Intel HDMI/DP LPE Audio

running pulseaudio i get this:

W: [pulseaudio] pid.c: Stale PID file, overwriting. E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-bytcht_es8316" card_name="alsa_card.platform-bytcht_es8316" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed. E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-bytcht_es8316" card_name="alsa_card.platform-bytcht_es8316" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed. Killed 

on trying to recompile the drivers i get this:

praveen@praveen-STORM-BOOK-SB1401:~$   # ubuntu praveen@praveen-STORM-BOOK-SB1401:~$   C_FLAGS="-C /usr/src/linux-headers-`uname -r`" praveen@praveen-STORM-BOOK-SB1401:~$   # opensuse praveen@praveen-STORM-BOOK-SB1401:~$   # C_FLAGS="-C /usr/src/linux-`uname -r`" praveen@praveen-STORM-BOOK-SB1401:~$   c_dir=`pwd` praveen@praveen-STORM-BOOK-SB1401:~$   for mf in `find $  c_dir -type f -name "Makefile"` > do >     echo $  mf >     cd `dirname $  mf` >     make $  C_FLAGS M=`pwd` modules >     mv *.ko $  c_dir >     cd $  c_dir > done /home/praveen/sound/soc/intel/boards/Makefile make: Entering directory '/usr/src/linux-headers-4.18.0-25-generic' arch/x86/Makefile:155: CONFIG_X86_X32 enabled but no binutils support arch/x86/Makefile:244: *** You are building kernel with non-retpoline compiler, please update your compiler..  Stop. make: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic' mv: cannot stat '*.ko': No such file or directory /home/praveen/sound/soc/intel/sst/Makefile make: Entering directory '/usr/src/linux-headers-4.18.0-25-generic' arch/x86/Makefile:155: CONFIG_X86_X32 enabled but no binutils support arch/x86/Makefile:244: *** You are building kernel with non-retpoline compiler, please update your compiler..  Stop. make: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic' mv: cannot stat '*.ko': No such file or directory /home/praveen/sound/soc/codecs/Makefile make: Entering directory '/usr/src/linux-headers-4.18.0-25-generic' arch/x86/Makefile:155: CONFIG_X86_X32 enabled but no binutils support arch/x86/Makefile:244: *** You are building kernel with non-retpoline compiler, please update your compiler..  Stop. make: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic' mv: cannot stat '*.ko': No such file or directory 

please help i am a beginner