xiaomi-mt6765 / android_kernel_xiaomi_mt6765

Kernel for Xiaomi MT6765-based devices
Other
14 stars 16 forks source link

Error when compiling. #2

Open Vladusas opened 10 months ago

Vladusas commented 10 months ago

HI! I'm trying to compile this kernel and get an error. I'm running Ubuntu 22.04.3 LTS on VMware Workstation My toolchain is: https://releases.linaro.org/components/toolchain/binaries/6.5-2018.12/aarch64-linux-gnu/ I also use this patch: https://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch Using k62v1_64_bsp_defconfig.

The error i get:

drivers/devfreq/helio-dvfsrc-opp.c:14:26: fatal error: helio-dvfsrc.h: No such file or directory

include

compilation terminated. make[2]: [scripts/Makefile.build:335: drivers/devfreq/helio-dvfsrc-opp.o] Error 1 make[1]: [scripts/Makefile.build:648: drivers/devfreq] Error 2 make: *** [Makefile:1091: drivers] Error 2

Here is the full log:

ubuntu@ubuntu-1:~/kernel/android_kernel_xiaomi_mt6765$ make

scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD include/config/kernel.release WRAP arch/arm64/include/generated/asm/bugs.h WRAP arch/arm64/include/generated/asm/clkdev.h WRAP arch/arm64/include/generated/asm/cputime.h WRAP arch/arm64/include/generated/asm/delay.h WRAP arch/arm64/include/generated/asm/div64.h WRAP arch/arm64/include/generated/asm/dma.h WRAP arch/arm64/include/generated/asm/dma-contiguous.h WRAP arch/arm64/include/generated/asm/early_ioremap.h WRAP arch/arm64/include/generated/asm/emergency-restart.h WRAP arch/arm64/include/generated/asm/errno.h WRAP arch/arm64/include/generated/asm/hw_irq.h WRAP arch/arm64/include/generated/asm/ioctl.h WRAP arch/arm64/include/generated/asm/ioctls.h WRAP arch/arm64/include/generated/asm/ipcbuf.h WRAP arch/arm64/include/generated/asm/irq_regs.h WRAP arch/arm64/include/generated/asm/kdebug.h WRAP arch/arm64/include/generated/asm/kmap_types.h WRAP arch/arm64/include/generated/asm/kvm_para.h WRAP arch/arm64/include/generated/asm/local.h WRAP arch/arm64/include/generated/asm/local64.h WRAP arch/arm64/include/generated/asm/mcs_spinlock.h WRAP arch/arm64/include/generated/asm/mm-arch-hooks.h WRAP arch/arm64/include/generated/asm/mman.h WRAP arch/arm64/include/generated/asm/msgbuf.h WRAP arch/arm64/include/generated/asm/msi.h WRAP arch/arm64/include/generated/asm/mutex.h WRAP arch/arm64/include/generated/asm/poll.h WRAP arch/arm64/include/generated/asm/preempt.h WRAP arch/arm64/include/generated/asm/resource.h WRAP arch/arm64/include/generated/asm/rwsem.h WRAP arch/arm64/include/generated/asm/segment.h WRAP arch/arm64/include/generated/asm/sembuf.h WRAP arch/arm64/include/generated/asm/serial.h WRAP arch/arm64/include/generated/asm/shmbuf.h WRAP arch/arm64/include/generated/asm/simd.h WRAP arch/arm64/include/generated/asm/sizes.h WRAP arch/arm64/include/generated/asm/socket.h WRAP arch/arm64/include/generated/asm/sockios.h WRAP arch/arm64/include/generated/asm/swab.h WRAP arch/arm64/include/generated/asm/switch_to.h WRAP arch/arm64/include/generated/asm/termbits.h WRAP arch/arm64/include/generated/asm/termios.h WRAP arch/arm64/include/generated/asm/trace_clock.h WRAP arch/arm64/include/generated/asm/types.h WRAP arch/arm64/include/generated/asm/unaligned.h WRAP arch/arm64/include/generated/asm/user.h WRAP arch/arm64/include/generated/asm/vga.h WRAP arch/arm64/include/generated/asm/xor.h WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c CC kernel/bounds.s CHK include/generated/bounds.h UPD include/generated/bounds.h CHK include/generated/timeconst.h UPD include/generated/timeconst.h CC arch/arm64/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh LDS arch/arm64/kernel/vdso/vdso.lds VDSOA arch/arm64/kernel/vdso/gettimeofday.o VDSOA arch/arm64/kernel/vdso/note.o VDSOA arch/arm64/kernel/vdso/sigreturn.o VDSOL arch/arm64/kernel/vdso/vdso.so.dbg VDSOSYM include/generated/vdso-offsets.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o SHIPPED scripts/dtc/dtc-lexer.lex.c SHIPPED scripts/dtc/dtc-parser.tab.h HOSTCC scripts/dtc/dtc-lexer.lex.o SHIPPED scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc HOSTCC scripts/genksyms/genksyms.o SHIPPED scripts/genksyms/parse.tab.c HOSTCC scripts/genksyms/parse.tab.o SHIPPED scripts/genksyms/lex.lex.c SHIPPED scripts/genksyms/keywords.hash.c SHIPPED scripts/genksyms/parse.tab.h HOSTCC scripts/genksyms/lex.lex.o HOSTLD scripts/genksyms/genksyms CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o CC scripts/mod/devicetable-offsets.s CHK scripts/mod/devicetable-offsets.h UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/sortextable CC init/main.o CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o CC init/do_mounts.o CC init/do_mounts_initrd.o CC init/do_mounts_dm.o LD init/mounts.o CC init/noinitramfs.o CC init/initramfs.o CC init/calibrate.o CC init/init_task.o LD init/built-in.o HOSTCC usr/gen_init_cpio GEN usr/initramfs_data.cpio.gz AS usr/initramfs_data.o LD usr/built-in.o CC arch/arm64/kernel/debug-monitors.o AS arch/arm64/kernel/entry.o CC arch/arm64/kernel/irq.o CC arch/arm64/kernel/fpsimd.o AS arch/arm64/kernel/entry-fpsimd.o CC arch/arm64/kernel/process.o CC arch/arm64/kernel/ptrace.o CC arch/arm64/kernel/setup.o CC arch/arm64/kernel/signal.o CC arch/arm64/kernel/sys.o CC arch/arm64/kernel/stacktrace.o CC arch/arm64/kernel/time.o CC arch/arm64/kernel/traps.o CC arch/arm64/kernel/io.o CC arch/arm64/kernel/vdso.o AS arch/arm64/kernel/hyp-stub.o CC arch/arm64/kernel/psci.o CC arch/arm64/kernel/cpu_ops.o CC arch/arm64/kernel/insn.o CC arch/arm64/kernel/return_address.o CC arch/arm64/kernel/cpuinfo.o arch/arm64/kernel/cpuinfo.c: In function ‘cpuinfo_detect_icache_policy’: arch/arm64/kernel/cpuinfo.c:329:15: warning: unused variable ‘cpu’ [-Wunused-variable] unsigned int cpu = smp_processor_id(); ^~~ At top level: arch/arm64/kernel/cpuinfo.c:46:14: warning: ‘icache_policy_str’ defined but not used [-Wunused-variable] static char *icache_policy_str[] = { ^~~~~ CC arch/arm64/kernel/cpu_errata.o CC arch/arm64/kernel/cpufeature.o CC arch/arm64/kernel/alternative.o CC arch/arm64/kernel/cacheinfo.o CC arch/arm64/kernel/smp.o CC arch/arm64/kernel/smp_spin_table.o CC arch/arm64/kernel/topology.o AS arch/arm64/kernel/smccc-call.o CC arch/arm64/kernel/sys32.o AS arch/arm64/kernel/kuser32.o CC arch/arm64/kernel/signal32.o CC arch/arm64/kernel/sys_compat.o AS arch/arm64/kernel/entry32.o CC arch/arm64/kernel/arm64ksyms.o CC arch/arm64/kernel/module.o CC arch/arm64/kernel/module-plts.o CC arch/arm64/kernel/perf_regs.o CC arch/arm64/kernel/perf_callchain.o CC arch/arm64/kernel/perf_event.o CC arch/arm64/kernel/hw_breakpoint.o AS arch/arm64/kernel/sleep.o CC arch/arm64/kernel/suspend.o CC arch/arm64/kernel/cpuidle.o CC arch/arm64/kernel/armv8_deprecated.o CC arch/arm64/kernel/kaslr.o CC arch/arm64/kernel/ssbd.o LD arch/arm64/kernel/probes/built-in.o OBJCOPY arch/arm64/kernel/vdso/vdso.so AS arch/arm64/kernel/vdso/vdso.o LD arch/arm64/kernel/vdso/built-in.o LD arch/arm64/kernel/built-in.o AS arch/arm64/kernel/head.o LDS arch/arm64/kernel/vmlinux.lds CC arch/arm64/mm/dma-mapping.o CC arch/arm64/mm/extable.o CC arch/arm64/mm/fault.o CC arch/arm64/mm/init.o AS arch/arm64/mm/cache.o CC arch/arm64/mm/copypage.o CC arch/arm64/mm/flush.o CC arch/arm64/mm/ioremap.o CC arch/arm64/mm/mmap.o CC arch/arm64/mm/pgd.o CC arch/arm64/mm/mmu.o CC arch/arm64/mm/context.o AS arch/arm64/mm/proc.o CC arch/arm64/mm/pageattr.o AS arch/arm64/mm/cache-mtk-v8.o LD arch/arm64/mm/built-in.o LD arch/arm64/net/built-in.o CC arch/arm64/crypto/sha2-ce-glue.o AS arch/arm64/crypto/sha2-ce-core.o LD arch/arm64/crypto/sha2-ce.o CC arch/arm64/crypto/aes-ce-cipher-glue.o CC arch/arm64/crypto/aes-ce-cipher-core.o LD arch/arm64/crypto/aes-ce-cipher.o CC arch/arm64/crypto/aes-glue-ce.o AS arch/arm64/crypto/aes-ce.o LD arch/arm64/crypto/aes-ce-blk.o LD arch/arm64/crypto/built-in.o CC kernel/fork.o CC kernel/exec_domain.o CC kernel/panic.o CC kernel/cpu.o CC kernel/exit.o CC kernel/softirq.o CC kernel/resource.o CC kernel/sysctl.o CC kernel/sysctl_binary.o CC kernel/capability.o CC kernel/ptrace.o CC kernel/user.o CC kernel/signal.o CC kernel/sys.o CC kernel/kmod.o CC kernel/workqueue.o CC kernel/pid.o CC kernel/task_work.o CC kernel/extable.o CC kernel/params.o CC kernel/kthread.o CC kernel/sys_ni.o CC kernel/nsproxy.o CC kernel/notifier.o CC kernel/ksysfs.o CC kernel/cred.o CC kernel/reboot.o CC kernel/async.o CC kernel/range.o CC kernel/smpboot.o CC kernel/ucount.o CC kernel/groups.o CC kernel/bpf/core.o CC kernel/bpf/syscall.o CC kernel/bpf/verifier.o CC kernel/bpf/inode.o CC kernel/bpf/helpers.o CC kernel/bpf/hashtab.o CC kernel/bpf/arraymap.o CC kernel/bpf/percpu_freelist.o CC kernel/bpf/stackmap.o CC kernel/bpf/cgroup.o LD kernel/bpf/built-in.o CC kernel/events/core.o CC kernel/events/ring_buffer.o CC kernel/events/callchain.o CC kernel/events/hw_breakpoint.o LD kernel/events/built-in.o CC kernel/irq/irqdesc.o CC kernel/irq/handle.o CC kernel/irq/manage.o CC kernel/irq/spurious.o CC kernel/irq/resend.o CC kernel/irq/chip.o CC kernel/irq/dummychip.o CC kernel/irq/devres.o CC kernel/irq/autoprobe.o CC kernel/irq/irqdomain.o CC kernel/irq/proc.o CC kernel/irq/cpuhotplug.o CC kernel/irq/pm.o CC kernel/irq/affinity.o LD kernel/irq/built-in.o LD kernel/livepatch/built-in.o CC kernel/locking/mutex.o CC kernel/locking/semaphore.o CC kernel/locking/rwsem.o CC kernel/locking/percpu-rwsem.o CC kernel/locking/spinlock.o CC kernel/locking/osq_lock.o CC kernel/locking/rtmutex.o CC kernel/locking/rwsem-xadd.o LD kernel/locking/built-in.o CC kernel/power/qos.o CC kernel/power/main.o CC kernel/power/process.o CC kernel/power/suspend.o CC kernel/power/autosleep.o CC kernel/power/wakelock.o CC kernel/power/poweroff.o CC kernel/power/wakeup_reason.o LD kernel/power/built-in.o CC kernel/printk/printk.o LD kernel/printk/built-in.o CC kernel/rcu/update.o CC kernel/rcu/sync.o CC kernel/rcu/srcu.o CC kernel/rcu/tree.o LD kernel/rcu/built-in.o CC kernel/sched/core.o CC kernel/sched/loadavg.o CC kernel/sched/clock.o CC kernel/sched/cputime.o CC kernel/sched/idle_task.o CC kernel/sched/fair.o CC kernel/sched/rt.o CC kernel/sched/deadline.o CC kernel/sched/stop_task.o CC kernel/sched/wait.o CC kernel/sched/swait.o CC kernel/sched/completion.o CC kernel/sched/idle.o CC kernel/sched/cpupri.o CC kernel/sched/cpudeadline.o CC kernel/sched/energy.o CC kernel/sched/walt.o CC kernel/sched/stats.o CC kernel/sched/debug.o CC kernel/sched/tune.o CC kernel/sched/cpuacct.o CC kernel/sched/cpufreq.o CC kernel/sched/cpufreq_schedplus.o LD kernel/sched/built-in.o CC kernel/time/time.o CC kernel/time/timer.o CC kernel/time/hrtimer.o CC kernel/time/itimer.o CC kernel/time/posix-timers.o CC kernel/time/posix-cpu-timers.o CC kernel/time/timekeeping.o CC kernel/time/ntp.o CC kernel/time/clocksource.o CC kernel/time/jiffies.o CC kernel/time/timer_list.o CC kernel/time/timeconv.o CC kernel/time/timecounter.o CC kernel/time/posix-clock.o CC kernel/time/alarmtimer.o In file included from ./include/linux/kernel.h:13:0, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ./include/linux/seqlock.h:35, from ./include/linux/time.h:5, from kernel/time/alarmtimer.c:18: kernel/time/alarmtimer.c: In function ‘alarmtimer_suspend’: ./include/linux/printk.h:528:3: warning: ‘temp.tv64’ may be used uninitialized in this function [-Wmaybe-uninitialized] printk(fmt, ##__VA_ARGS__); \ ^~ kernel/time/alarmtimer.c:230:20: note: ‘temp.tv64’ was declared here ktime_t min, now, temp; ^~~~ CC kernel/time/clockevents.o CC kernel/time/tick-common.o CC kernel/time/tick-broadcast.o CC kernel/time/tick-broadcast-hrtimer.o CC kernel/time/sched_clock.o CC kernel/time/tick-oneshot.o CC kernel/time/tick-sched.o CC kernel/time/timekeeping_debug.o LD kernel/time/built-in.o CC kernel/trace/trace_clock.o CC kernel/trace/ring_buffer.o CC kernel/trace/trace.o CC kernel/trace/trace_output.o CC kernel/trace/trace_seq.o CC kernel/trace/trace_stat.o CC kernel/trace/trace_printk.o CC kernel/trace/trace_sched_switch.o CC kernel/trace/trace_nop.o CC kernel/trace/blktrace.o CC kernel/trace/trace_events.o CC kernel/trace/trace_export.o CC kernel/trace/trace_event_perf.o CC kernel/trace/trace_events_filter.o CC kernel/trace/trace_events_trigger.o CC kernel/trace/power-traces.o CC kernel/trace/rpm-traces.o CC kernel/trace/mtk_trace.o LD kernel/trace/built-in.o CC kernel/freezer.o CC kernel/profile.o CC kernel/stacktrace.o CC kernel/futex.o CC kernel/futex_compat.o CC kernel/smp.o CC kernel/uid16.o CC kernel/module.o CC kernel/kallsyms.o CC kernel/compat.o CC kernel/cgroup.o CC kernel/cgroup_freezer.o CC kernel/cpuset.o GZIP kernel/config_data.gz CHK kernel/config_data.h UPD kernel/config_data.h CC kernel/configs.o CC kernel/stop_machine.o CC kernel/audit.o CC kernel/auditfilter.o CC kernel/auditsc.o CC kernel/audit_watch.o CC kernel/audit_fsnotify.o CC kernel/audit_tree.o CC kernel/seccomp.o CC kernel/utsname_sysctl.o CC kernel/taskstats.o CC kernel/tsacct.o CC kernel/tracepoint.o CC kernel/elfcore.o CC kernel/irq_work.o CC kernel/cpu_pm.o CC kernel/membarrier.o CC kernel/memremap.o LD kernel/built-in.o LD certs/built-in.o CC mm/filemap.o CC mm/mempool.o CC mm/oom_kill.o CC mm/maccess.o CC mm/page_alloc.o CC mm/page-writeback.o CC mm/readahead.o CC mm/swap.o CC mm/truncate.o CC mm/vmscan.o CC mm/shmem.o CC mm/util.o CC mm/mmzone.o CC mm/vmstat.o CC mm/backing-dev.o CC mm/mm_init.o CC mm/mmu_context.o CC mm/percpu.o CC mm/slab_common.o CC mm/compaction.o CC mm/vmacache.o CC mm/interval_tree.o CC mm/list_lru.o CC mm/workingset.o CC mm/debug.o CC mm/gup.o CC mm/highmem.o CC mm/memory.o CC mm/mincore.o CC mm/mlock.o CC mm/mmap.o CC mm/mprotect.o CC mm/mremap.o CC mm/msync.o CC mm/rmap.o CC mm/vmalloc.o CC mm/pagewalk.o CC mm/pgtable-generic.o CC mm/process_vm_access.o CC mm/init-mm.o CC mm/nobootmem.o CC mm/fadvise.o CC mm/madvise.o CC mm/memblock.o CC mm/page_io.o CC mm/swap_state.o CC mm/swapfile.o CC mm/dmapool.o CC mm/sparse.o CC mm/sparse-vmemmap.o CC mm/slub.o CC mm/migrate.o CC mm/page_isolation.o CC mm/zsmalloc.o CC mm/early_ioremap.o CC mm/cma.o CC mm/usercopy.o LD mm/built-in.o CC fs/open.o CC fs/read_write.o CC fs/file_table.o CC fs/super.o CC fs/char_dev.o CC fs/stat.o CC fs/exec.o CC fs/pipe.o CC fs/namei.o CC fs/fcntl.o CC fs/ioctl.o CC fs/readdir.o CC fs/select.o CC fs/dcache.o CC fs/inode.o CC fs/attr.o CC fs/bad_inode.o CC fs/file.o CC fs/filesystems.o CC fs/namespace.o CC fs/seq_file.o CC fs/xattr.o CC fs/libfs.o CC fs/fs-writeback.o CC fs/pnode.o CC fs/splice.o CC fs/sync.o CC fs/utimes.o CC fs/stack.o CC fs/fs_struct.o CC fs/statfs.o CC fs/fs_pin.o CC fs/nsfs.o CC fs/buffer.o CC fs/block_dev.o CC fs/direct-io.o CC fs/mpage.o CC fs/proc_namespace.o CC fs/configfs/inode.o CC fs/configfs/file.o CC fs/configfs/dir.o CC fs/configfs/symlink.o CC fs/configfs/mount.o CC fs/configfs/item.o LD fs/configfs/configfs.o LD fs/configfs/built-in.o CC fs/crypto/crypto.o CC fs/crypto/fname.o CC fs/crypto/hooks.o CC fs/crypto/keyinfo.o CC fs/crypto/policy.o CC fs/crypto/bio.o LD fs/crypto/fscrypto.o LD fs/crypto/built-in.o CC fs/debugfs/inode.o CC fs/debugfs/file.o LD fs/debugfs/debugfs.o LD fs/debugfs/built-in.o CC fs/devpts/inode.o LD fs/devpts/devpts.o LD fs/devpts/built-in.o LD fs/exofs/built-in.o CC fs/ext4/balloc.o CC fs/ext4/bitmap.o CC fs/ext4/dir.o CC fs/ext4/file.o CC fs/ext4/fsync.o CC fs/ext4/ialloc.o CC fs/ext4/inode.o CC fs/ext4/page-io.o CC fs/ext4/ioctl.o CC fs/ext4/namei.o CC fs/ext4/super.o CC fs/ext4/symlink.o CC fs/ext4/hash.o CC fs/ext4/resize.o CC fs/ext4/extents.o CC fs/ext4/ext4_jbd2.o CC fs/ext4/migrate.o CC fs/ext4/mballoc.o CC fs/ext4/block_validity.o CC fs/ext4/move_extent.o CC fs/ext4/mmp.o CC fs/ext4/indirect.o CC fs/ext4/extents_status.o CC fs/ext4/xattr.o CC fs/ext4/xattr_user.o CC fs/ext4/xattr_trusted.o CC fs/ext4/inline.o CC fs/ext4/readpage.o CC fs/ext4/sysfs.o CC fs/ext4/xattr_security.o LD fs/ext4/ext4.o LD fs/ext4/built-in.o CC fs/fat/cache.o CC fs/fat/dir.o CC fs/fat/fatent.o CC fs/fat/file.o CC fs/fat/inode.o CC fs/fat/misc.o CC fs/fat/nfs.o LD fs/fat/fat.o CC fs/fat/namei_vfat.o LD fs/fat/vfat.o CC fs/fat/namei_msdos.o LD fs/fat/msdos.o LD fs/fat/built-in.o CC fs/fuse/dev.o CC fs/fuse/dir.o CC fs/fuse/file.o CC fs/fuse/inode.o CC fs/fuse/control.o CC fs/fuse/xattr.o CC fs/fuse/acl.o LD fs/fuse/fuse.o LD fs/fuse/built-in.o CC fs/isofs/namei.o CC fs/isofs/inode.o CC fs/isofs/dir.o CC fs/isofs/util.o CC fs/isofs/rock.o CC fs/isofs/export.o CC fs/isofs/joliet.o CC fs/isofs/compress.o LD fs/isofs/isofs.o LD fs/isofs/built-in.o CC fs/jbd2/transaction.o CC fs/jbd2/commit.o CC fs/jbd2/recovery.o CC fs/jbd2/checkpoint.o CC fs/jbd2/revoke.o CC fs/jbd2/journal.o LD fs/jbd2/jbd2.o LD fs/jbd2/built-in.o CC fs/kernfs/mount.o CC fs/kernfs/inode.o CC fs/kernfs/dir.o CC fs/kernfs/file.o CC fs/kernfs/symlink.o LD fs/kernfs/built-in.o CC fs/nls/nls_base.o CC fs/nls/nls_cp437.o CC fs/nls/nls_cp950.o CC fs/nls/nls_ascii.o CC fs/nls/nls_iso8859-1.o CC fs/nls/nls_utf8.o LD fs/nls/built-in.o CC fs/notify/fsnotify.o CC fs/notify/notification.o CC fs/notify/group.o CC fs/notify/inode_mark.o CC fs/notify/mark.o CC fs/notify/vfsmount_mark.o CC fs/notify/fdinfo.o CC fs/notify/dnotify/dnotify.o LD fs/notify/dnotify/built-in.o LD fs/notify/fanotify/built-in.o CC fs/notify/inotify/inotify_fsnotify.o CC fs/notify/inotify/inotify_user.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o CC fs/proc/task_mmu.o CC fs/proc/inode.o CC fs/proc/root.o CC fs/proc/base.o CC fs/proc/generic.o CC fs/proc/array.o CC fs/proc/fd.o CC fs/proc/proc_tty.o CC fs/proc/cmdline.o CC fs/proc/consoles.o CC fs/proc/serial_num.o CC fs/proc/cpuinfo.o CC fs/proc/devices.o CC fs/proc/interrupts.o CC fs/proc/loadavg.o CC fs/proc/meminfo.o CC fs/proc/stat.o CC fs/proc/uptime.o CC fs/proc/version.o CC fs/proc/softirqs.o CC fs/proc/namespaces.o CC fs/proc/self.o CC fs/proc/thread_self.o CC fs/proc/uid.o CC fs/proc/proc_sysctl.o CC fs/proc/proc_net.o CC fs/proc/kmsg.o CC fs/proc/page.o LD fs/proc/proc.o LD fs/proc/built-in.o CC fs/pstore/inode.o CC fs/pstore/platform.o CC fs/pstore/pmsg.o LD fs/pstore/pstore.o CC fs/pstore/ram.o CC fs/pstore/ram_core.o LD fs/pstore/ramoops.o LD fs/pstore/built-in.o CC fs/quota/dquot.o CC fs/quota/quota_v2.o CC fs/quota/quota_tree.o CC fs/quota/quota.o CC fs/quota/kqid.o CC fs/quota/netlink.o LD fs/quota/built-in.o CC fs/ramfs/inode.o CC fs/ramfs/file-mmu.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/sdcardfs/dentry.o CC fs/sdcardfs/file.o CC fs/sdcardfs/inode.o CC fs/sdcardfs/main.o CC fs/sdcardfs/super.o CC fs/sdcardfs/lookup.o CC fs/sdcardfs/mmap.o CC fs/sdcardfs/packagelist.o CC fs/sdcardfs/derived_perm.o LD fs/sdcardfs/sdcardfs.o LD fs/sdcardfs/built-in.o CC fs/sysfs/file.o CC fs/sysfs/dir.o CC fs/sysfs/symlink.o CC fs/sysfs/mount.o CC fs/sysfs/group.o LD fs/sysfs/built-in.o CC fs/tracefs/inode.o LD fs/tracefs/tracefs.o LD fs/tracefs/built-in.o CC fs/eventpoll.o CC fs/anon_inodes.o CC fs/signalfd.o CC fs/timerfd.o CC fs/eventfd.o CC fs/aio.o CC fs/locks.o CC fs/compat.o CC fs/compat_ioctl.o CC fs/binfmt_script.o CC fs/binfmt_elf.o CC fs/compat_binfmt_elf.o CC fs/mbcache.o CC fs/posix_acl.o CC fs/coredump.o CC fs/drop_caches.o CC fs/dcookies.o LD fs/built-in.o LD ipc/built-in.o CC security/hie/hie.o LD security/hie/built-in.o CC security/integrity/iint.o CC security/integrity/integrity_audit.o LD security/integrity/integrity.o LD security/integrity/built-in.o CC security/keys/gc.o CC security/keys/key.o CC security/keys/keyring.o CC security/keys/keyctl.o CC security/keys/permission.o CC security/keys/process_keys.o CC security/keys/request_key.o CC security/keys/request_key_auth.o CC security/keys/user_defined.o CC security/keys/compat.o CC security/keys/proc.o CC security/keys/sysctl.o LD security/keys/built-in.o GEN security/selinux/flask.h security/selinux/av_permissions.h CC security/selinux/avc.o CC security/selinux/hooks.o CC security/selinux/selinuxfs.o CC security/selinux/netlink.o CC security/selinux/nlmsgtab.o CC security/selinux/netif.o CC security/selinux/netnode.o CC security/selinux/netport.o CC security/selinux/exports.o CC security/selinux/ss/ebitmap.o CC security/selinux/ss/hashtab.o CC security/selinux/ss/symtab.o CC security/selinux/ss/sidtab.o CC security/selinux/ss/avtab.o CC security/selinux/ss/policydb.o CC security/selinux/ss/services.o CC security/selinux/ss/conditional.o CC security/selinux/ss/mls.o CC security/selinux/ss/status.o LD security/selinux/selinux.o LD security/selinux/built-in.o CC security/commoncap.o CC security/min_addr.o CC security/security.o CC security/lsm_audit.o LD security/built-in.o CC crypto/api.o CC crypto/cipher.o CC crypto/compress.o CC crypto/memneq.o LD crypto/crypto.o CC crypto/crypto_wq.o CC crypto/algapi.o CC crypto/scatterwalk.o CC crypto/proc.o LD crypto/crypto_algapi.o CC crypto/aead.o CC crypto/ablkcipher.o CC crypto/blkcipher.o CC crypto/skcipher.o LD crypto/crypto_blkcipher.o CC crypto/seqiv.o CC crypto/echainiv.o CC crypto/ahash.o CC crypto/shash.o LD crypto/crypto_hash.o CC crypto/akcipher.o CC crypto/kpp.o CC crypto/algboss.o CC crypto/testmgr.o LD crypto/cryptomgr.o CC crypto/hmac.o CC crypto/xcbc.o CC crypto/crypto_null.o CC crypto/md5.o CC crypto/sha1_generic.o CC crypto/sha256_generic.o CC crypto/sha512_generic.o CC crypto/gf128mul.o CC crypto/ecb.o CC crypto/cbc.o CC crypto/cts.o CC crypto/xts.o CC crypto/ctr.o CC crypto/gcm.o CC crypto/cryptd.o CC crypto/des_generic.o CC crypto/twofish_generic.o CC crypto/twofish_common.o CC crypto/aes_generic.o CC crypto/arc4.o CC crypto/deflate.o CC crypto/crc32c_generic.o CC crypto/authenc.o CC crypto/authencesn.o CC crypto/lzo.o CC crypto/lz4.o CC crypto/rng.o CC crypto/drbg.o CC crypto/jitterentropy.o CC crypto/jitterentropy-kcapi.o LD crypto/jitterentropy_rng.o CC crypto/ghash-generic.o CC crypto/ablk_helper.o LD crypto/built-in.o CC block/bio.o CC block/elevator.o CC block/blk-core.o CC block/blk-tag.o CC block/blk-sysfs.o CC block/blk-flush.o CC block/blk-settings.o CC block/blk-ioc.o CC block/blk-map.o CC block/blk-exec.o CC block/blk-merge.o CC block/blk-softirq.o CC block/blk-timeout.o CC block/blk-lib.o CC block/blk-mq.o CC block/blk-mq-tag.o CC block/blk-mq-sysfs.o CC block/blk-mq-cpumap.o CC block/ioctl.o CC block/genhd.o CC block/scsi_ioctl.o CC block/partition-generic.o CC block/ioprio.o CC block/badblocks.o CC block/partitions/check.o CC block/partitions/msdos.o CC block/partitions/efi.o LD block/partitions/built-in.o CC block/noop-iosched.o CC block/deadline-iosched.o CC block/cfq-iosched.o CC block/bfq-iosched.o CC block/compat_ioctl.o LD block/built-in.o CC drivers/amba/bus.o LD drivers/amba/built-in.o CC drivers/android/binder.o CC drivers/android/binder_alloc.o LD drivers/android/built-in.o LD drivers/auxdisplay/built-in.o CC drivers/base/component.o CC drivers/base/core.o CC drivers/base/bus.o CC drivers/base/dd.o CC drivers/base/syscore.o CC drivers/base/driver.o CC drivers/base/class.o CC drivers/base/platform.o CC drivers/base/cpu.o CC drivers/base/firmware.o CC drivers/base/init.o CC drivers/base/map.o CC drivers/base/devres.o CC drivers/base/attribute_container.o CC drivers/base/transport_class.o CC drivers/base/topology.o CC drivers/base/container.o CC drivers/base/property.o CC drivers/base/cacheinfo.o CC drivers/base/power/sysfs.o CC drivers/base/power/generic_ops.o CC drivers/base/power/common.o CC drivers/base/power/qos.o CC drivers/base/power/runtime.o CC drivers/base/power/wakeirq.o CC drivers/base/power/main.o CC drivers/base/power/wakeup.o CC drivers/base/power/clock_ops.o LD drivers/base/power/built-in.o CC drivers/base/regmap/regmap.o CC drivers/base/regmap/regcache.o CC drivers/base/regmap/regcache-rbtree.o CC drivers/base/regmap/regcache-lzo.o CC drivers/base/regmap/regcache-flat.o CC drivers/base/regmap/regmap-debugfs.o CC drivers/base/regmap/regmap-i2c.o CC drivers/base/regmap/regmap-spi.o CC drivers/base/regmap/regmap-mmio.o LD drivers/base/regmap/built-in.o CC drivers/base/dma-mapping.o CC drivers/base/dma-coherent.o CC drivers/base/firmware_class.o CC drivers/base/module.o CC drivers/base/pinctrl.o LD drivers/base/built-in.o CC drivers/block/loop.o CC drivers/block/zram/zcomp.o CC drivers/block/zram/zram_drv.o LD drivers/block/zram/zram.o LD drivers/block/zram/built-in.o LD drivers/block/built-in.o LD drivers/bus/built-in.o LD drivers/cdrom/built-in.o CC drivers/char/mem.o CC drivers/char/random.o CC drivers/char/misc.o LD drivers/char/agp/built-in.o CC drivers/char/rpmb/rpmb-mtk.o CC drivers/char/rpmb/core.o LD drivers/char/rpmb/rpmb.o LD drivers/char/rpmb/built-in.o LD drivers/char/built-in.o LD drivers/char/ipmi/built-in.o CC drivers/clk/clk-devres.o CC drivers/clk/clkdev.o CC drivers/clk/clk.o CC drivers/clk/clk-divider.o CC drivers/clk/clk-fixed-factor.o CC drivers/clk/clk-fixed-rate.o CC drivers/clk/clk-gate.o CC drivers/clk/clk-multiplier.o CC drivers/clk/clk-mux.o CC drivers/clk/clk-composite.o CC drivers/clk/clk-fractional-divider.o CC drivers/clk/clk-gpio.o CC drivers/clk/clk-conf.o CC drivers/clk/clk-xgene.o LD drivers/clk/bcm/built-in.o CC drivers/clk/mediatek/clk-mtk.o CC drivers/clk/mediatek/clk-pll.o CC drivers/clk/mediatek/clk-gate.o CC drivers/clk/mediatek/clk-mux.o CC drivers/clk/mediatek/clk-apmixed.o CC drivers/clk/mediatek/clk-mt6765.o CC drivers/clk/mediatek/clk-mt6765-pg.o CC drivers/clk/mediatek/clk-mtk-v1.o CC drivers/clk/mediatek/mt6765_clkmgr.o CC drivers/clk/mediatek/clk-bringup.o CC drivers/clk/mediatek/clkdbg.o CC drivers/clk/mediatek/clkchk.o CC drivers/clk/mediatek/clkdbg_mt6765.o CC drivers/clk/mediatek/clkchk-mt6765.o LD drivers/clk/mediatek/built-in.o LD drivers/clk/mvebu/built-in.o LD drivers/clk/ti/built-in.o LD drivers/clk/built-in.o CC drivers/clocksource/clksrc-probe.o CC drivers/clocksource/mmio.o CC drivers/clocksource/mtk_apxgpt.o CC drivers/clocksource/mtk_systimer.o CC drivers/clocksource/arm_arch_timer.o CC drivers/clocksource/dummy_timer.o LD drivers/clocksource/built-in.o CC drivers/cpufreq/cpufreq.o CC drivers/cpufreq/freq_table.o CC drivers/cpufreq/cpufreq_stats.o CC drivers/cpufreq/cpufreq_times.o CC drivers/cpufreq/cpufreq_performance.o CC drivers/cpufreq/cpufreq_powersave.o CC drivers/cpufreq/cpufreq_userspace.o CC drivers/cpufreq/cpufreq_ondemand.o CC drivers/cpufreq/cpufreq_interactive.o CC drivers/cpufreq/cpufreq_governor.o CC drivers/cpufreq/cpufreq_governor_attr_set.o LD drivers/cpufreq/built-in.o CC drivers/cpuidle/cpuidle.o CC drivers/cpuidle/driver.o CC drivers/cpuidle/governor.o CC drivers/cpuidle/sysfs.o CC drivers/cpuidle/governors/menu.o CC drivers/cpuidle/governors/mtk_menu.o LD drivers/cpuidle/governors/built-in.o CC drivers/cpuidle/cpuidle-mtk_acao.o LD drivers/cpuidle/built-in.o LD drivers/crypto/built-in.o CC drivers/devfreq/devfreq.o CC drivers/devfreq/helio-dvfsrc-opp.o drivers/devfreq/helio-dvfsrc-opp.c:14:26: fatal error: helio-dvfsrc.h: No such file or directory

include

                      ^

compilation terminated. make[2]: [scripts/Makefile.build:335: drivers/devfreq/helio-dvfsrc-opp.o] Error 1 make[1]: [scripts/Makefile.build:648: drivers/devfreq] Error 2 make: *** [Makefile:1091: drivers] Error 2 ubuntu@ubuntu-1:~/kernel/android_kernel_xiaomi_mt6765$

Vladusas commented 10 months ago

I'm using lineage-16.0 branch