Mod edit: Thread closed as duplicate of
Building crDroid
I seem to be having this specific error when building crDroid for devices flame and/or coral and i can't figure out the problem... Could someone assist me? Here is the log and here is the roomservice.xml file Any assistance would be greatly...
forum.xda-developers.com
Oswald Boelcke
Senior Moderator
I seem to be having this specific error when building crDroid for devices flame and/or coral and i can't figure out the problem... Could someone assist me?
Here is the log
Spoiler
/home/tech180/android/crDroid/kernel/google/coral/techpack/audio/asoc/codecs/wcd934x/wcd934x.c:2743:6: error: varia
ble 'ret' set but not used [-Werror,-Wunused-but-set-variable]
int ret = 0;
^
/home/tech180/android/crDroid/kernel/google/coral/techpack/audio/asoc/codecs/wcd934x/wcd934x.c:4043:6: error: varia
ble 'reg' set but not used [-Werror,-Wunused-but-set-variable]
u16 reg;
^
/home/tech180/android/crDroid/kernel/google/coral/techpack/audio/asoc/codecs/wcd934x/wcd934x.c:4364:22: error: vari
able 'hpf_gate_reg' set but not used [-Werror,-Wunused-but-set-variable]
u16 tx_vol_ctl_reg, hpf_gate_reg;
^
CC kernel/sys_ni.o
CC sound/core/control.o
CC kernel/nsproxy.o
CC block/blk-ioc.o
CC kernel/notifier.o
CC kernel/ksysfs.o
CC block/blk-map.o
CC arch/arm64/kernel/topology.o
3 errors generated.
make[6]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: techpack/audio/asoc/cod
ecs/wcd934x/wcd934x.o] Error 1
make[5]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: techpack/audio/asoc/cod
ecs/wcd934x] Error 2
make[4]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: techpack/audio/asoc/cod
ecs] Error 2
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: techpack/audio/asoc] Er
ror 2
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: techpack/audio] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: techpack] Error 2
make[1]: *** Waiting for unfinished jobs....
CC kernel/cred.o
CC kernel/reboot.o
CC drivers/android/binder_alloc.o
CC crypto/niap.o
AS arch/arm64/kernel/smccc-call.o
CC kernel/async.o
CC kernel/range.o
CC kernel/smpboot.o
CC block/blk-exec.o
CC block/blk-merge.o
CC security/keys/process_keys.o
CC crypto/algapi.o
CC kernel/ucount.o
CC kernel/kmod.o
CC kernel/groups.o
CC arch/arm64/kernel/sys32.o
AR drivers/android/built-in.o
CC arch/arm64/kernel/signal32.o
CC fs/char_dev.o
AR drivers/auxdisplay/built-in.o
CC mm/page-writeback.o
CC kernel/cgroup/cgroup.o
CC sound/core/misc.o
CC kernel/debug/debug_core.o
CC block/blk-softirq.o
CC kernel/events/core.o
CC drivers/base/component.o
CC security/keys/request_key.o
CC kernel/bpf/core.o
CC arch/arm64/kernel/sys_compat.o
CC fs/stat.o
CC block/blk-timeout.o
CC crypto/scatterwalk.o
AR kernel/livepatch/built-in.o
CC kernel/irq/irqdesc.o
CC kernel/locking/mutex.o
AS arch/arm64/kernel/entry32.o
AS arch/arm64/kernel/kuser32.o
CC security/keys/request_key_auth.o
CC arch/arm64/kernel/arm64ksyms.o
CC block/blk-lib.o
CC sound/core/device.o
CC kernel/power/qos.o
CC drivers/base/core.o
CC mm/readahead.o
CC security/keys/user_defined.o
CC crypto/proc.o
CC crypto/aead.o
CC kernel/debug/gdbstub.o
CC fs/exec.o
CC kernel/irq/handle.o
CC kernel/locking/semaphore.o
CC sound/core/info.o
CC kernel/bpf/syscall.o
CC security/keys/compat.o
CC arch/arm64/kernel/module.o
CC crypto/ablkcipher.o
CC block/blk-mq.o
CC mm/swap.o
CC kernel/power/main.o
CC kernel/irq/manage.o
CC security/keys/proc.o
CC kernel/locking/rwsem.o
CC kernel/debug/kdb/kdb_io.o
/home/tech180/android/crDroid/kernel/google/coral/block/blk-mq.c:569:44: error: passing 8-byte aligned argument to
32-byte aligned parameter 2 of 'smp_call_function_single_async' may result in an unaligned pointer access [-Werror,
-Walign-mismatch]
smp_call_function_single_async(ctx->cpu, &rq->csd);
^
CC arch/arm64/kernel/module-plts.o
CC drivers/base/bus.o
CC fs/pipe.o
CC crypto/blkcipher.o
CC kernel/cgroup/namespace.o
1 error generated.
CC security/keys/sysctl.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: block/blk-mq.o] Error 1
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: block] Error 2
CC kernel/irq/spurious.o
CC kernel/locking/percpu-rwsem.o
CC arch/arm64/kernel/perf_regs.o
CC sound/core/ctljack.o
CC crypto/skcipher.o
CC kernel/power/console.o
CC kernel/irq/resend.o
CC kernel/irq/chip.o
CC mm/truncate.o
CC kernel/bpf/verifier.o
CC kernel/debug/kdb/kdb_main.o
CC kernel/locking/spinlock.o
CC crypto/seqiv.o
CC kernel/events/ring_buffer.o
CC drivers/base/dd.o
AR security/keys/built-in.o
CC kernel/irq/dummychip.o
CC kernel/cgroup/cgroup-v1.o
CC sound/core/jack.o
/home/tech180/android/crDroid/kernel/google/coral/crypto/seqiv.c:148:19: error: variable 'alg' set but not used [-W
error,-Wunused-but-set-variable]
struct aead_alg *alg;
^
1 error generated.
CC security/pfe/pfk.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: crypto/seqiv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC kernel/irq/devres.o
CC kernel/power/process.o
CC fs/namei.o
CC arch/arm64/kernel/perf_callchain.o
CC kernel/locking/osq_lock.o
CC mm/vmscan.o
CC drivers/base/syscore.o
CC kernel/irq/autoprobe.o
CC sound/core/hwdep.o
CC security/pfe/pfk_kc.o
CC kernel/power/suspend.o
CC kernel/events/callchain.o
CC kernel/locking/rtmutex.o
CC arch/arm64/kernel/perf_event.o
CC kernel/irq/irqdomain.o
CC kernel/irq/proc.o
CC kernel/cgroup/freezer.o
/home/tech180/android/crDroid/kernel/google/coral/mm/vmscan.c:2702:17: error: variable 'node_lru_pages' set but not
used [-Werror,-Wunused-but-set-variable]
unsigned long node_lru_pages = 0;
^
/home/tech180/android/crDroid/kernel/google/coral/mm/vmscan.c:3230:6: error: variable 'nid' set but not used [-Werr
or,-Wunused-but-set-variable]
int nid;
^
2 errors generated.
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: mm/vmscan.o] Error 1
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: mm] Error 2
CC kernel/events/hw_breakpoint.o
CC security/pfe/pfk_ice.o
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: crypto] Error 2
CC kernel/irq/cpuhotplug.o
CC fs/fcntl.o
CC kernel/debug/kdb/kdb_support.o
CC kernel/irq/pm.o
CC kernel/cgroup/legacy_freezer.o
CC kernel/locking/rwsem-xadd.o
CC sound/core/timer.o
CC kernel/events/uprobes.o
CC kernel/irq/msi.o
CC drivers/base/driver.o
CC arch/arm64/kernel/perf_trace_counters.o
CC kernel/bpf/inode.o
CC security/pfe/pfk_ext4.o
CC kernel/locking/qrwlock.o
CC kernel/irq/affinity.o
CC kernel/cgroup/cpuset.o
CC kernel/power/wakelock.o
CC kernel/debug/kdb/kdb_bt.o
AR kernel/locking/built-in.o
CC kernel/bpf/helpers.o
GENKDB kernel/debug/kdb/gen-kdb_cmds.c
CC drivers/base/class.o
CC kernel/debug/kdb/kdb_bp.o
CC sound/core/pcm.o
CC sound/core/pcm_native.o
/home/tech180/android/crDroid/kernel/google/coral/kernel/cgroup/cpuset.c:1528:17: error: variable 'cs' set but not
used [-Werror,-Wunused-but-set-variable]
struct cpuset *cs;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:362: kernel/cgroup/cpuset.o]
Error 1
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: kernel/cgroup] Error 2
make[2]: *** Waiting for unfinished jobs....
CC sound/core/pcm_lib.o
/home/tech180/android/crDroid/kernel/google/coral/arch/arm64/kernel/perf_trace_counters.c:153:11: error: variable '
rc' set but not used [-Werror,-Wunused-but-set-variable]
int cpu, rc;
^
1 error generated.
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: arch/arm64/kernel/perf_
trace_counters.o] Error 1
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: arch/arm64/kernel] Error 2
CC sound/core/pcm_misc.o
CC kernel/debug/kdb/kdb_debugger.o
CC fs/ioctl.o
AR kernel/irq/built-in.o
AR kernel/events/built-in.o
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:257:18: error: variable 'old_mask' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_mask old_mask;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:293:22: error: variable 'old_interval' se
t but not used [-Werror,-Wunused-but-set-variable]
struct snd_interval old_interval;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:333:18: error: variable 'old_mask' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_mask old_mask;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:334:22: error: variable 'old_interval' se
t but not used [-Werror,-Wunused-but-set-variable]
struct snd_interval old_interval;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:599:18: error: variable 'old_mask' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_mask old_mask;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:600:22: error: variable 'old_interval' se
t but not used [-Werror,-Wunused-but-set-variable]
struct snd_interval old_interval;
^
CC kernel/power/poweroff.o
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:1237:26: error: variable 'runtime' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_pcm_runtime *runtime;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:1251:26: error: variable 'runtime' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_pcm_runtime *runtime;
^
CC security/pfe/pfk_f2fs.o
CC fs/readdir.o
CC fs/select.o
CC sound/core/pcm_memory.o
CC fs/dcache.o
CC kernel/bpf/tnum.o
In file included from /home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:3632:
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_compat.c:661:26: error: variable 'runtime' set but
not used [-Werror,-Wunused-but-set-variable]
struct snd_pcm_runtime *runtime;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_compat.c:679:26: error: variable 'runtime' set but
not used [-Werror,-Wunused-but-set-variable]
struct snd_pcm_runtime *runtime;
^
10 errors generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: sound/core/pcm_native.o
] Error 1
make[3]: *** Waiting for unfinished jobs....
CC kernel/bpf/hashtab.o
CC kernel/bpf/arraymap.o
CC kernel/bpf/percpu_freelist.o
CC drivers/base/platform.o
CC kernel/bpf/bpf_lru_list.o
CC kernel/power/wakeup_reason.o
CC kernel/debug/kdb/gen-kdb_cmds.o
CC kernel/bpf/lpm_trie.o
CC kernel/bpf/map_in_map.o
AR kernel/debug/kdb/built-in.o
AR security/pfe/built-in.o
CC kernel/bpf/devmap.o
CC kernel/bpf/stackmap.o
AR kernel/debug/built-in.o
CC kernel/bpf/cgroup.o
CC drivers/base/cpu.o
CC fs/inode.o
CC fs/attr.o
AR kernel/power/built-in.o
CC fs/bad_inode.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: sound/core] Error 2
make[2]: *** Waiting for unfinished jobs....
CC fs/file.o
CC fs/filesystems.o
GEN security/selinux/flask.h security/selinux/av_permissions.h
CC security/selinux/avc.o
CC security/selinux/hooks.o
AR sound/drivers/mpu401/built-in.o
AR sound/drivers/opl3/built-in.o
AR sound/drivers/opl4/built-in.o
AR sound/drivers/pcsp/built-in.o
CC drivers/base/firmware.o
CC drivers/base/init.o
/home/tech180/android/crDroid/kernel/google/coral/kernel/bpf/cgroup.c:195:6: error: variable 'old_flags' set but no
t used [-Werror,-Wunused-but-set-variable]
u32 old_flags;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: kernel/bpf/cgroup.o] Er
ror 1
make[3]: *** Waiting for unfinished jobs....
AR sound/drivers/vx/built-in.o
CC drivers/base/map.o
AR sound/drivers/built-in.o
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: sound] Error 2
CC fs/namespace.o
CC fs/seq_file.o
CC drivers/base/devres.o
CC fs/xattr.o
CC drivers/base/attribute_container.o
CC drivers/base/transport_class.o
CC fs/libfs.o
CC fs/fs-writeback.o
CC security/selinux/selinuxfs.o
CC fs/pnode.o
CC drivers/base/topology.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: kernel/bpf] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: kernel] Error 2
CC drivers/base/container.o
CC fs/splice.o
/home/tech180/android/crDroid/kernel/google/coral/security/selinux/hooks.c:3043:6: error: variable 'sid' set but no
t used [-Werror,-Wunused-but-set-variable]
u32 sid, newsid, clen;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: security/selinux/hooks.
o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC fs/sync.o
CC drivers/base/property.o
CC fs/utimes.o
CC drivers/base/cacheinfo.o
CC drivers/base/devcon.o
CC fs/stack.o
CC drivers/base/dma-contiguous.o
CC security/smack/smack_lsm.o
CC fs/fs_struct.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: security/selinux] Error
2
make[2]: *** Waiting for unfinished jobs....
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 drivers/base/power/sysfs.o
CC fs/proc_namespace.o
CC drivers/base/regmap/regmap.o
AR drivers/base/test/built-in.o
CC fs/debugfs/inode.o
CC drivers/base/dma-mapping.o
CC fs/devpts/inode.o
CC fs/configfs/inode.o
CC security/smack/smack_access.o
CC drivers/base/power/generic_ops.o
CC fs/crypto/crypto.o
AR fs/exofs/built-in.o
CC fs/exportfs/expfs.o
CC fs/ecryptfs/dentry.o
CC fs/debugfs/file.o
CC drivers/base/dma-coherent.o
CC fs/ecryptfs/file.o
CC fs/f2fs/dir.o
CC fs/ext4/balloc.o
CC fs/crypto/fname.o
AR fs/devpts/devpts.o
CC fs/configfs/file.o
AR fs/exportfs/exportfs.o
AR fs/devpts/built-in.o
AR fs/exportfs/built-in.o
CC security/smack/smackfs.o
CC drivers/base/power/common.o
CC fs/ecryptfs/inode.o
CC fs/fat/cache.o
CC fs/fuse/dev.o
CC drivers/base/dma-removed.o
CC fs/incfs/data_mgmt.o
CC fs/crypto/hkdf.o
CC fs/configfs/dir.o
AR fs/debugfs/debugfs.o
CC fs/f2fs/file.o
CC fs/fat/dir.o
AR fs/debugfs/built-in.o
CC drivers/base/firmware_class.o
CC fs/jbd2/transaction.o
CC fs/ext4/bitmap.o
CC fs/crypto/hooks.o
/home/tech180/android/crDroid/kernel/google/coral/security/smack/smackfs.c:2879:16: error: variable 'root_inode' se
t but not used [-Werror,-Wunused-but-set-variable]
struct inode *root_inode;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:362: security/smack/smackfs.
o] Error 1
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: security/smack] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: security] Error 2
CC fs/crypto/keyring.o
CC fs/kernfs/mount.o
/home/tech180/android/crDroid/kernel/google/coral/fs/incfs/data_mgmt.c:1064:21: error: variable 'mi' set but not us
ed [-Werror,-Wunused-but-set-variable]
struct mount_info *mi = NULL;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: fs/incfs/data_mgmt.o] E
rror 1
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: fs/incfs] Error 2
make[2]: *** Waiting for unfinished jobs....
CC fs/fat/fatent.o
CC drivers/base/power/qos.o
CC drivers/base/power/runtime.o
CC drivers/base/regmap/regcache.o
CC fs/configfs/symlink.o
CC fs/ecryptfs/main.o
CC fs/fuse/dir.o
CC drivers/base/module.o
CC drivers/base/soc.o
CC fs/crypto/keysetup.o
CC fs/jbd2/commit.o
CC fs/ext4/block_validity.o
CC drivers/base/regmap/regcache-rbtree.o
CC fs/kernfs/inode.o
CC fs/ecryptfs/super.o
CC fs/configfs/mount.o
CC drivers/base/power/wakeirq.o
/home/tech180/android/crDroid/kernel/google/coral/drivers/base/module.c:38:6: error: variable 'no_warn' set but not
used [-Werror,-Wunused-but-set-variable]
int no_warn;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: drivers/base/module.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
CC drivers/base/power/main.o
CC fs/crypto/keysetup_v1.o
CC fs/crypto/policy.o
CC fs/fat/file.o
CC fs/configfs/item.o
CC drivers/base/regmap/regcache-flat.o
CC fs/fuse/file.o
CC fs/crypto/bio.o
CC fs/jbd2/recovery.o
CC fs/ext4/dir.o
CC fs/fat/inode.o
CC fs/crypto/fscrypt_ice.o
CC drivers/base/power/wakeup.o
CC fs/ecryptfs/mmap.o
CC fs/ecryptfs/read_write.o
CC fs/f2fs/inode.o
CC fs/kernfs/dir.o
CC drivers/base/regmap/regmap-debugfs.o
CC drivers/base/regmap/regmap-i2c.o
AR fs/configfs/configfs.o
CC drivers/base/power/wakeup_stats.o
CC fs/ecryptfs/crypto.o
AR fs/configfs/built-in.o
AR fs/crypto/fscrypto.o
CC drivers/base/power/domain.o
CC fs/fat/misc.o
CC fs/jbd2/checkpoint.o
CC drivers/base/power/opp/core.o
AR fs/crypto/built-in.o
CC fs/fat/nfs.o
CC fs/kernfs/file.o
CC drivers/base/power/domain_governor.o
CC fs/f2fs/namei.o
CC drivers/base/regmap/regmap-spi.o
CC fs/ecryptfs/keystore.o
CC fs/ext4/ext4_jbd2.o
CC fs/ecryptfs/kthread.o
CC fs/fuse/inode.o
CC fs/fat/namei_vfat.o
CC drivers/base/regmap/regmap-spmi.o
CC drivers/base/power/clock_ops.o
CC fs/fuse/control.o
CC drivers/base/regmap/regmap-mmio.o
CC drivers/base/power/opp/cpu.o
CC fs/f2fs/hash.o
CC fs/kernfs/symlink.o
CC fs/f2fs/super.o
CC fs/ecryptfs/debug.o
CC drivers/base/power/opp/of.o
CC fs/jbd2/revoke.o
CC fs/ecryptfs/messaging.o
CC fs/ext4/extents.o
CC fs/ext4/extents_status.o
CC drivers/base/power/opp/debugfs.o
CC fs/ext4/file.o
AR drivers/base/regmap/built-in.o
AR fs/kernfs/built-in.o
CC fs/ecryptfs/miscdev.o
CC fs/fuse/xattr.o
CC fs/ext4/fsmap.o
CC fs/fuse/acl.o
CC fs/ext4/fsync.o
AR fs/fat/fat.o
CC fs/ext4/hash.o
AR fs/fat/vfat.o
CC fs/ext4/ialloc.o
CC fs/f2fs/inline.o
CC fs/f2fs/checkpoint.o
CC fs/ext4/indirect.o
AR fs/fat/built-in.o
CC fs/jbd2/journal.o
CC fs/ext4/inline.o
AR drivers/base/power/opp/built-in.o
AR drivers/base/power/built-in.o
AR fs/fuse/fuse.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: drivers/base] Error 2
make[2]: *** Waiting for unfinished jobs....
CC fs/f2fs/gc.o
AR fs/fuse/built-in.o
CC fs/ext4/inode.o
CC fs/f2fs/data.o
CC drivers/block/brd.o
AR fs/ecryptfs/ecryptfs.o
AR fs/ecryptfs/built-in.o
CC drivers/block/loop.o
CC fs/f2fs/node.o
CC fs/ext4/ioctl.o
CC fs/ext4/mballoc.o
/home/tech180/android/crDroid/kernel/google/coral/drivers/block/loop.c:685:16: error: variable 'inode' set but not
used [-Werror,-Wunused-but-set-variable]
struct inode *inode;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:362: drivers/block/loop.o] E
rror 1
make[3]: *** Waiting for unfinished jobs....
CC fs/ext4/migrate.o
CC fs/ext4/mmp.o
CC fs/ext4/move_extent.o
AR fs/jbd2/jbd2.o
CC fs/f2fs/segment.o
CC fs/ext4/namei.o
CC fs/f2fs/recovery.o
AR fs/jbd2/built-in.o
CC fs/f2fs/shrinker.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: drivers/block] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: drivers] Error 2
CC fs/f2fs/extent_cache.o
CC fs/f2fs/sysfs.o
CC fs/ext4/page-io.o
CC fs/ext4/readpage.o
CC fs/f2fs/debug.o
CC fs/ext4/resize.o
CC fs/f2fs/xattr.o
/home/tech180/android/crDroid/kernel/google/coral/fs/ext4/namei.c:2186:23: error: variable 'sbi' set but not used [
-Werror,-Wunused-but-set-variable]
struct ext4_sb_info *sbi;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:362: fs/ext4/namei.o] Error
1
make[3]: *** Waiting for unfinished jobs....
CC fs/f2fs/acl.o
CC fs/ext4/super.o
CC fs/f2fs/verity.o
AR fs/f2fs/f2fs.o
AR fs/f2fs/built-in.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: fs/ext4] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: fs] Error 2
make[1]: Leaving directory '/home/tech180/android/crDroid/out/target/product/flame/obj/KERNEL_OBJ'
make: *** [Makefile:146: sub-make] Error 2
make: Leaving directory '/home/tech180/android/crDroid/kernel/google/coral'
15:09:24 ninja failed with: exit status 1
#### failed to build some targets (42:12 (mm:ss)) ####
and here is the roomservice.xml file
Spoiler
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_google_flame" path="device/google/flame" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_device_google_coral" path="device/google/coral" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_kernel_google_coral" path="kernel/google/coral" remote="github" revision="lineage-18.1" />
<project name="TheMuppets/proprietary_vendor_google" path="vendor/google" remote="github" revision="lineage-18.1" />
<project name="kdrag0n/proton-clang" path="prebuilts/clang/host/linux-x86/clang-proton" remote="github" revision="master" />
<project path="packages/apps/ElmyraService" remote="github" name="LineageOS/android_packages_apps_ElmyraService" />
</manifest>
Any assistance would be greatly appreciated!
Related
Hi every body, i'm now building android kernel for SKY-VEGA-S5 phone ( IM-A840S).
I followed these steps on the homepage of SKY .
They're :
1. How to build Kernel source of UI18760_kernel
a.First, Get Toolchain from android git server and etc ¡Š
GCC correct version is arm-eabi-4.4.3
b.modify Makefile
edit "CROSS_COMPILE" to toolchain path ( You downloaded )
ex) CROSS_COMPILE=$(You Download directory)/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
c.make CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=arm msm8960_ef44s_tp20_defconfig
d.make CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=arm
2. Kernel Image Location is arch/arm/boot/zImage
Module Image Location is drivers/*/*.ko
3. How to Clean Kernel object files
a.make ARCH=arm clean
__________________________________________________ ____________________________________
I downloaded the kernel package and extract to the /home folder.
And toolchain ..... /prebuilt folder is also extracted to the /home folder.
I modified Makefile.
CROSS_COMPILE ?=$/home/vip7009pro/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
Then I step by step followed the guide. But i got many error... ( I think the PATH was wrong, but I dont know how to correctly edit it ==' ).
Here they are :
__________________________________________________ ________________________________________
[email protected]:~/kernel$ make CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=arm
"======================LINUX INCLUDE=========================================== ================"
-I/home/vip7009pro/kernel/arch/arm/include -Iarch/arm/include/generated -Iinclude -include include/generated/autoconf.h
"================================================= ============================================="
"KERNEL ================================================== ===================================="
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -DT_EF44S -I ./include/pantech -include ./include/pantech/CUST_PANTECH.h -DFIRM_VER=\"S0215141\" -DSYS_MODEL_NAME=\"EF44S\" -DPANTECH_MODEL_NAME=\"IM-A840S\" -DFS_USER_DATA_VER=37 -DPANTECH_STORAGE_INTERNAL_EMUL -DFEATURE_AARM_RELEASE_MODE -D__KERNELBUILD__
"================================================= ============================================="
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/home/vip7009pro/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -Wp,-MD,kernel/.bounds.s.d -nostdinc -isystem /home/vip7009pro/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -print-file-name=include [Errno 13] Permission denied -I/home/vip7009pro/kernel/arch/arm/include -Iarch/arm/include/generated -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -DT_EF44S -I ./include/pantech -include ./include/pantech/CUST_PANTECH.h -DFIRM_VER="S0215141" -DSYS_MODEL_NAME="EF44S" -DPANTECH_MODEL_NAME="IM-A840S" -DFS_USER_DATA_VER=37 -DPANTECH_STORAGE_INTERNAL_EMUL -DFEATURE_AARM_RELEASE_MODE -D__KERNELBUILD__ -O2 -fstack-protector -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fomit-frame-pointer -g -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(bounds) -DKBUILD_MODNAME=KBUILD_STR(bounds) -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c [Errno 13] Permission denied
make[1]: *** [kernel/bounds.s] Error 13
make: *** [prepare0] Error 2
[email protected]:~/kernel$
Probably your toolchain binaries are just not marked executable, try
Code:
chmod 755 /home/vip7009pro/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/*
. If this doesn't help, check whether your kernel source tree is writable to you and that /home is mounted without option "noexec".
Zirias said:
Probably your toolchain binaries are just not marked executable, try
Code:
chmod 755 /home/vip7009pro/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/*
. If this doesn't help, check whether your kernel source tree is writable to you and that /home is mounted without option "noexec".
Click to expand...
Click to collapse
thanks but i got error :
[email protected]:~/kernel$ make CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=arm
"======================LINUX INCLUDE==========================================================="
-I/home/vip7009pro/kernel/arch/arm/include -Iarch/arm/include/generated -Iinclude -include include/generated/autoconf.h
"=============================================================================================="
"KERNEL ======================================================================================"
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -DT_EF44S -I ./include/pantech -include ./include/pantech/CUST_PANTECH.h -DFIRM_VER=\"S0215141\" -DSYS_MODEL_NAME=\"EF44S\" -DPANTECH_MODEL_NAME=\"IM-A840S\" -DFS_USER_DATA_VER=37 -DPANTECH_STORAGE_INTERNAL_EMUL -DFEATURE_AARM_RELEASE_MODE -D__KERNELBUILD__
"=============================================================================================="
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
arm-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
[email protected]:~/kernel$
What I have to do now ?
lmgtfy
Seriously, possible causes are quite numerous, you'll have to check your cross toolchain installation and configuration yourself and google is a good reference, good luck...
Zirias said:
lmgtfy
Seriously, possible causes are quite numerous, you'll have to check your cross toolchain installation and configuration yourself and google is a good reference, good luck...
Click to expand...
Click to collapse
Thank you for your help. I fixed these error, but others error appear =='
The kernel was compiling, but suddenly stop with this error , help me please :
_______________________________________________________________________
CC drivers/media/video/msm/sensors/sensor_i2c.o
CC drivers/media/video/msm/sensors/sensor_ctrl.o
LD drivers/media/video/msm/sensors/built-in.o
CC drivers/media/video/msm/wfd/mdp-subdev.o
CC drivers/media/video/msm/wfd/enc-subdev.o
CC drivers/media/video/msm/wfd/vsg-subdev.o
CC drivers/media/video/msm/wfd/wfd-ioctl.o
CC drivers/media/video/msm/wfd/wfd-util.o
LD drivers/media/video/msm/wfd/built-in.o
CC drivers/media/video/msm/msm_axi_qos.o
CC drivers/media/video/msm/flash.o
CC drivers/media/video/msm/msm_io_8960.o
CC drivers/media/video/msm/msm_vfe32.o
CC drivers/media/video/msm/msm_vpe.o
LD drivers/media/video/msm/built-in.o
CC drivers/media/video/uvc/uvc_driver.o
CC drivers/media/video/uvc/uvc_queue.o
CC drivers/media/video/uvc/uvc_v4l2.o
CC drivers/media/video/uvc/uvc_video.o
CC drivers/media/video/uvc/uvc_ctrl.o
CC drivers/media/video/uvc/uvc_status.o
CC drivers/media/video/uvc/uvc_isight.o
LD drivers/media/video/uvc/uvcvideo.o
LD drivers/media/video/uvc/built-in.o
LD drivers/media/video/built-in.o
LD drivers/media/built-in.o
CC drivers/mfd/mfd-core.o
CC drivers/mfd/wcd9310-core.o
CC drivers/mfd/wcd9310-irq.o
CC drivers/mfd/pm8921-core.o
drivers/mfd/pm8921-core.c:207: error: resources_pwrkey causes a section type conflict
drivers/mfd/pm8921-core.c:207: error: resources_pwrkey causes a section type conflict
drivers/mfd/pm8921-core.c:161: error: adc_cell_resources causes a section type conflict
drivers/mfd/pm8921-core.c:161: error: adc_cell_resources causes a section type conflict
make[2]: *** [drivers/mfd/pm8921-core.o] Error 1
make[1]: *** [drivers/mfd] Error 2
make: *** [drivers] Error 2
real 9m4.940s
user 8m6.010s
sys 0m33.994s
[email protected]:~/kernel$
I am attempting to compile the cm-11.0 kernel from https://github.com/CyanogenMod/android_kernel_google_msm with the AOSP 4.6 and 4.7 toolchains, but I keep getting this same build error.
Code:
CLEAN .
CLEAN arch/arm/kernel
CLEAN kernel
CLEAN usr
CLEAN .tmp_versions
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/mod/mk_elfconfig
HOSTCC scripts/selinux/mdp/mdp
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC init/main.o
CC init/do_mounts.o
HOSTCC usr/gen_init_cpio
UPD include/generated/compile.h
CC init/do_mounts_rd.o
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/vfp/vfpmodule.o
CC init/do_mounts_initrd.o
CC init/initramfs.o
AS arch/arm/vfp/entry.o
CC init/calibrate.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CC init/version.o
LD init/mounts.o
CC arch/arm/kernel/elf.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/opcodes.o
LD init/built-in.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/kernel/process.o
CC arch/arm/vfp/vfpdouble.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/kernel/return_address.o
CC arch/arm/mm/extable.o
arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
CC arch/arm/kernel/sched_clock.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/fault.o
CC arch/arm/kernel/signal.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/common/gic.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/time.o
CC arch/arm/common/cpaccess.o
CC arch/arm/kernel/traps.o
CC arch/arm/kernel/cpuidle.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/suspend.o
LD arch/arm/common/built-in.o
CC arch/arm/mm/iomap.o
LD arch/arm/net/built-in.o
CC arch/arm/kernel/smp.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/sys_oabi-compat.o
CC arch/arm/kernel/unwind.o
CC arch/arm/mm/flush.o
CC arch/arm/mm/idmap.o
CC arch/arm/kernel/swp_emulate.o
CC arch/arm/mm/ioremap.o
CC arch/arm/kernel/hw_breakpoint.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/update_vsyscall_arm.o
CC arch/arm/mm/pgd.o
CC arch/arm/kernel/pmu.o
CC arch/arm/mm/mmu.o
CC arch/arm/mm/vmregion.o
CC arch/arm/kernel/perf_event.o
CC arch/arm/kernel/topology.o
CC arch/arm/mm/alignment.o
CC arch/arm/kernel/user_accessible_timer.o
CC arch/arm/kernel/io.o
CC arch/arm/mm/highmem.o
AS arch/arm/kernel/head.o
AS arch/arm/mm/abort-ev7.o
AS arch/arm/mm/pabort-v7.o
AS arch/arm/mm/cache-v7.o
CC arch/arm/mm/copypage-v6.o
CC arch/arm/mach-msm/io.o
CC arch/arm/mm/context.o
AS arch/arm/mm/tlb-v7.o
CC arch/arm/mach-msm/dma.o
CC arch/arm/mach-msm/memory.o
AS arch/arm/mm/proc-v7.o
LD arch/arm/mm/built-in.o
CC arch/arm/perfmon/perf-function-hooks.o
CC arch/arm/kernel/init_task.o
CC arch/arm/mach-msm/timer.o
LD arch/arm/perfmon/built-in.o
CC kernel/fork.o
LDS arch/arm/kernel/vmlinux.lds
LD arch/arm/kernel/built-in.o
CC arch/arm/mach-msm/clock.o
CC mm/filemap.o
CC arch/arm/mach-msm/clock-voter.o
CC arch/arm/mach-msm/clock-dummy.o
CC arch/arm/mach-msm/modem_notifier.o
CC arch/arm/mach-msm/subsystem_map.o
CC arch/arm/mach-msm/nohlt.o
CC arch/arm/mach-msm/clock-debug.o
CC arch/arm/mach-msm/acpuclock.o
CC kernel/exec_domain.o
CC arch/arm/mach-msm/perf_trace_counters.o
CC arch/arm/mach-msm/acpuclock-krait.o
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0,
from arch/arm/mach-msm/perf_trace_counters.c:16:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
compilation terminated.
scripts/Makefile.build:307: recipe for target 'arch/arm/mach-msm/perf_trace_counters.o' failed
make[1]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/panic.o
CC mm/mempool.o
CC kernel/printk.o
CC kernel/cpu.o
CC mm/oom_kill.o
Makefile:949: recipe for target 'arch/arm/mach-msm' failed
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
CC mm/fadvise.o
CC kernel/exit.o
CC mm/maccess.o
CC mm/page_alloc.o
CC kernel/itimer.o
CC mm/page-writeback.o
TIMEC kernel/timeconst.h
defined(@array) is deprecated at kernel/timeconst.pl line 373.
(Maybe you should just omit the defined()?)
CC kernel/softirq.o
CC kernel/resource.o
CC kernel/sysctl.o
CC mm/readahead.o
CC kernel/sysctl_binary.o
CC mm/swap.o
CC kernel/capability.o
CC kernel/ptrace.o
CC mm/truncate.o
CC kernel/timer.o
CC mm/vmscan.o
CC mm/shmem.o
CC kernel/user.o
CC kernel/signal.o
CC kernel/sys.o
CC mm/prio_tree.o
CC mm/util.o
CC mm/mmzone.o
CC mm/vmstat.o
CC kernel/kmod.o
CC kernel/workqueue.o
CC mm/backing-dev.o
CC kernel/pid.o
CC mm/page_isolation.o
CC mm/mm_init.o
CC mm/mmu_context.o
CC mm/percpu.o
CC kernel/rcupdate.o
CC mm/compaction.o
CC kernel/extable.o
CC kernel/params.o
CC mm/fremap.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC mm/highmem.o
CC mm/madvise.o
CC kernel/wait.o
CC mm/memory.o
CC kernel/kfifo.o
CC mm/mincore.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC mm/mlock.o
CC kernel/mutex.o
CC kernel/hrtimer.o
CC mm/mmap.o
CC kernel/rwsem.o
CC kernel/nsproxy.o
CC kernel/srcu.o
CC mm/mprotect.o
CC kernel/semaphore.o
CC kernel/notifier.o
CC mm/mremap.o
CC kernel/ksysfs.o
CC kernel/cred.o
CC mm/msync.o
CC kernel/async.o
CC mm/rmap.o
CC mm/vmalloc.o
CC kernel/range.o
CC kernel/groups.o
CC kernel/smpboot.o
CC kernel/events/core.o
CC kernel/irq/irqdesc.o
CC mm/pagewalk.o
CC kernel/irq/handle.o
CC mm/pgtable-generic.o
CC kernel/irq/manage.o
CC mm/process_vm_access.o
CC mm/init-mm.o
CC mm/bootmem.o
CC mm/memblock.o
CC kernel/irq/spurious.o
CC mm/bounce.o
CC kernel/irq/resend.o
CC kernel/irq/chip.o
CC mm/dmapool.o
CC mm/slub.o
CC mm/migrate.o
CC kernel/irq/dummychip.o
CC kernel/irq/devres.o
CC kernel/irq/autoprobe.o
CC kernel/irq/irqdomain.o
CC kernel/events/ring_buffer.o
CC mm/cleancache.o
CC kernel/irq/proc.o
CC kernel/events/callchain.o
CC kernel/events/hw_breakpoint.o
CC kernel/irq/pm.o
CC kernel/power/qos.o
LD kernel/irq/built-in.o
CC kernel/sched/core.o
LD kernel/events/built-in.o
CC kernel/time/timekeeping.o
CC kernel/power/main.o
CC kernel/power/console.o
CC kernel/time/ntp.o
CC kernel/power/process.o
LD mm/built-in.o
CC kernel/time/clocksource.o
CC kernel/time/jiffies.o
CC kernel/power/suspend.o
CC kernel/time/timer_list.o
CC kernel/time/timecompare.o
CC kernel/power/wakelock.o
CC kernel/time/timeconv.o
CC kernel/time/posix-clock.o
CC kernel/time/clockevents.o
CC kernel/power/userwakelock.o
CC kernel/time/tick-common.o
CC kernel/time/tick-broadcast.o
CC kernel/time/tick-oneshot.o
CC kernel/power/earlysuspend.o
CC kernel/time/tick-sched.o
CC kernel/time/timer_stats.o
CC kernel/power/fbearlysuspend.o
CC kernel/trace/trace_clock.o
CC kernel/power/poweroff.o
LD kernel/time/built-in.o
CC kernel/freezer.o
LD kernel/power/built-in.o
CC kernel/profile.o
CC kernel/trace/ring_buffer.o
CC kernel/stacktrace.o
CC kernel/futex.o
CC kernel/rtmutex.o
CC kernel/sched/clock.o
CC kernel/smp.o
CC kernel/sched/idle_task.o
CC kernel/sched/fair.o
CC kernel/spinlock.o
CC kernel/trace/trace.o
CC kernel/uid16.o
CC kernel/kallsyms.o
CC kernel/cgroup.o
CC kernel/cgroup_freezer.o
GZIP kernel/config_data.gz
CC kernel/res_counter.o
CC kernel/stop_machine.o
CC kernel/sched/rt.o
CC kernel/audit.o
CC kernel/trace/trace_output.o
CC kernel/sched/stop_task.o
CC kernel/auditfilter.o
CC kernel/sched/sched_avg.o
CC kernel/auditsc.o
CC kernel/sched/cpupri.o
CC kernel/trace/trace_stat.o
LD kernel/sched/built-in.o
CC kernel/audit_watch.o
CC kernel/trace/trace_printk.o
CC kernel/audit_tree.o
CC kernel/rcutree.o
CC kernel/trace/trace_sched_switch.o
CC kernel/trace/trace_nop.o
CC kernel/utsname_sysctl.o
CC kernel/trace/blktrace.o
CC kernel/delayacct.o
CC kernel/trace/trace_events.o
CC kernel/trace/trace_export.o
CC kernel/taskstats.o
CC kernel/tsacct.o
CC kernel/trace/trace_event_perf.o
CC kernel/tracepoint.o
CC kernel/trace/trace_events_filter.o
CC kernel/elfcore.o
CC kernel/trace/power-traces.o
CC kernel/irq_work.o
CC kernel/cpu_pm.o
CC kernel/time.o
CHK kernel/config_data.h
UPD kernel/config_data.h
CC kernel/configs.o
CC kernel/trace/rpm-traces.o
LD kernel/trace/built-in.o
LD kernel/built-in.o
I can't find a perf_trace_counters.h file in my source at all, and the line of code where this is referenced actually uses a pointer so I'm having trouble debugging this.
dshoe said:
I am attempting to compile the cm-11.0 kernel from https://github.com/CyanogenMod/android_kernel_google_msm with the AOSP 4.6 and 4.7 toolchains, but I keep getting this same build error.
Code:
CLEAN .
CLEAN arch/arm/kernel
CLEAN kernel
CLEAN usr
CLEAN .tmp_versions
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/mod/mk_elfconfig
HOSTCC scripts/selinux/mdp/mdp
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC init/main.o
CC init/do_mounts.o
HOSTCC usr/gen_init_cpio
UPD include/generated/compile.h
CC init/do_mounts_rd.o
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/vfp/vfpmodule.o
CC init/do_mounts_initrd.o
CC init/initramfs.o
AS arch/arm/vfp/entry.o
CC init/calibrate.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CC init/version.o
LD init/mounts.o
CC arch/arm/kernel/elf.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/opcodes.o
LD init/built-in.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/kernel/process.o
CC arch/arm/vfp/vfpdouble.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/kernel/return_address.o
CC arch/arm/mm/extable.o
arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
CC arch/arm/kernel/sched_clock.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/fault.o
CC arch/arm/kernel/signal.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/common/gic.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/time.o
CC arch/arm/common/cpaccess.o
CC arch/arm/kernel/traps.o
CC arch/arm/kernel/cpuidle.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/suspend.o
LD arch/arm/common/built-in.o
CC arch/arm/mm/iomap.o
LD arch/arm/net/built-in.o
CC arch/arm/kernel/smp.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/sys_oabi-compat.o
CC arch/arm/kernel/unwind.o
CC arch/arm/mm/flush.o
CC arch/arm/mm/idmap.o
CC arch/arm/kernel/swp_emulate.o
CC arch/arm/mm/ioremap.o
CC arch/arm/kernel/hw_breakpoint.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/update_vsyscall_arm.o
CC arch/arm/mm/pgd.o
CC arch/arm/kernel/pmu.o
CC arch/arm/mm/mmu.o
CC arch/arm/mm/vmregion.o
CC arch/arm/kernel/perf_event.o
CC arch/arm/kernel/topology.o
CC arch/arm/mm/alignment.o
CC arch/arm/kernel/user_accessible_timer.o
CC arch/arm/kernel/io.o
CC arch/arm/mm/highmem.o
AS arch/arm/kernel/head.o
AS arch/arm/mm/abort-ev7.o
AS arch/arm/mm/pabort-v7.o
AS arch/arm/mm/cache-v7.o
CC arch/arm/mm/copypage-v6.o
CC arch/arm/mach-msm/io.o
CC arch/arm/mm/context.o
AS arch/arm/mm/tlb-v7.o
CC arch/arm/mach-msm/dma.o
CC arch/arm/mach-msm/memory.o
AS arch/arm/mm/proc-v7.o
LD arch/arm/mm/built-in.o
CC arch/arm/perfmon/perf-function-hooks.o
CC arch/arm/kernel/init_task.o
CC arch/arm/mach-msm/timer.o
LD arch/arm/perfmon/built-in.o
CC kernel/fork.o
LDS arch/arm/kernel/vmlinux.lds
LD arch/arm/kernel/built-in.o
CC arch/arm/mach-msm/clock.o
CC mm/filemap.o
CC arch/arm/mach-msm/clock-voter.o
CC arch/arm/mach-msm/clock-dummy.o
CC arch/arm/mach-msm/modem_notifier.o
CC arch/arm/mach-msm/subsystem_map.o
CC arch/arm/mach-msm/nohlt.o
CC arch/arm/mach-msm/clock-debug.o
CC arch/arm/mach-msm/acpuclock.o
CC kernel/exec_domain.o
CC arch/arm/mach-msm/perf_trace_counters.o
CC arch/arm/mach-msm/acpuclock-krait.o
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0,
from arch/arm/mach-msm/perf_trace_counters.c:16:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
compilation terminated.
scripts/Makefile.build:307: recipe for target 'arch/arm/mach-msm/perf_trace_counters.o' failed
make[1]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/panic.o
CC mm/mempool.o
CC kernel/printk.o
CC kernel/cpu.o
CC mm/oom_kill.o
Makefile:949: recipe for target 'arch/arm/mach-msm' failed
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
CC mm/fadvise.o
CC kernel/exit.o
CC mm/maccess.o
CC mm/page_alloc.o
CC kernel/itimer.o
CC mm/page-writeback.o
TIMEC kernel/timeconst.h
defined(@array) is deprecated at kernel/timeconst.pl line 373.
(Maybe you should just omit the defined()?)
CC kernel/softirq.o
CC kernel/resource.o
CC kernel/sysctl.o
CC mm/readahead.o
CC kernel/sysctl_binary.o
CC mm/swap.o
CC kernel/capability.o
CC kernel/ptrace.o
CC mm/truncate.o
CC kernel/timer.o
CC mm/vmscan.o
CC mm/shmem.o
CC kernel/user.o
CC kernel/signal.o
CC kernel/sys.o
CC mm/prio_tree.o
CC mm/util.o
CC mm/mmzone.o
CC mm/vmstat.o
CC kernel/kmod.o
CC kernel/workqueue.o
CC mm/backing-dev.o
CC kernel/pid.o
CC mm/page_isolation.o
CC mm/mm_init.o
CC mm/mmu_context.o
CC mm/percpu.o
CC kernel/rcupdate.o
CC mm/compaction.o
CC kernel/extable.o
CC kernel/params.o
CC mm/fremap.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC mm/highmem.o
CC mm/madvise.o
CC kernel/wait.o
CC mm/memory.o
CC kernel/kfifo.o
CC mm/mincore.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC mm/mlock.o
CC kernel/mutex.o
CC kernel/hrtimer.o
CC mm/mmap.o
CC kernel/rwsem.o
CC kernel/nsproxy.o
CC kernel/srcu.o
CC mm/mprotect.o
CC kernel/semaphore.o
CC kernel/notifier.o
CC mm/mremap.o
CC kernel/ksysfs.o
CC kernel/cred.o
CC mm/msync.o
CC kernel/async.o
CC mm/rmap.o
CC mm/vmalloc.o
CC kernel/range.o
CC kernel/groups.o
CC kernel/smpboot.o
CC kernel/events/core.o
CC kernel/irq/irqdesc.o
CC mm/pagewalk.o
CC kernel/irq/handle.o
CC mm/pgtable-generic.o
CC kernel/irq/manage.o
CC mm/process_vm_access.o
CC mm/init-mm.o
CC mm/bootmem.o
CC mm/memblock.o
CC kernel/irq/spurious.o
CC mm/bounce.o
CC kernel/irq/resend.o
CC kernel/irq/chip.o
CC mm/dmapool.o
CC mm/slub.o
CC mm/migrate.o
CC kernel/irq/dummychip.o
CC kernel/irq/devres.o
CC kernel/irq/autoprobe.o
CC kernel/irq/irqdomain.o
CC kernel/events/ring_buffer.o
CC mm/cleancache.o
CC kernel/irq/proc.o
CC kernel/events/callchain.o
CC kernel/events/hw_breakpoint.o
CC kernel/irq/pm.o
CC kernel/power/qos.o
LD kernel/irq/built-in.o
CC kernel/sched/core.o
LD kernel/events/built-in.o
CC kernel/time/timekeeping.o
CC kernel/power/main.o
CC kernel/power/console.o
CC kernel/time/ntp.o
CC kernel/power/process.o
LD mm/built-in.o
CC kernel/time/clocksource.o
CC kernel/time/jiffies.o
CC kernel/power/suspend.o
CC kernel/time/timer_list.o
CC kernel/time/timecompare.o
CC kernel/power/wakelock.o
CC kernel/time/timeconv.o
CC kernel/time/posix-clock.o
CC kernel/time/clockevents.o
CC kernel/power/userwakelock.o
CC kernel/time/tick-common.o
CC kernel/time/tick-broadcast.o
CC kernel/time/tick-oneshot.o
CC kernel/power/earlysuspend.o
CC kernel/time/tick-sched.o
CC kernel/time/timer_stats.o
CC kernel/power/fbearlysuspend.o
CC kernel/trace/trace_clock.o
CC kernel/power/poweroff.o
LD kernel/time/built-in.o
CC kernel/freezer.o
LD kernel/power/built-in.o
CC kernel/profile.o
CC kernel/trace/ring_buffer.o
CC kernel/stacktrace.o
CC kernel/futex.o
CC kernel/rtmutex.o
CC kernel/sched/clock.o
CC kernel/smp.o
CC kernel/sched/idle_task.o
CC kernel/sched/fair.o
CC kernel/spinlock.o
CC kernel/trace/trace.o
CC kernel/uid16.o
CC kernel/kallsyms.o
CC kernel/cgroup.o
CC kernel/cgroup_freezer.o
GZIP kernel/config_data.gz
CC kernel/res_counter.o
CC kernel/stop_machine.o
CC kernel/sched/rt.o
CC kernel/audit.o
CC kernel/trace/trace_output.o
CC kernel/sched/stop_task.o
CC kernel/auditfilter.o
CC kernel/sched/sched_avg.o
CC kernel/auditsc.o
CC kernel/sched/cpupri.o
CC kernel/trace/trace_stat.o
LD kernel/sched/built-in.o
CC kernel/audit_watch.o
CC kernel/trace/trace_printk.o
CC kernel/audit_tree.o
CC kernel/rcutree.o
CC kernel/trace/trace_sched_switch.o
CC kernel/trace/trace_nop.o
CC kernel/utsname_sysctl.o
CC kernel/trace/blktrace.o
CC kernel/delayacct.o
CC kernel/trace/trace_events.o
CC kernel/trace/trace_export.o
CC kernel/taskstats.o
CC kernel/tsacct.o
CC kernel/trace/trace_event_perf.o
CC kernel/tracepoint.o
CC kernel/trace/trace_events_filter.o
CC kernel/elfcore.o
CC kernel/trace/power-traces.o
CC kernel/irq_work.o
CC kernel/cpu_pm.o
CC kernel/time.o
CHK kernel/config_data.h
UPD kernel/config_data.h
CC kernel/configs.o
CC kernel/trace/rpm-traces.o
LD kernel/trace/built-in.o
LD kernel/built-in.o
I can't find a perf_trace_counters.h file in my source at all, and the line of code where this is referenced actually uses a pointer so I'm having trouble debugging this.
Click to expand...
Click to collapse
android_gooogle_kernel_msm its the google repo for qualcomm nexus´s and other equivilants in arch (in this case the cyanogenmod version).
so i bet would work in our device.
you should look for some kernel with samsung in the name or smdk4412
opssemnik said:
android_gooogle_kernel_msm its the google repo for qualcomm nexus´s and other equivilants in arch (in this case the cyanogenmod version).
so i bet would work in our device.
you should look for some kernel with samsung in the name or smdk4412
Click to expand...
Click to collapse
I am building on the Nexus 4, which uses the Qualcomm S4 pro I believe. This is in the Nexus 4 forum, did you mistake this for another device?
Sent from my Nexus 4 using Tapatalk
dshoe said:
I am building on the Nexus 4, which uses the Qualcomm S4 pro I believe. This is in the Nexus 4 forum, did you mistake this for another device?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
omg, i thought was the s3 forums, i am sorry, really, really,really sorry
opssemnik said:
omg, i thought was the s3 forums, i am sorry, really, really,really sorry
Click to expand...
Click to collapse
Haha it is okay.
Sent from my Nexus 4 using Tapatalk
When I run command make -j3 I get error:
include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
make[1]: Nothing to be done for 'arch/arm/boot/dtbs'.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC net/netfilter/xt_mark.o
net/netfilter/xt_mark.c:16:37: fatal error: linux/netfilter/xt_mark.h: No such file or directory
compilation terminated.
scripts/Makefile.build:307: recipe for target 'net/netfilter/xt_mark.o' failed
make[2]: *** [net/netfilter/xt_mark.o] Error 1
scripts/Makefile.build:443: recipe for target 'net/netfilter' failed
make[1]: *** [net/netfilter] Error 2
Makefile:950: recipe for target 'net' failed
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....
LD drivers/video/console/built-in.o
CC drivers/usb/core/driver.o
CC drivers/usb/core/config.o
CC drivers/video/msm/mdss/mdss_mdp.o
drivers/usb/core/driver.c: In function 'usb_hnp_polling_work':
drivers/usb/core/driver.c:1318:2: error: implicit declaration of function 'do_unbind_rebind' [-Werror=implicit-function-declaration]
drivers/usb/core/driver.c:1318:25: error: 'DO_UNBIND' undeclared (first use in this function)
drivers/usb/core/driver.c:1318:25: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
scripts/Makefile.build:307: recipe for target 'drivers/usb/core/driver.o' failed
make[3]: *** [drivers/usb/core/driver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC drivers/usb/gadget/android.o
scripts/Makefile.build:443: recipe for target 'drivers/usb/core' failed
make[2]: *** [drivers/usb/core] Error 2
make[2]: *** Waiting for unfinished jobs....
CC drivers/video/msm/mdss/mdss_fb.o
LD drivers/video/msm/mdss/mdss-mdp.o
LD drivers/video/msm/mdss/mdss-dsi.o
LD drivers/video/msm/mdss/built-in.o
LD drivers/video/msm/built-in.o
LD drivers/video/built-in.o
LD drivers/usb/gadget/g_android.o
LD drivers/usb/gadget/built-in.o
scripts/Makefile.build:443: recipe for target 'drivers/usb' failed
make[1]: *** [drivers/usb] Error 2
Makefile:950: recipe for target 'drivers' failed
make: *** [drivers] Error 2
Can this voltage and current regulators enable 5V for OTG support:
http://postimg.org/image/5tz9sq3k1/
http://postimg.org/image/cjkigpqwx/
http://postimg.org/image/3vykulf9d/
It will be nice - if you add it to the kernel.
The new kernel is coming ?
I tried do a new but always ERROR 2 in Ubuntu
nalas said:
It will be nice - if you add it to the kernel.
The new kernel is coming ?
I tried do a new but always ERROR 2 in Ubuntu
Click to expand...
Click to collapse
I also have error.
When I run command make -j3 I get error:
scripts/kconfig/conf --silentoldconfig Kconfig
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: Nothing to be done for 'arch/arm/boot/dtbs'.
make[1]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-msm/board-dt.o
CC arch/arm/mach-msm/sec-switch.o
LD drivers/base/regmap/built-in.o
LD drivers/base/built-in.o
arch/arm/mach-msm/sec-switch.c:818:16: error: redefinition of 'midas_switch_show_vbus'
arch/arm/mach-msm/sec-switch.c:226:16: note: previous definition of 'midas_switch_show_vbus' was here
arch/arm/mach-msm/sec-switch.c:838:16: error: redefinition of 'midas_switch_store_vbus'
arch/arm/mach-msm/sec-switch.c:246:16: note: previous definition of 'midas_switch_store_vbus' was here
arch/arm/mach-msm/sec-switch.c:884:1: error: redefinition of 'dev_attr_disable_vbus'
arch/arm/mach-msm/sec-switch.c:292:1: note: previous definition of 'dev_attr_disable_vbus' was here
arch/arm/mach-msm/sec-switch.c:940:21: error: redefinition of 'sec_booster'
arch/arm/mach-msm/sec-switch.c:348:21: note: previous definition of 'sec_booster' was here
arch/arm/mach-msm/sec-switch.c:946:19: error: redefinition of 'midas_sec_switch_init'
arch/arm/mach-msm/sec-switch.c:354:19: note: previous definition of 'midas_sec_switch_init' was here
arch/arm/mach-msm/sec-switch.c:983:5: error: redefinition of 'current_cable_type'
arch/arm/mach-msm/sec-switch.c:391:5: note: previous definition of 'current_cable_type' was here
arch/arm/mach-msm/sec-switch.c: In function 'max77804k_muic_mhl_cb':
arch/arm/mach-msm/sec-switch.c:1235:18: error: 'MAX77804K_MUIC_ATTACHED' undeclared (first use in this function)
arch/arm/mach-msm/sec-switch.c:1235:18: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-msm/sec-switch.c: At top level:
arch/arm/mach-msm/sec-switch.c:1348:8: error: variable 'max77804k_muic' has initializer but incomplete type
arch/arm/mach-msm/sec-switch.c:1349:2: error: unknown field 'usb_cb' specified in initializer
arch/arm/mach-msm/sec-switch.c:1349:2: warning: excess elements in struct initializer [enabled by default]
error, forbidden warning: sec-switch.c:1349
scripts/Makefile.build:307: recipe for target 'arch/arm/mach-msm/sec-switch.o' failed
make[1]: *** [arch/arm/mach-msm/sec-switch.o] Error 1
Makefile:950: recipe for target 'arch/arm/mach-msm' failed
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
CC sound/soc/codecs/wcd9306.o
CC sound/soc/codecs/wcd9306-tables.o
CC sound/soc/codecs/wcd9xxx-resmgr.o
LD drivers/gpio/built-in.o
CC sound/soc/codecs/wcd9xxx-mbhc.o
LD drivers/leds/built-in.o
LD drivers/input/touchscreen/built-in.o
LD drivers/input/built-in.o
LD sound/soc/codecs/snd-soc-wcd9306.o
LD sound/soc/codecs/snd-soc-msm-stub.o
LD sound/soc/codecs/built-in.o
CC sound/soc/msm/msm8226.o
CC drivers/mfd/sm501.o
CC drivers/misc/max77888-muic.o
CC sound/soc/msm/qdsp6v2/msm-dai-q6-v2.o
CC drivers/mfd/tps65010.o
CC drivers/mfd/twl-core.o
LD sound/soc/msm/qdsp6v2/snd-soc-qdsp6v2.o
CC drivers/misc/max77828-muic.o
LD sound/soc/msm/qdsp6v2/built-in.o
CC drivers/mfd/twl4030-irq.o
LD sound/soc/msm/snd-soc-qdsp6v2.o
LD sound/soc/msm/snd-soc-msm8226.o
LD sound/soc/msm/snd-soc-hostless-pcm.o
LD sound/soc/msm/built-in.o
CC drivers/mfd/twl6030-irq.o
LD sound/soc/built-in.o
LD sound/built-in.o
CC drivers/mfd/twl4030-madc.o
LD drivers/misc/built-in.o
drivers/misc/max77828-muic.o: In function `get_switch_sel':
/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77828-muic.c:223: multiple definition of `get_switch_sel'
drivers/misc/max77888-muic.o:/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77888-muic.c:205: first defined here
drivers/misc/max77828-muic.o: In function `powered_otg_control':
/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77828-muic.c:1854: multiple definition of `powered_otg_control'
drivers/misc/max77888-muic.o:/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77888-muic.c:1951: first defined here
drivers/misc/max77828-muic.o: In function `muic_otg_control':
/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77828-muic.c:1845: multiple definition of `muic_otg_control'
drivers/misc/max77888-muic.o:/home/toor/Desktop/GT-I9301I_KK_Opensource/Kernel/drivers/misc/max77888-muic.c:1942: first defined here
CC drivers/mfd/twl4030-power.o
scripts/Makefile.build:375: recipe for target 'drivers/misc/built-in.o' failed
make[2]: *** [drivers/misc/built-in.o] Error 1
scripts/Makefile.build:443: recipe for target 'drivers/misc' failed
make[1]: *** [drivers/misc] Error 2
make[1]: *** Waiting for unfinished jobs....
CC drivers/mfd/ezx-pcap.o
CC drivers/mfd/wcd9xxx-core.o
drivers/mfd/ezx-pcap.c: In function 'pcap_isr_work':
drivers/mfd/ezx-pcap.c:205:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
scripts/Makefile.build:307: recipe for target 'drivers/mfd/ezx-pcap.o' failed
make[2]: *** [drivers/mfd/ezx-pcap.o] Error 1
make[2]: *** Waiting for unfinished jobs....
scripts/Makefile.build:443: recipe for target 'drivers/mfd' failed
make[1]: *** [drivers/mfd] Error 2
Makefile:950: recipe for target 'drivers' failed
make: *** [drivers] Error 2
Error 2 - too.
I think this is problem with some path .
I have everythink installed what is nessesary.
nalas said:
Error 2 - too.
I think this is problem with some path .
I have everythink installed what is nessesary.
Click to expand...
Click to collapse
Do you know how to solve this problem?
not yet I still looking for it in google but every video have not this problem
nalas said:
not yet I still looking for it in google but every video have not this problem
Click to expand...
Click to collapse
Does this have to be installed?
Current Minimal Requirements
============================
Upgrade to at *least* these software revisions before thinking you've
encountered a bug! If you're unsure what version you're currently
running, the suggested command should tell you.
Again, keep in mind that this list assumes you are already functionally
running a Linux kernel. Also, not all tools are necessary on all
systems; obviously, if you don't have any ISDN hardware, for example,
you probably needn't concern yourself with isdn4k-utils.
o Gnu C 3.2 # gcc --version
o Gnu make 3.80 # make --version
o binutils 2.12 # ld -v
o util-linux 2.10o # fdformat --version
o module-init-tools 0.9.10 # depmod -V
o e2fsprogs 1.41.4 # e2fsck -V
o jfsutils 1.1.3 # fsck.jfs -V
o reiserfsprogs 3.6.3 # reiserfsck -V
o xfsprogs 2.6.0 # xfs_db -V
o squashfs-tools 4.0 # mksquashfs -version
o btrfs-progs 0.18 # btrfsck
o pcmciautils 004 # pccardctl -V
o quota-tools 3.09 # quota -V
o PPP 2.4.0 # pppd --version
o isdn4k-utils 3.1pre1 # isdnctrl 2>&1|grep version
o nfs-utils 1.0.5 # showmount --version
o procps 3.2.0 # ps --version
o oprofile 0.9 # oprofiled --version
o udev 081 # udevd --version
o grub 0.93 # grub --version || grub-install --version
o mcelog 0.6 # mcelog --version
o iptables 1.4.2 # iptables -V
Yhx - I check it.
I have Ubuntu 16.04 LTS and GCC 5.0 - maybe not compatible ...
make: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/basic/fixdep
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: not found
/home/nala/S3NEO/kernel/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 127
Makefile:986: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
CC scripts/mod/empty.o
/bin/sh: 1: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: not found
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 127
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:506: recipe for target 'scripts' failed
make: *** [scripts] Error 2
Did you select right directory of toolchain?
nalas said:
Yhx - I check it.
I have Ubuntu 16.04 LTS and GCC 5.0 - maybe not compatible ...
make: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/basic/fixdep
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: not found
/home/nala/S3NEO/kernel/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 127
Makefile:986: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
CC scripts/mod/empty.o
/bin/sh: 1: /opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: not found
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 127
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:506: recipe for target 'scripts' failed
make: *** [scripts] Error 2
Click to expand...
Click to collapse
Did you select right directory?
Pavlex4 said:
Did you select right directory?
Click to expand...
Click to collapse
I check it again but I'vo copiet it from arm-eabi- (file path) - thx
nalas said:
I check it again but I'vo copiet it from arm-eabi- (file path) - thx
Click to expand...
Click to collapse
Does this errors appear because of gcc?
Pavlex4 said:
Does this errors appear because of gcc?
Click to expand...
Click to collapse
Do you know how to downgrade version of gcc???
Find on github - google it.
Wysłane z mojego SM-G935F przy użyciu Tapatalka
nalas said:
Find on github - google it.
Wysłane z mojego SM-G935F przy użyciu Tapatalka
Click to expand...
Click to collapse
Did you try to compile kernel with gcc 3.2???
I seem to be having this specific error when building crDroid for devices flame and/or coral and i can't figure out the problem... Could someone assist me?
Here is the log
Spoiler
/home/tech180/android/crDroid/kernel/google/coral/techpack/audio/asoc/codecs/wcd934x/wcd934x.c:2743:6: error: varia
ble 'ret' set but not used [-Werror,-Wunused-but-set-variable]
int ret = 0;
^
/home/tech180/android/crDroid/kernel/google/coral/techpack/audio/asoc/codecs/wcd934x/wcd934x.c:4043:6: error: varia
ble 'reg' set but not used [-Werror,-Wunused-but-set-variable]
u16 reg;
^
/home/tech180/android/crDroid/kernel/google/coral/techpack/audio/asoc/codecs/wcd934x/wcd934x.c:4364:22: error: vari
able 'hpf_gate_reg' set but not used [-Werror,-Wunused-but-set-variable]
u16 tx_vol_ctl_reg, hpf_gate_reg;
^
CC kernel/sys_ni.o
CC sound/core/control.o
CC kernel/nsproxy.o
CC block/blk-ioc.o
CC kernel/notifier.o
CC kernel/ksysfs.o
CC block/blk-map.o
CC arch/arm64/kernel/topology.o
3 errors generated.
make[6]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: techpack/audio/asoc/cod
ecs/wcd934x/wcd934x.o] Error 1
make[5]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: techpack/audio/asoc/cod
ecs/wcd934x] Error 2
make[4]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: techpack/audio/asoc/cod
ecs] Error 2
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: techpack/audio/asoc] Er
ror 2
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: techpack/audio] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: techpack] Error 2
make[1]: *** Waiting for unfinished jobs....
CC kernel/cred.o
CC kernel/reboot.o
CC drivers/android/binder_alloc.o
CC crypto/niap.o
AS arch/arm64/kernel/smccc-call.o
CC kernel/async.o
CC kernel/range.o
CC kernel/smpboot.o
CC block/blk-exec.o
CC block/blk-merge.o
CC security/keys/process_keys.o
CC crypto/algapi.o
CC kernel/ucount.o
CC kernel/kmod.o
CC kernel/groups.o
CC arch/arm64/kernel/sys32.o
AR drivers/android/built-in.o
CC arch/arm64/kernel/signal32.o
CC fs/char_dev.o
AR drivers/auxdisplay/built-in.o
CC mm/page-writeback.o
CC kernel/cgroup/cgroup.o
CC sound/core/misc.o
CC kernel/debug/debug_core.o
CC block/blk-softirq.o
CC kernel/events/core.o
CC drivers/base/component.o
CC security/keys/request_key.o
CC kernel/bpf/core.o
CC arch/arm64/kernel/sys_compat.o
CC fs/stat.o
CC block/blk-timeout.o
CC crypto/scatterwalk.o
AR kernel/livepatch/built-in.o
CC kernel/irq/irqdesc.o
CC kernel/locking/mutex.o
AS arch/arm64/kernel/entry32.o
AS arch/arm64/kernel/kuser32.o
CC security/keys/request_key_auth.o
CC arch/arm64/kernel/arm64ksyms.o
CC block/blk-lib.o
CC sound/core/device.o
CC kernel/power/qos.o
CC drivers/base/core.o
CC mm/readahead.o
CC security/keys/user_defined.o
CC crypto/proc.o
CC crypto/aead.o
CC kernel/debug/gdbstub.o
CC fs/exec.o
CC kernel/irq/handle.o
CC kernel/locking/semaphore.o
CC sound/core/info.o
CC kernel/bpf/syscall.o
CC security/keys/compat.o
CC arch/arm64/kernel/module.o
CC crypto/ablkcipher.o
CC block/blk-mq.o
CC mm/swap.o
CC kernel/power/main.o
CC kernel/irq/manage.o
CC security/keys/proc.o
CC kernel/locking/rwsem.o
CC kernel/debug/kdb/kdb_io.o
/home/tech180/android/crDroid/kernel/google/coral/block/blk-mq.c:569:44: error: passing 8-byte aligned argument to
32-byte aligned parameter 2 of 'smp_call_function_single_async' may result in an unaligned pointer access [-Werror,
-Walign-mismatch]
smp_call_function_single_async(ctx->cpu, &rq->csd);
^
CC arch/arm64/kernel/module-plts.o
CC drivers/base/bus.o
CC fs/pipe.o
CC crypto/blkcipher.o
CC kernel/cgroup/namespace.o
1 error generated.
CC security/keys/sysctl.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: block/blk-mq.o] Error 1
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: block] Error 2
CC kernel/irq/spurious.o
CC kernel/locking/percpu-rwsem.o
CC arch/arm64/kernel/perf_regs.o
CC sound/core/ctljack.o
CC crypto/skcipher.o
CC kernel/power/console.o
CC kernel/irq/resend.o
CC kernel/irq/chip.o
CC mm/truncate.o
CC kernel/bpf/verifier.o
CC kernel/debug/kdb/kdb_main.o
CC kernel/locking/spinlock.o
CC crypto/seqiv.o
CC kernel/events/ring_buffer.o
CC drivers/base/dd.o
AR security/keys/built-in.o
CC kernel/irq/dummychip.o
CC kernel/cgroup/cgroup-v1.o
CC sound/core/jack.o
/home/tech180/android/crDroid/kernel/google/coral/crypto/seqiv.c:148:19: error: variable 'alg' set but not used [-W
error,-Wunused-but-set-variable]
struct aead_alg *alg;
^
1 error generated.
CC security/pfe/pfk.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: crypto/seqiv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC kernel/irq/devres.o
CC kernel/power/process.o
CC fs/namei.o
CC arch/arm64/kernel/perf_callchain.o
CC kernel/locking/osq_lock.o
CC mm/vmscan.o
CC drivers/base/syscore.o
CC kernel/irq/autoprobe.o
CC sound/core/hwdep.o
CC security/pfe/pfk_kc.o
CC kernel/power/suspend.o
CC kernel/events/callchain.o
CC kernel/locking/rtmutex.o
CC arch/arm64/kernel/perf_event.o
CC kernel/irq/irqdomain.o
CC kernel/irq/proc.o
CC kernel/cgroup/freezer.o
/home/tech180/android/crDroid/kernel/google/coral/mm/vmscan.c:2702:17: error: variable 'node_lru_pages' set but not
used [-Werror,-Wunused-but-set-variable]
unsigned long node_lru_pages = 0;
^
/home/tech180/android/crDroid/kernel/google/coral/mm/vmscan.c:3230:6: error: variable 'nid' set but not used [-Werr
or,-Wunused-but-set-variable]
int nid;
^
2 errors generated.
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: mm/vmscan.o] Error 1
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: mm] Error 2
CC kernel/events/hw_breakpoint.o
CC security/pfe/pfk_ice.o
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: crypto] Error 2
CC kernel/irq/cpuhotplug.o
CC fs/fcntl.o
CC kernel/debug/kdb/kdb_support.o
CC kernel/irq/pm.o
CC kernel/cgroup/legacy_freezer.o
CC kernel/locking/rwsem-xadd.o
CC sound/core/timer.o
CC kernel/events/uprobes.o
CC kernel/irq/msi.o
CC drivers/base/driver.o
CC arch/arm64/kernel/perf_trace_counters.o
CC kernel/bpf/inode.o
CC security/pfe/pfk_ext4.o
CC kernel/locking/qrwlock.o
CC kernel/irq/affinity.o
CC kernel/cgroup/cpuset.o
CC kernel/power/wakelock.o
CC kernel/debug/kdb/kdb_bt.o
AR kernel/locking/built-in.o
CC kernel/bpf/helpers.o
GENKDB kernel/debug/kdb/gen-kdb_cmds.c
CC drivers/base/class.o
CC kernel/debug/kdb/kdb_bp.o
CC sound/core/pcm.o
CC sound/core/pcm_native.o
/home/tech180/android/crDroid/kernel/google/coral/kernel/cgroup/cpuset.c:1528:17: error: variable 'cs' set but not
used [-Werror,-Wunused-but-set-variable]
struct cpuset *cs;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:362: kernel/cgroup/cpuset.o]
Error 1
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: kernel/cgroup] Error 2
make[2]: *** Waiting for unfinished jobs....
CC sound/core/pcm_lib.o
/home/tech180/android/crDroid/kernel/google/coral/arch/arm64/kernel/perf_trace_counters.c:153:11: error: variable '
rc' set but not used [-Werror,-Wunused-but-set-variable]
int cpu, rc;
^
1 error generated.
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: arch/arm64/kernel/perf_
trace_counters.o] Error 1
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: arch/arm64/kernel] Error 2
CC sound/core/pcm_misc.o
CC kernel/debug/kdb/kdb_debugger.o
CC fs/ioctl.o
AR kernel/irq/built-in.o
AR kernel/events/built-in.o
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:257:18: error: variable 'old_mask' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_mask old_mask;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:293:22: error: variable 'old_interval' se
t but not used [-Werror,-Wunused-but-set-variable]
struct snd_interval old_interval;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:333:18: error: variable 'old_mask' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_mask old_mask;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:334:22: error: variable 'old_interval' se
t but not used [-Werror,-Wunused-but-set-variable]
struct snd_interval old_interval;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:599:18: error: variable 'old_mask' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_mask old_mask;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:600:22: error: variable 'old_interval' se
t but not used [-Werror,-Wunused-but-set-variable]
struct snd_interval old_interval;
^
CC kernel/power/poweroff.o
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:1237:26: error: variable 'runtime' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_pcm_runtime *runtime;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:1251:26: error: variable 'runtime' set bu
t not used [-Werror,-Wunused-but-set-variable]
struct snd_pcm_runtime *runtime;
^
CC security/pfe/pfk_f2fs.o
CC fs/readdir.o
CC fs/select.o
CC sound/core/pcm_memory.o
CC fs/dcache.o
CC kernel/bpf/tnum.o
In file included from /home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_native.c:3632:
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_compat.c:661:26: error: variable 'runtime' set but
not used [-Werror,-Wunused-but-set-variable]
struct snd_pcm_runtime *runtime;
^
/home/tech180/android/crDroid/kernel/google/coral/sound/core/pcm_compat.c:679:26: error: variable 'runtime' set but
not used [-Werror,-Wunused-but-set-variable]
struct snd_pcm_runtime *runtime;
^
10 errors generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: sound/core/pcm_native.o
] Error 1
make[3]: *** Waiting for unfinished jobs....
CC kernel/bpf/hashtab.o
CC kernel/bpf/arraymap.o
CC kernel/bpf/percpu_freelist.o
CC drivers/base/platform.o
CC kernel/bpf/bpf_lru_list.o
CC kernel/power/wakeup_reason.o
CC kernel/debug/kdb/gen-kdb_cmds.o
CC kernel/bpf/lpm_trie.o
CC kernel/bpf/map_in_map.o
AR kernel/debug/kdb/built-in.o
AR security/pfe/built-in.o
CC kernel/bpf/devmap.o
CC kernel/bpf/stackmap.o
AR kernel/debug/built-in.o
CC kernel/bpf/cgroup.o
CC drivers/base/cpu.o
CC fs/inode.o
CC fs/attr.o
AR kernel/power/built-in.o
CC fs/bad_inode.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: sound/core] Error 2
make[2]: *** Waiting for unfinished jobs....
CC fs/file.o
CC fs/filesystems.o
GEN security/selinux/flask.h security/selinux/av_permissions.h
CC security/selinux/avc.o
CC security/selinux/hooks.o
AR sound/drivers/mpu401/built-in.o
AR sound/drivers/opl3/built-in.o
AR sound/drivers/opl4/built-in.o
AR sound/drivers/pcsp/built-in.o
CC drivers/base/firmware.o
CC drivers/base/init.o
/home/tech180/android/crDroid/kernel/google/coral/kernel/bpf/cgroup.c:195:6: error: variable 'old_flags' set but no
t used [-Werror,-Wunused-but-set-variable]
u32 old_flags;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: kernel/bpf/cgroup.o] Er
ror 1
make[3]: *** Waiting for unfinished jobs....
AR sound/drivers/vx/built-in.o
CC drivers/base/map.o
AR sound/drivers/built-in.o
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: sound] Error 2
CC fs/namespace.o
CC fs/seq_file.o
CC drivers/base/devres.o
CC fs/xattr.o
CC drivers/base/attribute_container.o
CC drivers/base/transport_class.o
CC fs/libfs.o
CC fs/fs-writeback.o
CC security/selinux/selinuxfs.o
CC fs/pnode.o
CC drivers/base/topology.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: kernel/bpf] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: kernel] Error 2
CC drivers/base/container.o
CC fs/splice.o
/home/tech180/android/crDroid/kernel/google/coral/security/selinux/hooks.c:3043:6: error: variable 'sid' set but no
t used [-Werror,-Wunused-but-set-variable]
u32 sid, newsid, clen;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: security/selinux/hooks.
o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC fs/sync.o
CC drivers/base/property.o
CC fs/utimes.o
CC drivers/base/cacheinfo.o
CC drivers/base/devcon.o
CC fs/stack.o
CC drivers/base/dma-contiguous.o
CC security/smack/smack_lsm.o
CC fs/fs_struct.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: security/selinux] Error
2
make[2]: *** Waiting for unfinished jobs....
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 drivers/base/power/sysfs.o
CC fs/proc_namespace.o
CC drivers/base/regmap/regmap.o
AR drivers/base/test/built-in.o
CC fs/debugfs/inode.o
CC drivers/base/dma-mapping.o
CC fs/devpts/inode.o
CC fs/configfs/inode.o
CC security/smack/smack_access.o
CC drivers/base/power/generic_ops.o
CC fs/crypto/crypto.o
AR fs/exofs/built-in.o
CC fs/exportfs/expfs.o
CC fs/ecryptfs/dentry.o
CC fs/debugfs/file.o
CC drivers/base/dma-coherent.o
CC fs/ecryptfs/file.o
CC fs/f2fs/dir.o
CC fs/ext4/balloc.o
CC fs/crypto/fname.o
AR fs/devpts/devpts.o
CC fs/configfs/file.o
AR fs/exportfs/exportfs.o
AR fs/devpts/built-in.o
AR fs/exportfs/built-in.o
CC security/smack/smackfs.o
CC drivers/base/power/common.o
CC fs/ecryptfs/inode.o
CC fs/fat/cache.o
CC fs/fuse/dev.o
CC drivers/base/dma-removed.o
CC fs/incfs/data_mgmt.o
CC fs/crypto/hkdf.o
CC fs/configfs/dir.o
AR fs/debugfs/debugfs.o
CC fs/f2fs/file.o
CC fs/fat/dir.o
AR fs/debugfs/built-in.o
CC drivers/base/firmware_class.o
CC fs/jbd2/transaction.o
CC fs/ext4/bitmap.o
CC fs/crypto/hooks.o
/home/tech180/android/crDroid/kernel/google/coral/security/smack/smackfs.c:2879:16: error: variable 'root_inode' se
t but not used [-Werror,-Wunused-but-set-variable]
struct inode *root_inode;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:362: security/smack/smackfs.
o] Error 1
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: security/smack] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: security] Error 2
CC fs/crypto/keyring.o
CC fs/kernfs/mount.o
/home/tech180/android/crDroid/kernel/google/coral/fs/incfs/data_mgmt.c:1064:21: error: variable 'mi' set but not us
ed [-Werror,-Wunused-but-set-variable]
struct mount_info *mi = NULL;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: fs/incfs/data_mgmt.o] E
rror 1
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: fs/incfs] Error 2
make[2]: *** Waiting for unfinished jobs....
CC fs/fat/fatent.o
CC drivers/base/power/qos.o
CC drivers/base/power/runtime.o
CC drivers/base/regmap/regcache.o
CC fs/configfs/symlink.o
CC fs/ecryptfs/main.o
CC fs/fuse/dir.o
CC drivers/base/module.o
CC drivers/base/soc.o
CC fs/crypto/keysetup.o
CC fs/jbd2/commit.o
CC fs/ext4/block_validity.o
CC drivers/base/regmap/regcache-rbtree.o
CC fs/kernfs/inode.o
CC fs/ecryptfs/super.o
CC fs/configfs/mount.o
CC drivers/base/power/wakeirq.o
/home/tech180/android/crDroid/kernel/google/coral/drivers/base/module.c:38:6: error: variable 'no_warn' set but not
used [-Werror,-Wunused-but-set-variable]
int no_warn;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:361: drivers/base/module.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
CC drivers/base/power/main.o
CC fs/crypto/keysetup_v1.o
CC fs/crypto/policy.o
CC fs/fat/file.o
CC fs/configfs/item.o
CC drivers/base/regmap/regcache-flat.o
CC fs/fuse/file.o
CC fs/crypto/bio.o
CC fs/jbd2/recovery.o
CC fs/ext4/dir.o
CC fs/fat/inode.o
CC fs/crypto/fscrypt_ice.o
CC drivers/base/power/wakeup.o
CC fs/ecryptfs/mmap.o
CC fs/ecryptfs/read_write.o
CC fs/f2fs/inode.o
CC fs/kernfs/dir.o
CC drivers/base/regmap/regmap-debugfs.o
CC drivers/base/regmap/regmap-i2c.o
AR fs/configfs/configfs.o
CC drivers/base/power/wakeup_stats.o
CC fs/ecryptfs/crypto.o
AR fs/configfs/built-in.o
AR fs/crypto/fscrypto.o
CC drivers/base/power/domain.o
CC fs/fat/misc.o
CC fs/jbd2/checkpoint.o
CC drivers/base/power/opp/core.o
AR fs/crypto/built-in.o
CC fs/fat/nfs.o
CC fs/kernfs/file.o
CC drivers/base/power/domain_governor.o
CC fs/f2fs/namei.o
CC drivers/base/regmap/regmap-spi.o
CC fs/ecryptfs/keystore.o
CC fs/ext4/ext4_jbd2.o
CC fs/ecryptfs/kthread.o
CC fs/fuse/inode.o
CC fs/fat/namei_vfat.o
CC drivers/base/regmap/regmap-spmi.o
CC drivers/base/power/clock_ops.o
CC fs/fuse/control.o
CC drivers/base/regmap/regmap-mmio.o
CC drivers/base/power/opp/cpu.o
CC fs/f2fs/hash.o
CC fs/kernfs/symlink.o
CC fs/f2fs/super.o
CC fs/ecryptfs/debug.o
CC drivers/base/power/opp/of.o
CC fs/jbd2/revoke.o
CC fs/ecryptfs/messaging.o
CC fs/ext4/extents.o
CC fs/ext4/extents_status.o
CC drivers/base/power/opp/debugfs.o
CC fs/ext4/file.o
AR drivers/base/regmap/built-in.o
AR fs/kernfs/built-in.o
CC fs/ecryptfs/miscdev.o
CC fs/fuse/xattr.o
CC fs/ext4/fsmap.o
CC fs/fuse/acl.o
CC fs/ext4/fsync.o
AR fs/fat/fat.o
CC fs/ext4/hash.o
AR fs/fat/vfat.o
CC fs/ext4/ialloc.o
CC fs/f2fs/inline.o
CC fs/f2fs/checkpoint.o
CC fs/ext4/indirect.o
AR fs/fat/built-in.o
CC fs/jbd2/journal.o
CC fs/ext4/inline.o
AR drivers/base/power/opp/built-in.o
AR drivers/base/power/built-in.o
AR fs/fuse/fuse.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: drivers/base] Error 2
make[2]: *** Waiting for unfinished jobs....
CC fs/f2fs/gc.o
AR fs/fuse/built-in.o
CC fs/ext4/inode.o
CC fs/f2fs/data.o
CC drivers/block/brd.o
AR fs/ecryptfs/ecryptfs.o
AR fs/ecryptfs/built-in.o
CC drivers/block/loop.o
CC fs/f2fs/node.o
CC fs/ext4/ioctl.o
CC fs/ext4/mballoc.o
/home/tech180/android/crDroid/kernel/google/coral/drivers/block/loop.c:685:16: error: variable 'inode' set but not
used [-Werror,-Wunused-but-set-variable]
struct inode *inode;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:362: drivers/block/loop.o] E
rror 1
make[3]: *** Waiting for unfinished jobs....
CC fs/ext4/migrate.o
CC fs/ext4/mmp.o
CC fs/ext4/move_extent.o
AR fs/jbd2/jbd2.o
CC fs/f2fs/segment.o
CC fs/ext4/namei.o
CC fs/f2fs/recovery.o
AR fs/jbd2/built-in.o
CC fs/f2fs/shrinker.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: drivers/block] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: drivers] Error 2
CC fs/f2fs/extent_cache.o
CC fs/f2fs/sysfs.o
CC fs/ext4/page-io.o
CC fs/ext4/readpage.o
CC fs/f2fs/debug.o
CC fs/ext4/resize.o
CC fs/f2fs/xattr.o
/home/tech180/android/crDroid/kernel/google/coral/fs/ext4/namei.c:2186:23: error: variable 'sbi' set but not used [
-Werror,-Wunused-but-set-variable]
struct ext4_sb_info *sbi;
^
1 error generated.
make[3]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:362: fs/ext4/namei.o] Error
1
make[3]: *** Waiting for unfinished jobs....
CC fs/f2fs/acl.o
CC fs/ext4/super.o
CC fs/f2fs/verity.o
AR fs/f2fs/f2fs.o
AR fs/f2fs/built-in.o
make[2]: *** [/home/tech180/android/crDroid/kernel/google/coral/scripts/Makefile.build:675: fs/ext4] Error 2
make[1]: *** [/home/tech180/android/crDroid/kernel/google/coral/Makefile:1194: fs] Error 2
make[1]: Leaving directory '/home/tech180/android/crDroid/out/target/product/flame/obj/KERNEL_OBJ'
make: *** [Makefile:146: sub-make] Error 2
make: Leaving directory '/home/tech180/android/crDroid/kernel/google/coral'
15:09:24 ninja failed with: exit status 1
#### failed to build some targets (42:12 (mm:ss)) ####
and here is the roomservice.xml file
Spoiler
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_google_flame" path="device/google/flame" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_device_google_coral" path="device/google/coral" remote="github" revision="lineage-18.1" />
<project name="LineageOS/android_kernel_google_coral" path="kernel/google/coral" remote="github" revision="lineage-18.1" />
<project name="TheMuppets/proprietary_vendor_google" path="vendor/google" remote="github" revision="lineage-18.1" />
<project name="kdrag0n/proton-clang" path="prebuilts/clang/host/linux-x86/clang-proton" remote="github" revision="master" />
<project path="packages/apps/ElmyraService" remote="github" name="LineageOS/android_packages_apps_ElmyraService" />
</manifest>
Any assistance would be greatly appreciated!