Code:
make
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
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
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_rd.o
CC init/do_mounts_initrd.o
CC init/do_mounts_md.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
LD init/built-in.o
AS usr/initramfs_data.o
LD usr/built-in.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/process.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/kernel/signal.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/time.o
CC arch/arm/kernel/traps.o
/home/basel/Desktop/pla/bin/arm-linux-androideabi-ld: internal error in relocate_special_relocatable, at /tmp/android-build-bb7e003d31d08f72cabc269a652912b7/src/build/../binutils/binutils-20100303/gold/arm.cc:9715
make[1]: *** [arch/arm/kernel/traps.o] Error 1
make: *** [arch/arm/kernel] Error 2
That is the error
Is there any way to fiix this error??
android 4.0.4
kernel 3.08
toolchain ver:
arm-linux-androideabi-4.6 : fail same error
arm-linux-androideabi-4.8 : fail same error
arm-linux-androideabi-4.4.x : arm.cc:9715
using ubuntu 12.04 x86 virtual box
make menuconfig
exit and save
then make
any help????
--Edit--
Solved
my problem was wrong configiration
Any help???
Solved
Solved
Related
This is my output after comiling cm7 from source:
I replace my zImage and It will not boot?
I just get a black screen..
Is there any way to fix this black screen?
If I delete the .config the build is a success again?
I don't know what is going on here but help would be appropriated..
CHK include/linux/version.h
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CHK include/generated/utsrelease.h
UPD 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
CC init/main.o
LD usr/built-in.o
CC arch/arm/kernel/elf.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/kernel/entry-common.o
CHK include/generated/compile.h
CC arch/arm/kernel/irq.o
CC init/do_mounts.o
CC arch/arm/kernel/process.o
CC arch/arm/kernel/ptrace.o
CC init/noinitramfs.o
CC init/calibrate.o
CC arch/arm/kernel/return_address.o
CC init/version.o
CC arch/arm/kernel/setup.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/kernel/signal.o
CC arch/arm/mm/init.o
arch/arm/mm/init.c: In function 'mem_init':
arch/arm/mm/init.c:616: warning: format '%4d' expects type 'int', but argument 22 has type 'long int'
arch/arm/mm/init.c:616: warning: format '%4d' expects type 'int', but argument 25 has type 'long int'
arch/arm/mm/init.c:616: warning: format '%4d' expects type 'int', but argument 28 has type 'long int'
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/mm/iomap.o
CC arch/arm/kernel/time.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/traps.o
CC arch/arm/mm/flush.o
CC arch/arm/mm/ioremap.o
CC arch/arm/kernel/io.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
CC arch/arm/mm/mmap.o
LDS arch/arm/kernel/vmlinux.lds
CC arch/arm/mm/pgd.o
LD arch/arm/kernel/built-in.o
CC arch/arm/mm/mmu.o
CC arch/arm/common/vic.o
CC arch/arm/common/icst.o
CC arch/arm/mm/vmregion.o
CC arch/arm/common/clkdev.o
CC arch/arm/mm/alignment.o
LD arch/arm/common/built-in.o
CC arch/arm/mach-versatile/core.o
AS arch/arm/mm/abort-ev5tj.o
AS arch/arm/mm/pabort-legacy.o
CC arch/arm/mm/copypage-v4wb.o
AS arch/arm/mm/tlb-v4wbi.o
AS arch/arm/mm/proc-arm926.o
LD arch/arm/mm/built-in.o
CC arch/arm/plat-versatile/clock.o
CC arch/arm/mach-versatile/versatile_pb.o
CC arch/arm/plat-versatile/timer-sp.o
CC arch/arm/plat-versatile/sched-clock.o
LD arch/arm/plat-versatile/built-in.o
LD arch/arm/mach-versatile/built-in.o
CC kernel/sched.o
CC mm/bootmem.o
CC mm/filemap.o
CC kernel/fork.o
CC mm/mempool.o
CC mm/oom_kill.o
CC kernel/exec_domain.o
CC mm/fadvise.o
CC mm/maccess.o
CC kernel/panic.o
CC mm/page_alloc.o
CC kernel/printk.o
CC kernel/cpu.o
CC mm/page-writeback.o
CC kernel/exit.o
CC mm/readahead.o
CC kernel/itimer.o
CC mm/swap.o
CC kernel/time.o
CC kernel/softirq.o
CC mm/truncate.o
kernel/softirq.c:62: warning: excess elements in array initializer
kernel/softirq.c:62: warning: (near initialization for 'softirq_to_name')
CC kernel/resource.o
CC mm/vmscan.o
CC kernel/sysctl.o
CC kernel/sysctl_binary.o
CC mm/shmem.o
CC kernel/capability.o
CC kernel/ptrace.o
CC mm/prio_tree.o
CC mm/util.o
CC kernel/timer.o
CC mm/mmzone.o
CC mm/vmstat.o
CC kernel/user.o
CC kernel/signal.o
CC mm/backing-dev.o
CC mm/page_isolation.o
CC mm/mm_init.o
CC mm/mmu_context.o
CC mm/percpu.o
CC kernel/sys.o
In file included from mm/percpu.c:662:
mm/percpu-km.c: In function 'pcpu_verify_alloc_info':
mm/percpu-km.c:105: warning: format '%zu' expects type 'size_t', but argument 2 has type 'unsigned int'
mm/percpu.c: In function 'pcpu_alloc':
mm/percpu.c:718: warning: format '%zu' expects type 'size_t', but argument 4 has type 'unsigned int'
mm/percpu.c:718: warning: format '%zu' expects type 'size_t', but argument 5 has type 'unsigned int'
mm/percpu.c:815: warning: format '%zu' expects type 'size_t', but argument 2 has type 'unsigned int'
mm/percpu.c:815: warning: format '%zu' expects type 'size_t', but argument 3 has type 'unsigned int'
mm/percpu.c: In function 'pcpu_dump_alloc_info':
mm/percpu.c:1110: warning: format '%zu' expects type 'size_t', but argument 3 has type 'unsigned int'
mm/percpu.c:1110: warning: format '%zu' expects type 'size_t', but argument 4 has type 'unsigned int'
mm/percpu.c:1110: warning: format '%zu' expects type 'size_t', but argument 5 has type 'unsigned int'
mm/percpu.c:1110: warning: format '%zu' expects type 'size_t', but argument 6 has type 'unsigned int'
mm/percpu.c:1110: warning: format '%zu' expects type 'size_t', but argument 7 has type 'unsigned int'
mm/percpu.c:1110: warning: format '%zu' expects type 'size_t', but argument 8 has type 'unsigned int'
CC kernel/kmod.o
CC mm/fremap.o
CC kernel/workqueue.o
CC mm/highmem.o
CC mm/madvise.o
CC mm/memory.o
CC kernel/pid.o
CC kernel/rcupdate.o
CC kernel/extable.o
CC kernel/params.o
CC mm/mincore.o
CC mm/mlock.o
CC kernel/posix-timers.o
CC mm/mmap.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC mm/mprotect.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC mm/mremap.o
CC mm/msync.o
CC kernel/mutex.o
CC mm/rmap.o
CC kernel/hrtimer.o
CC mm/vmalloc.o
CC kernel/rwsem.o
CC kernel/nsproxy.o
CC mm/pagewalk.o
CC kernel/srcu.o
CC kernel/semaphore.o
CC mm/init-mm.o
CC kernel/notifier.o
CC mm/memblock.o
CC kernel/ksysfs.o
CC kernel/pm_qos_params.o
CC mm/page_io.o
CC kernel/sched_clock.o
CC mm/swap_state.o
CC kernel/cred.o
CC mm/swapfile.o
CC kernel/async.o
CC kernel/range.o
CC kernel/jump_label.o
CC kernel/groups.o
CC kernel/stacktrace.o
CC kernel/irq/irqdesc.o
CC kernel/irq/handle.o
CC mm/thrash.o
CC kernel/irq/manage.o
CC mm/dmapool.o
CC kernel/irq/spurious.o
mm/dmapool.c: In function 'show_pools':
mm/dmapool.c:100: warning: format '%4Zu' expects type 'size_t', but argument 6 has type 'unsigned int'
mm/dmapool.c:100: warning: format '%4Zu' expects type 'size_t', but argument 7 has type 'unsigned int'
CC kernel/irq/resend.o
CC mm/slub.o
CC kernel/irq/chip.o
CC kernel/irq/dummychip.o
CC kernel/irq/devres.o
CC kernel/irq/autoprobe.o
CC kernel/irq/proc.o
LD kernel/irq/built-in.o
CC kernel/time/timekeeping.o
LD mm/built-in.o
CC fs/open.o
CC kernel/time/ntp.o
CC kernel/time/clocksource.o
CC kernel/time/jiffies.o
CC fs/read_write.o
CC kernel/time/timer_list.o
CC kernel/time/timecompare.o
CC kernel/time/timeconv.o
CC kernel/time/clockevents.o
CC fs/file_table.o
CC kernel/time/tick-common.o
CC fs/super.o
LD kernel/time/built-in.o
CC kernel/futex.o
CC kernel/rtmutex.o
CC fs/char_dev.o
CC kernel/up.o
CC fs/stat.o
CC kernel/uid16.o
CC kernel/kallsyms.o
CC kernel/utsname.o
CC fs/exec.o
CC kernel/pid_namespace.o
CC kernel/rcutiny.o
CC fs/pipe.o
CC kernel/utsname_sysctl.o
CC kernel/elfcore.o
LD kernel/built-in.o
LD ipc/built-in.o
CC security/commoncap.o
CC fs/namei.o
CC security/min_addr.o
LD security/built-in.o
CC fs/fcntl.o
CC fs/ioctl.o
CC fs/readdir.o
CC fs/select.o
CC fs/fifo.o
CC fs/dcache.o
CC fs/inode.o
CC fs/attr.o
CC fs/bad_inode.o
CC fs/file.o
LD crypto/built-in.o
CC block/elevator.o
fs/file.c: In function 'files_defer_init':
fs/file.c:408: warning: comparison of distinct pointer types lacks a cast
CC fs/filesystems.o
CC fs/namespace.o
CC block/blk-core.o
CC block/blk-tag.o
CC fs/seq_file.o
CC block/blk-sysfs.o
CC fs/xattr.o
CC block/blk-flush.o
CC fs/libfs.o
CC block/blk-settings.o
fs/libfs.c: In function 'simple_attr_write':
fs/libfs.c:803: warning: comparison of distinct pointer types lacks a cast
CC block/blk-ioc.o
CC fs/fs-writeback.o
CC block/blk-map.o
CC block/blk-exec.o
CC fs/pnode.o
CC block/blk-merge.o
CC fs/drop_caches.o
CC fs/splice.o
CC block/blk-softirq.o
CC block/blk-timeout.o
CC block/blk-iopoll.o
CC fs/sync.o
CC block/blk-lib.o
CC fs/utimes.o
CC block/ioctl.o
CC fs/stack.o
CC block/genhd.o
CC fs/fs_struct.o
CC fs/statfs.o
CC fs/buffer.o
CC block/scsi_ioctl.o
fs/buffer.c: In function '__find_get_block_slow':
fs/buffer.c:228: warning: format '%zu' expects type 'size_t', but argument 3 has type 'unsigned int'
CC block/bsg.o
CC fs/bio.o
CC block/noop-iosched.o
CC block/deadline-iosched.o
CC fs/block_dev.o
CC block/cfq-iosched.o
CC fs/direct-io.o
CC fs/mpage.o
LD block/built-in.o
CC drivers/amba/bus.o
LD drivers/amba/built-in.o
LD drivers/auxdisplay/built-in.o
CC drivers/base/core.o
CC fs/ioprio.o
CC drivers/base/sys.o
CC fs/devpts/inode.o
CC drivers/base/bus.o
LD fs/devpts/devpts.o
LD fs/devpts/built-in.o
CC fs/notify/fsnotify.o
CC drivers/base/dd.o
CC fs/notify/notification.o
CC drivers/base/syscore.o
CC fs/notify/group.o
CC drivers/base/driver.o
CC fs/notify/inode_mark.o
CC drivers/base/class.o
CC fs/notify/mark.o
CC drivers/base/platform.o
CC fs/notify/vfsmount_mark.o
CC fs/notify/dnotify/dnotify.o
CC drivers/base/cpu.o
LD fs/notify/dnotify/built-in.o
LD fs/notify/fanotify/built-in.o
CC fs/notify/inotify/inotify_fsnotify.o
CC drivers/base/firmware.o
CC fs/notify/inotify/inotify_user.o
CC drivers/base/init.o
CC drivers/base/map.o
CC drivers/base/devres.o
LD fs/notify/inotify/built-in.o
LD fs/notify/built-in.o
CC fs/partitions/check.o
CC drivers/base/attribute_container.o
CC drivers/base/transport_class.o
CC fs/partitions/msdos.o
LD drivers/base/power/built-in.o
CC drivers/base/dma-mapping.o
CC drivers/base/dma-coherent.o
LD fs/partitions/built-in.o
CC fs/proc/mmu.o
CC drivers/base/firmware_class.o
CC fs/proc/task_mmu.o
fs/proc/task_mmu.c: In function 'pagemap_read':
fs/proc/task_mmu.c:789: warning: comparison of distinct pointer types lacks a cast
LD drivers/base/built-in.o
LD drivers/block/built-in.o
LD drivers/cdrom/built-in.o
CC drivers/char/mem.o
CC fs/proc/inode.o
CC fs/proc/root.o
CC drivers/char/random.o
CC fs/proc/base.o
drivers/char/random.c: In function 'write_pool':
drivers/char/random.c:1082: warning: comparison of distinct pointer types lacks a cast
CC drivers/char/misc.o
CC drivers/char/hw_random/core.o
LD drivers/char/hw_random/rng-core.o
LD drivers/char/hw_random/built-in.o
LD drivers/char/built-in.o
LD drivers/clocksource/built-in.o
LD drivers/firewire/built-in.o
LD drivers/firmware/built-in.o
LD drivers/gpio/built-in.o
LD drivers/gpu/drm/i2c/built-in.o
LD drivers/gpu/drm/built-in.o
LD drivers/gpu/stub/built-in.o
LD drivers/gpu/vga/built-in.o
LD drivers/gpu/built-in.o
CC drivers/hid/hid-core.o
CC fs/proc/generic.o
CC fs/proc/array.o
CC fs/proc/proc_tty.o
CC drivers/hid/hid-input.o
CC fs/proc/cmdline.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
LD drivers/hid/hid.o
LD drivers/hid/built-in.o
CC drivers/hwmon/hwmon.o
LD drivers/hwmon/built-in.o
LD drivers/i2c/algos/built-in.o
LD drivers/i2c/busses/built-in.o
CC fs/proc/uptime.o
LD drivers/i2c/muxes/built-in.o
LD drivers/i2c/built-in.o
LD drivers/idle/built-in.o
LD drivers/ieee802154/built-in.o
CC drivers/input/input.o
CC fs/proc/version.o
CC fs/proc/softirqs.o
CC fs/proc/proc_sysctl.o
CC fs/proc/kmsg.o
CC fs/proc/page.o
CC drivers/input/input-compat.o
CC drivers/input/ff-core.o
LD fs/proc/proc.o
LD fs/proc/built-in.o
LD fs/quota/built-in.o
CC fs/ramfs/inode.o
CC drivers/input/mousedev.o
CC fs/ramfs/file-mmu.o
LD fs/ramfs/ramfs.o
LD fs/ramfs/built-in.o
CC fs/sysfs/inode.o
CC drivers/input/keyboard/atkbd.o
CC fs/sysfs/file.o
fs/sysfs/file.c: In function 'sysfs_read_file':
fs/sysfs/file.c:146: warning: format '%zd' expects type 'signed size_t', but argument 3 has type 'size_t'
CC fs/sysfs/dir.o
LD drivers/input/keyboard/built-in.o
CC drivers/input/mouse/psmouse-base.o
CC fs/sysfs/symlink.o
CC fs/sysfs/mount.o
CC drivers/input/mouse/synaptics.o
CC fs/sysfs/bin.o
CC fs/sysfs/group.o
CC drivers/input/mouse/alps.o
LD fs/sysfs/built-in.o
CC fs/eventpoll.o
CC drivers/input/mouse/logips2pp.o
CC fs/anon_inodes.o
CC drivers/input/mouse/trackpoint.o
CC fs/signalfd.o
LD drivers/input/mouse/psmouse.o
LD drivers/input/mouse/built-in.o
LD drivers/input/input-core.o
LD drivers/input/built-in.o
CC drivers/input/serio/serio.o
CC fs/timerfd.o
CC drivers/input/serio/serport.o
CC fs/eventfd.o
CC drivers/input/serio/libps2.o
LD drivers/input/serio/built-in.o
LD drivers/lguest/built-in.o
LD drivers/macintosh/built-in.o
LD drivers/media/IR/keymaps/built-in.o
LD drivers/media/IR/built-in.o
CC fs/aio.o
LD drivers/media/common/tuners/built-in.o
LD drivers/media/common/built-in.o
LD drivers/media/video/davinci/built-in.o
LD drivers/media/video/built-in.o
LD drivers/media/built-in.o
LD drivers/mfd/built-in.o
LD drivers/misc/cb710/built-in.o
LD drivers/misc/eeprom/built-in.o
LD drivers/misc/ti-st/built-in.o
LD drivers/misc/built-in.o
LD drivers/net/arm/built-in.o
LD drivers/net/built-in.o
LD drivers/platform/built-in.o
CC drivers/rtc/rtc-lib.o
LD drivers/rtc/built-in.o
LD drivers/serial/built-in.o
CC drivers/tty/tty_io.o
CC fs/locks.o
CC drivers/tty/n_tty.o
CC fs/binfmt_script.o
CC fs/binfmt_elf.o
CC drivers/tty/tty_ioctl.o
LD fs/built-in.o
CC drivers/tty/tty_ldisc.o
CC drivers/video/fb_notify.o
LD drivers/video/backlight/built-in.o
CC drivers/video/console/dummycon.o
CC drivers/tty/tty_buffer.o
LD drivers/video/console/built-in.o
LD drivers/video/display/built-in.o
LD drivers/video/omap2/displays/built-in.o
LD drivers/video/omap2/dss/built-in.o
LD drivers/video/omap2/omapfb/built-in.o
LD drivers/video/omap2/built-in.o
LD drivers/video/built-in.o
CC drivers/tty/tty_port.o
LD sound/built-in.o
LD firmware/built-in.o
CC net/nonet.o
LD net/built-in.o
LD arch/arm/lib/built-in.o
AS arch/arm/lib/ashldi3.o
CC drivers/tty/tty_mutex.o
AS arch/arm/lib/ashrdi3.o
AS arch/arm/lib/backtrace.o
AS arch/arm/lib/changebit.o
AS arch/arm/lib/clear_user.o
CC drivers/tty/pty.o
AS arch/arm/lib/clearbit.o
AS arch/arm/lib/copy_from_user.o
AS arch/arm/lib/copy_page.o
AS arch/arm/lib/copy_to_user.o
AS arch/arm/lib/csumipv6.o
AS arch/arm/lib/csumpartial.o
AS arch/arm/lib/csumpartialcopy.o
AS arch/arm/lib/csumpartialcopyuser.o
AS arch/arm/lib/delay.o
AS arch/arm/lib/div64.o
AS arch/arm/lib/findbit.o
AS arch/arm/lib/getuser.o
AS arch/arm/lib/io-readsb.o
CC drivers/tty/vt/vt_ioctl.o
AS arch/arm/lib/io-readsl.o
AS arch/arm/lib/io-readsw-armv4.o
AS arch/arm/lib/io-writesb.o
AS arch/arm/lib/io-writesl.o
AS arch/arm/lib/io-writesw-armv4.o
AS arch/arm/lib/lib1funcs.o
AS arch/arm/lib/lshrdi3.o
AS arch/arm/lib/memchr.o
AS arch/arm/lib/memcpy.o
AS arch/arm/lib/memmove.o
AS arch/arm/lib/memset.o
AS arch/arm/lib/memzero.o
AS arch/arm/lib/muldi3.o
AS arch/arm/lib/putuser.o
AS arch/arm/lib/setbit.o
AS arch/arm/lib/sha1.o
AS arch/arm/lib/strchr.o
AS arch/arm/lib/strncpy_from_user.o
AS arch/arm/lib/strnlen_user.o
AS arch/arm/lib/strrchr.o
AS arch/arm/lib/testchangebit.o
AS arch/arm/lib/testclearbit.o
AS arch/arm/lib/testsetbit.o
CC drivers/tty/vt/vc_screen.o
AS arch/arm/lib/ucmpdi2.o
AR arch/arm/lib/lib.a
CC drivers/tty/vt/selection.o
CC lib/bcd.o
CC drivers/tty/vt/keyboard.o
CC lib/div64.o
CC lib/sort.o
CC lib/parser.o
CC lib/halfmd4.o
CC drivers/tty/vt/consolemap.o
CC lib/debug_locks.o
CC lib/random32.o
CC lib/bust_spinlocks.o
CC lib/hexdump.o
CONMK drivers/tty/vt/consolemap_deftbl.c
CC drivers/tty/vt/vt.o
CC lib/kasprintf.o
CC lib/bitmap.o
CC lib/scatterlist.o
CC lib/string_helpers.o
CC lib/gcd.o
CC lib/lcm.o
CC lib/list_sort.o
CC lib/uuid.o
CC lib/iomap_copy.o
CC lib/devres.o
CC lib/find_last_bit.o
CC lib/hweight.o
SHIPPED drivers/tty/vt/defkeymap.c
CC drivers/tty/vt/consolemap_deftbl.o
CC lib/bitrev.o
CC drivers/tty/vt/defkeymap.o
LD drivers/tty/vt/built-in.o
LD drivers/tty/built-in.o
LD drivers/built-in.o
HOSTCC lib/gen_crc32table
CC lib/atomic64.o
CC lib/argv_split.o
CC lib/cmdline.o
CC lib/ctype.o
CC lib/dec_and_lock.o
CC lib/decompress.o
CC lib/dump_stack.o
CC lib/extable.o
CC lib/flex_array.o
CC lib/idr.o
CC lib/int_sqrt.o
CC lib/ioremap.o
CC lib/irq_regs.o
CC lib/is_single_threaded.o
CC lib/klist.o
CC lib/kobject.o
CC lib/kobject_uevent.o
CC lib/kref.o
CC lib/plist.o
CC lib/prio_heap.o
CC lib/prio_tree.o
CC lib/proportions.o
CC lib/radix-tree.o
CC lib/ratelimit.o
CC lib/rbtree.o
CC lib/reciprocal_div.o
CC lib/rwsem.o
CC lib/sha1.o
CC lib/show_mem.o
CC lib/string.o
CC lib/vsprintf.o
GEN lib/crc32table.h
CC lib/crc32.o
LD lib/built-in.o
AR lib/lib.a
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gzip
CC arch/arm/boot/compressed/misc.o
CC arch/arm/boot/compressed/decompress.o
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/piggy.gzip.o
AS arch/arm/boot/compressed/lib1funcs.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
I tried it again and now I get this:
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/lex.o
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
Generating include/generated/mach-types.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
CC kernel/bounds.s
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/selinux/genheaders/genheaders
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/conmakehash
CC init/main.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/kernel/elf.o
CHK include/generated/compile.h
UPD include/generated/compile.h
AS arch/arm/kernel/entry-armv.o
CC init/do_mounts.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC init/do_mounts_rd.o
CC arch/arm/kernel/ptrace.o
CC init/do_mounts_initrd.o
CC arch/arm/kernel/return_address.o
CC init/do_mounts_md.o
CC arch/arm/kernel/setup.o
CC init/initramfs.o
CC init/calibrate.o
CC arch/arm/kernel/signal.o
CC init/version.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/kernel/time.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/traps.o
arch/arm/mm/init.c: In function 'mem_init':
arch/arm/mm/init.c:616: warning: format '%4d' expects type 'int', but argument 22 has type 'long int'
arch/arm/mm/init.c:616: warning: format '%4d' expects type 'int', but argument 25 has type 'long int'
arch/arm/mm/init.c:616: warning: format '%4d' expects type 'int', but argument 28 has type 'long int'
CC arch/arm/kernel/armksyms.o
CC arch/arm/mm/iomap.o
CC arch/arm/kernel/module.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/bios32.o
CC arch/arm/mm/flush.o
CC arch/arm/mm/ioremap.o
CC arch/arm/kernel/isa.o
CC arch/arm/kernel/ftrace.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/machine_kexec.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/mmu.o
AS arch/arm/kernel/relocate_kernel.o
CC arch/arm/kernel/kprobes.o
CC arch/arm/kernel/kprobes-decode.o
CC arch/arm/mm/vmregion.o
CC arch/arm/kernel/atags.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/kernel/kgdb.o
CC arch/arm/mm/alignment.o
CC arch/arm/kernel/io.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
AS arch/arm/mm/abort-ev5tj.o
AS arch/arm/mm/pabort-legacy.o
CC arch/arm/mm/copypage-v4wb.o
AS arch/arm/mm/tlb-v4wbi.o
AS arch/arm/mm/proc-arm926.o
LD arch/arm/mm/built-in.o
LDS arch/arm/kernel/vmlinux.lds
LD arch/arm/kernel/built-in.o
CC arch/arm/common/vic.o
CC arch/arm/mach-versatile/core.o
CC arch/arm/common/icst.o
CC arch/arm/common/clkdev.o
CC arch/arm/mach-versatile/versatile_pb.o
LD arch/arm/common/built-in.o
CC arch/arm/mach-versatile/pci.o
CC arch/arm/plat-versatile/clock.o
LD arch/arm/mach-versatile/built-in.o
CC arch/arm/plat-versatile/timer-sp.o
CC kernel/sched.o
CC arch/arm/plat-versatile/sched-clock.o
CC arch/arm/plat-versatile/leds.o
LD arch/arm/plat-versatile/built-in.o
CC mm/bootmem.o
CC mm/filemap.o
CC mm/mempool.o
CC mm/oom_kill.o
CC mm/fadvise.o
CC mm/maccess.o
CC mm/page_alloc.o
CC kernel/fork.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC mm/page-writeback.o
CC kernel/printk.o
mm/page-writeback.c: In function 'write_cache_pages':
mm/page-writeback.c:860: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [mm/page-writeback.o] Error 1
make: *** [mm] Error 2
make: *** Waiting for unfinished jobs....
CC kernel/cpu.o
CC kernel/exit.o
CC kernel/itimer.o
TIMEC kernel/timeconst.h
CC kernel/softirq.o
kernel/softirq.c:62: warning: excess elements in array initializer
kernel/softirq.c:62: warning: (near initialization for 'softirq_to_name')
CC kernel/resource.o
CC kernel/sysctl.o
CC kernel/sysctl_binary.o
CC kernel/capability.o
CC kernel/ptrace.o
CC kernel/timer.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/rcupdate.o
CC kernel/extable.o
CC kernel/params.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC kernel/mutex.o
CC kernel/hrtimer.o
CC kernel/rwsem.o
CC kernel/nsproxy.o
CC kernel/srcu.o
CC kernel/semaphore.o
CC kernel/notifier.o
CC kernel/ksysfs.o
kernel/ksysfs.c: In function 'kexec_crash_size_show':
kernel/ksysfs.c:106: warning: format '%zu' expects type 'size_t', but argument 3 has type 'unsigned int'
CC kernel/pm_qos_params.o
CC kernel/sched_clock.o
CC kernel/cred.o
CC kernel/async.o
CC kernel/range.o
CC kernel/jump_label.o
CC kernel/groups.o
CC kernel/freezer.o
CC kernel/profile.o
CC kernel/sysctl_check.o
CC kernel/stacktrace.o
CC kernel/debug/debug_core.o
CC kernel/irq/irqdesc.o
CC kernel/irq/handle.o
CC kernel/irq/manage.o
CC kernel/debug/gdbstub.o
CC kernel/irq/spurious.o
CC kernel/debug/kdb/kdb_io.o
CC kernel/irq/resend.o
CC kernel/irq/chip.o
CC kernel/debug/kdb/kdb_main.o
CC kernel/irq/dummychip.o
CC kernel/irq/devres.o
CC kernel/irq/autoprobe.o
CC kernel/irq/proc.o
CC kernel/irq/pm.o
CC kernel/debug/kdb/kdb_support.o
LD kernel/irq/built-in.o
CC kernel/power/main.o
CC kernel/power/console.o
CC kernel/debug/kdb/kdb_bt.o
CC kernel/power/process.o
GENKDB kernel/debug/kdb/gen-kdb_cmds.c
CC kernel/debug/kdb/kdb_bp.o
CC kernel/power/suspend.o
CC kernel/debug/kdb/kdb_debugger.o
CC kernel/power/suspend_test.o
CC kernel/debug/kdb/kdb_keyboard.o
CC kernel/power/nvs.o
CC kernel/debug/kdb/gen-kdb_cmds.o
CC kernel/power/poweroff.o
LD kernel/debug/kdb/built-in.o
LD kernel/debug/built-in.o
CC kernel/time/timekeeping.o
LD kernel/power/built-in.o
CC kernel/trace/trace_selftest_dynamic.o
CC kernel/trace/trace_clock.o
CC kernel/trace/ftrace.o
CC kernel/time/ntp.o
CC kernel/time/clocksource.o
CC kernel/time/jiffies.o
CC kernel/trace/ring_buffer.o
CC kernel/time/timer_list.o
CC kernel/time/timecompare.o
CC kernel/time/timeconv.o
CC kernel/time/clockevents.o
CC kernel/time/tick-common.o
CC kernel/trace/trace.o
CC kernel/time/tick-oneshot.o
CC kernel/time/tick-sched.o
CC kernel/time/timer_stats.o
LD kernel/time/built-in.o
CC kernel/futex.o
CC kernel/trace/trace_output.o
CC kernel/trace/trace_stat.o
CC kernel/rtmutex.o
CC kernel/trace/trace_printk.o
CC kernel/up.o
CC kernel/trace/trace_sched_switch.o
CC kernel/uid16.o
CC kernel/trace/trace_functions.o
CC kernel/trace/trace_sched_wakeup.o
CC kernel/module.o
CC kernel/trace/trace_nop.o
CC kernel/trace/trace_stack.o
CC kernel/trace/blktrace.o
CC kernel/kallsyms.o
CC kernel/trace/trace_events.o
CC kernel/acct.o
CC kernel/kexec.o
CC kernel/trace/trace_export.o
CC kernel/trace/trace_event_perf.o
CC kernel/cgroup.o
CC kernel/trace/trace_events_filter.o
CC kernel/trace/trace_kprobe.o
CC kernel/cgroup_freezer.o
CC kernel/trace/power-traces.o
CC kernel/cpuset.o
kernel/cpuset.c: In function 'cpuset_can_attach':
kernel/cpuset.c:1385: error: 'task' undeclared (first use in this function)
kernel/cpuset.c:1385: error: (Each undeclared identifier is reported only once
kernel/cpuset.c:1385: error: for each function it appears in.)
make[1]: *** [kernel/cpuset.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/trace/trace_kdb.o
LD kernel/trace/libftrace.o
LD kernel/trace/built-in.o
make: *** [kernel] Error 2
I've tried to compile liquid mini kernel from acer sources... But when i try to compile i get some errors...
Code:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
LD arch/arm/lib/built-in.o
AS arch/arm/lib/ashldi3.o
AS arch/arm/lib/ashrdi3.o
AS arch/arm/lib/backtrace.o
AS arch/arm/lib/changebit.o
AS arch/arm/lib/clear_user.o
AS arch/arm/lib/clearbit.o
AS arch/arm/lib/copy_from_user.o
AS arch/arm/lib/copy_page.o
AS arch/arm/lib/copy_to_user.o
AS arch/arm/lib/csumipv6.o
AS arch/arm/lib/csumpartial.o
AS arch/arm/lib/csumpartialcopy.o
AS arch/arm/lib/csumpartialcopyuser.o
CC arch/arm/lib/delay.o
AS arch/arm/lib/div64.o
AS arch/arm/lib/findbit.o
AS arch/arm/lib/getuser.o
AS arch/arm/lib/io-readsb.o
AS arch/arm/lib/io-readsl.o
AS arch/arm/lib/io-readsw-armv4.o
AS arch/arm/lib/io-writesb.o
AS arch/arm/lib/io-writesl.o
AS arch/arm/lib/io-writesw-armv4.o
AS arch/arm/lib/lib1funcs.o
AS arch/arm/lib/lshrdi3.o
AS arch/arm/lib/memchr.o
AS arch/arm/lib/memcpy.o
AS arch/arm/lib/memmove.o
AS arch/arm/lib/memset.o
AS arch/arm/lib/memzero.o
AS arch/arm/lib/muldi3.o
AS arch/arm/lib/putuser.o
AS arch/arm/lib/setbit.o
AS arch/arm/lib/sha1.o
AS arch/arm/lib/strchr.o
AS arch/arm/lib/strncpy_from_user.o
AS arch/arm/lib/strnlen_user.o
AS arch/arm/lib/strrchr.o
AS arch/arm/lib/testchangebit.o
AS arch/arm/lib/testclearbit.o
AS arch/arm/lib/testsetbit.o
AS arch/arm/lib/ucmpdi2.o
AR arch/arm/lib/lib.a
CC lib/bcd.o
CC lib/div64.o
CC lib/sort.o
LD drivers/platform/built-in.o
CC drivers/power/power_supply_core.o
CC drivers/rtc/rtc-lib.o
CC lib/parser.o
CC [M] drivers/net/wireless/bcm4329/dhd_linux.o
CC lib/halfmd4.o
CC drivers/rtc/hctosys.o
CC drivers/power/power_supply_sysfs.o
drivers/net/wireless/bcm4329/dhd_linux.c: In function 'dhd_rx_frame':
drivers/net/wireless/bcm4329/dhd_linux.c:1225:24: error: variable 'save_pktbuf' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[4]: *** [drivers/net/wireless/bcm4329/dhd_linux.o] Error 1
make[3]: *** [drivers/net/wireless/bcm4329] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....
CC drivers/power/cci_battery.o
CC lib/debug_locks.o
CC drivers/rtc/class.o
CC lib/random32.o
CC lib/bust_spinlocks.o
CC lib/hexdump.o
LD drivers/power/power_supply.o
CC lib/kasprintf.o
CC drivers/rtc/interface.o
CC lib/bitmap.o
CC lib/scatterlist.o
CC drivers/rtc/rtc-dev.o
CC lib/string_helpers.o
CC drivers/rtc/rtc-proc.o
CC lib/gcd.o
LD drivers/power/built-in.o
CC drivers/rtc/rtc-sysfs.o
CC lib/lcm.o
CC lib/list_sort.o
CC lib/uuid.o
CC drivers/rtc/alarm.o
CC drivers/rtc/alarm-dev.o
CC lib/iomap_copy.o
CC drivers/rtc/rtc-msm.o
CC lib/devres.o
CC lib/find_last_bit.o
LD drivers/rtc/rtc-core.o
CC lib/hweight.o
CC lib/kernel_lock.o
LD drivers/rtc/built-in.o
CC lib/bitrev.o
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
CC lib/crc-ccitt.o
CC lib/crc16.o
HOSTCC lib/gen_crc32table
CC lib/libcrc32c.o
CC lib/genalloc.o
LD lib/lzo/built-in.o
CC [M] lib/lzo/lzo1x_compress.o
CC lib/zlib_deflate/deflate.o
CC lib/zlib_inflate/inffast.o
CC lib/textsearch.o
CC [M] lib/lzo/lzo1x_decompress.o
CC lib/zlib_inflate/inflate.o
CC lib/zlib_inflate/infutil.o
LD [M] lib/lzo/lzo_compress.o
LD [M] lib/lzo/lzo_decompress.o
CC lib/zlib_deflate/deftree.o
CC lib/zlib_deflate/deflate_syms.o
CC lib/zlib_inflate/inftrees.o
CC lib/ts_kmp.o
CC lib/zlib_inflate/inflate_syms.o
CC lib/ts_bm.o
CC lib/ts_fsm.o
LD lib/zlib_inflate/zlib_inflate.o
LD lib/zlib_inflate/built-in.o
CC lib/dynamic_debug.o
CC lib/nlattr.o
LD lib/zlib_deflate/zlib_deflate.o
CC lib/argv_split.o
LD lib/zlib_deflate/built-in.o
CC lib/cmdline.o
CC lib/ctype.o
CC lib/dec_and_lock.o
CC lib/decompress.o
CC lib/decompress_inflate.o
CC lib/dump_stack.o
CC lib/extable.o
CC lib/flex_array.o
CC lib/idr.o
CC lib/int_sqrt.o
CC lib/ioremap.o
CC lib/irq_regs.o
CC lib/is_single_threaded.o
CC lib/klist.o
CC lib/kobject.o
CC lib/kobject_uevent.o
CC lib/kref.o
CC lib/plist.o
CC lib/prio_heap.o
CC lib/prio_tree.o
CC lib/proportions.o
CC lib/radix-tree.o
CC lib/ratelimit.o
lib/radix-tree.c: In function 'radix_tree_tag_get':
lib/radix-tree.c:568:6: warning: variable 'saw_unset_tag' set but not used [-Wunused-but-set-variable]
CC lib/rbtree.o
CC lib/reciprocal_div.o
CC lib/rwsem.o
CC lib/sha1.o
CC lib/show_mem.o
CC lib/string.o
CC lib/vsprintf.o
GEN lib/crc32table.h
CC lib/crc32.o
LD lib/built-in.o
AR lib/lib.a
The problem is that some users managed to compile the kernel without problems and modifications so i don't know why it won't compile...
I tried with different toolchains but there's always an error.
Someone is able to give me an advice?
I was to say.....if u are using linaro you may get those driver errors...
Have you tried the stock toolchain?
If not maybe your config has an issue....what have you done so far?
_Zoom said:
I was to say.....if u are using linaro you may get those driver errors...
Have you tried the stock toolchain?
If not maybe your config has an issue....what have you done so far?
Click to expand...
Click to collapse
Yes, i also tried the stock toolchain and i get other problems... the config was extract from the device so the problem i think isn't that. The only addition i did is only the overclock... i will try again with stock toolchain, but i think the problem is somewhere else.
Maybe it's because I'm running Ubuntu 12.10?
Maybe....i doubt it....
The error is in your wireless bcm4329 or whatever driver shown above.....also make sure you clean ur build directory before compiling each time....and if still not working maybe pull that driver from another kernel for the device of on git
_Zoom said:
Maybe....i doubt it....
The error is in your wireless bcm4329 or whatever driver shown above.....also make sure you clean ur build directory before compiling each time....and if still not working maybe pull that driver from another kernel for the device of on git
Click to expand...
Click to collapse
Yes, i cleaned my build directory... i don't know why there is this error but i think that there's a problem with the toolchain, i will try again w/ another one... And then i will try again in another virtual machine with and elder version of ubuntu...
Yes....it could be you dont have all of your build tools for the machine...
Also when u do java -version in terminal what do you get?
Hi, I have this error while compile kumquat kernel:
Code:
[email protected]:~/Scrivania/kernel$ make -j 2
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (CW1200) selects CFG80211 which has unmet direct dependencies (NET && !COMPAT_WIRELESS && WIRELESS && (RFKILL || !RFKILL))
warning: (CW1200) selects MAC80211 which has unmet direct dependencies (NET && !COMPAT_WIRELESS && WIRELESS && CFG80211)
warning: (CW1200) selects CFG80211 which has unmet direct dependencies (NET && !COMPAT_WIRELESS && WIRELESS && (RFKILL || !RFKILL))
warning: (CW1200) selects MAC80211 which has unmet direct dependencies (NET && !COMPAT_WIRELESS && WIRELESS && CFG80211)
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/genksyms/genksyms.o
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/lex.o
HOSTCC scripts/genksyms/parse.o
HOSTCC scripts/mod/modpost.o
HOSTLD scripts/genksyms/genksyms
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/kallsyms
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/bin2c
HOSTCC scripts/recordmcount
HOSTLD scripts/mod/modpost
Generating include/generated/mach-types.h
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
CC init/main.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/vfp/vfpmodule.o
AS arch/arm/vfp/entry.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/do_mounts.o
CC arch/arm/vfp/vfpdouble.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/kernel/elf.o
CC init/initramfs.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC init/calibrate.o
CC arch/arm/kernel/process.o
CC init/boottime.o
CC init/version.o
CC arch/arm/kernel/ptrace.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/kernel/return_address.o
CC arch/arm/mm/extable.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/fault.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/signal.o
CC arch/arm/mm/iomap.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/mm/flush.o
CC arch/arm/kernel/time.o
CC arch/arm/kernel/traps.o
CC arch/arm/mm/idmap.o
CC arch/arm/mm/ioremap.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/mm/mmap.o
CC arch/arm/mm/pgd.o
CC arch/arm/kernel/module.o
CC arch/arm/mm/mmu.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/sched_clock.o
CC arch/arm/kernel/smp.o
CC arch/arm/mm/vmregion.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/mm/alignment.o
CC arch/arm/kernel/smp_twd.o
CC arch/arm/kernel/ftrace.o
CC arch/arm/mm/highmem.o
CC arch/arm/kernel/machine_kexec.o
AS arch/arm/kernel/relocate_kernel.o
CC arch/arm/kernel/atags.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/kernel/unwind.o
CC arch/arm/mm/context.o
AS arch/arm/mm/tlb-v7.o
CC arch/arm/kernel/swp_emulate.o
AS arch/arm/mm/proc-v7.o
CC arch/arm/mm/cache-l2x0.o
LD arch/arm/mm/built-in.o
CC arch/arm/common/gic.o
CC arch/arm/kernel/hw_breakpoint.o
CC arch/arm/common/boottime.o
LD arch/arm/common/built-in.o
CC arch/arm/kernel/pmu.o
CC arch/arm/kernel/perf_event.o
CC arch/arm/kernel/topology.o
CC arch/arm/mach-ux500/clock.o
CC arch/arm/mach-ux500/cpu.o
CC arch/arm/kernel/io.o
CC arch/arm/mach-ux500/devices.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
CC arch/arm/mach-ux500/dcache.o
CC arch/arm/mach-ux500/devices-common.o
LDS arch/arm/kernel/vmlinux.lds
LD arch/arm/kernel/built-in.o
CC arch/arm/plat-nomadik/timer.o
CC arch/arm/mach-ux500/id.o
LD arch/arm/plat-nomadik/built-in.o
CC kernel/sched.o
CC arch/arm/mach-ux500/pins.o
CC arch/arm/mach-ux500/usb.o
CC arch/arm/mach-ux500/reboot_reasons.o
CC arch/arm/mach-ux500/timer.o
CC arch/arm/mach-ux500/uart-db8500.o
CC arch/arm/mach-ux500/clock-debug.o
CC arch/arm/mach-ux500/irq-trigger.o
In file included from arch/arm/mach-ux500/irq-trigger.c:16:0:
/home/riccardo/Scrivania/kernel/arch/arm/include/asm/hardware/gic.h:42:37: warning: 'struct cpumask' declared inside parameter list [enabled by default]
void gic_raise_softirq(const struct cpumask *mask, unsigned int irq);
^
/home/riccardo/Scrivania/kernel/arch/arm/include/asm/hardware/gic.h:42:37: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
CC arch/arm/mach-ux500/pm/pm.o
CC arch/arm/mach-ux500/pm/runtime.o
CC arch/arm/mach-ux500/pm/prcmu-qos-power.o
CC arch/arm/mach-ux500/pm/context.o
AS arch/arm/mach-ux500/pm/context_arm.o
CC arch/arm/mach-ux500/pm/context-db8500.o
CC arch/arm/mach-ux500/pm/context-db5500.o
CC arch/arm/mach-ux500/pm/context-db9540.o
CC arch/arm/mach-ux500/pm/timer.o
CC arch/arm/mach-ux500/pm/suspend.o
In file included from arch/arm/mach-ux500/include/mach/hardware.h:75:0,
from arch/arm/mach-ux500/include/mach/irqs.h:13,
from /home/riccardo/Scrivania/kernel/arch/arm/include/asm/irq.h:4,
from /home/riccardo/Scrivania/kernel/arch/arm/include/asm/hardirq.h:6,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:12,
from include/linux/mfd/dbx500-prcmu.h:11,
from arch/arm/mach-ux500/pm/suspend.c:13:
arch/arm/mach-ux500/pm/suspend.c: In function 'suspend':
arch/arm/mach-ux500/include/mach/id.h:68:13: error: inlining failed in call to always_inline 'cpu_is_u9500': function body not available
inline bool cpu_is_u9500(void);
^
arch/arm/mach-ux500/pm/suspend.c:78:18: error: called from here
if (cpu_is_u9500())
^
In file included from arch/arm/mach-ux500/include/mach/hardware.h:75:0,
from arch/arm/mach-ux500/include/mach/irqs.h:13,
from /home/riccardo/Scrivania/kernel/arch/arm/include/asm/irq.h:4,
from /home/riccardo/Scrivania/kernel/arch/arm/include/asm/hardirq.h:6,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:12,
from include/linux/mfd/dbx500-prcmu.h:11,
from arch/arm/mach-ux500/pm/suspend.c:13:
arch/arm/mach-ux500/include/mach/id.h:68:13: error: inlining failed in call to always_inline 'cpu_is_u9500': function body not available
inline bool cpu_is_u9500(void);
^
arch/arm/mach-ux500/pm/suspend.c:184:18: error: called from here
if (cpu_is_u9500())
^
make[2]: *** [arch/arm/mach-ux500/pm/suspend.o] Errore 1
make[1]: *** [arch/arm/mach-ux500/pm] Errore 2
make: *** [arch/arm/mach-ux500] Errore 2
make: *** Attesa per i processi non terminati....
CC kernel/fork.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC kernel/printk.o
CC kernel/cpu.o
CC kernel/exit.o
CC kernel/itimer.o
TIMEC kernel/timeconst.h
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/timer.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/rcupdate.o
CC kernel/extable.o
CC kernel/params.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC kernel/mutex.o
CC kernel/hrtimer.o
CC kernel/rwsem.o
CC kernel/nsproxy.o
CC kernel/srcu.o
CC kernel/semaphore.o
CC kernel/notifier.o
CC kernel/ksysfs.o
CC kernel/pm_qos_params.o
CC kernel/sched_clock.o
CC kernel/cred.o
CC kernel/async.o
CC kernel/range.o
CC kernel/jump_label.o
CC kernel/groups.o
CC kernel/freezer.o
CC kernel/profile.o
CC kernel/sysctl_check.o
CC kernel/stacktrace.o
CC kernel/events/core.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/irqdomain.o
CC kernel/irq/autoprobe.o
CC kernel/irq/proc.o
CC kernel/events/hw_breakpoint.o
CC kernel/irq/pm.o
LD kernel/irq/built-in.o
CC kernel/power/main.o
LD kernel/events/built-in.o
CC kernel/time/timekeeping.o
CC kernel/power/console.o
CC kernel/power/process.o
CC kernel/time/ntp.o
CC kernel/power/suspend.o
CC kernel/time/clocksource.o
CC kernel/power/wakelock.o
CC kernel/time/jiffies.o
CC kernel/time/timer_list.o
CC kernel/power/userwakelock.o
CC kernel/time/timecompare.o
CC kernel/power/earlysuspend.o
CC kernel/time/timeconv.o
CC kernel/time/posix-clock.o
CC kernel/power/fbearlysuspend.o
CC kernel/power/poweroff.o
CC kernel/time/clockevents.o
LD kernel/power/built-in.o
CC kernel/time/tick-common.o
CC kernel/time/tick-broadcast.o
CC kernel/time/tick-oneshot.o
CC kernel/time/tick-sched.o
CC kernel/time/timer_stats.o
CC kernel/trace/trace_selftest_dynamic.o
LD kernel/time/built-in.o
CC kernel/trace/trace_clock.o
CC kernel/trace/ftrace.o
CC kernel/trace/ring_buffer.o
CC kernel/trace/trace.o
CC kernel/trace/trace_output.o
CC kernel/trace/trace_stat.o
CC kernel/trace/trace_printk.o
CC kernel/trace/trace_sched_switch.o
CC kernel/trace/trace_functions.o
CC kernel/trace/trace_nop.o
CC kernel/futex.o
CC kernel/trace/trace_functions_graph.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/rtmutex.o
CC kernel/trace/trace_events_filter.o
CC kernel/smp.o
CC kernel/trace/power-traces.o
CC kernel/spinlock.o
LD kernel/trace/libftrace.o
LD kernel/trace/built-in.o
CC kernel/uid16.o
CC kernel/module.o
CC kernel/kallsyms.o
CC kernel/acct.o
CC kernel/kexec.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/audit.o
CC kernel/auditfilter.o
CC kernel/hung_task.o
CC kernel/watchdog.o
CC kernel/rcutree.o
CC kernel/relay.o
CC kernel/utsname_sysctl.o
CC kernel/taskstats.o
CC kernel/tsacct.o
CC kernel/tracepoint.o
CC kernel/elfcore.o
CC kernel/sched_cpupri.o
CC kernel/irq_work.o
CC kernel/time.o
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
[email protected]:~/Scrivania/kernel$
Click to expand...
Click to collapse
Can anyone help me?
I think u should take it to the pro's....
Sent from My Xperia P with CM11.0-weekly-4...Hit thanks if u think I have helped U.!
What? 0.o
cesanaboia said:
What? 0.o
Click to expand...
Click to collapse
I think u should take it to extreme dev's.....
Sent from My Xperia P with CM11.0-weekly-4...Hit thanks if u think I have helped U.!
Type make -j1 to compile, in this way you will be able to see the error
This is the error... What can I do?
Code:
arch/arm/mach-ux500/pm/suspend.c: In function 'suspend':
arch/arm/mach-ux500/include/mach/id.h:68:13: error: inlining failed in call to always_inline 'cpu_is_u9500': function body not available
inline bool cpu_is_u9500(void);
^
arch/arm/mach-ux500/pm/suspend.c:78:18: error: called from here
if (cpu_is_u9500())
^
In file included from arch/arm/mach-ux500/include/mach/hardware.h:75:0,
from arch/arm/mach-ux500/include/mach/irqs.h:13,
from /home/riccardo/Scrivania/kernel2/arch/arm/include/asm/irq.h:4,
from /home/riccardo/Scrivania/kernel2/arch/arm/include/asm/hardirq.h:6,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:12,
from include/linux/mfd/dbx500-prcmu.h:11,
from arch/arm/mach-ux500/pm/suspend.c:13:
arch/arm/mach-ux500/include/mach/id.h:68:13: error: inlining failed in call to always_inline 'cpu_is_u9500': function body not available
inline bool cpu_is_u9500(void);
^
arch/arm/mach-ux500/pm/suspend.c:184:18: error: called from here
if (cpu_is_u9500())
^
make[2]: *** [arch/arm/mach-ux500/pm/suspend.o] Errore 1
make[1]: *** [arch/arm/mach-ux500/pm] Errore 2
make: *** [arch/arm/mach-ux500] Errore 2
Click to expand...
Click to collapse
cesanaboia said:
This is the error... What can I do?
Click to expand...
Click to collapse
Which kernel are you trying to compile and with which toolchain?
Enviado desde mi Xperia U mediante Tapatalk
1.Open arch/arm/mach-ux500/include/mach/id.h
2.Goto line no. 68 and change
inline bool cpu_is_u9500(void)
to
bool cpu_is_u9500(void)
That should fix the error.
Garcia98 said:
Which kernel are you trying to compile and with which toolchain?
Enviado desde mi Xperia U mediante Tapatalk
Click to expand...
Click to collapse
I try to compiling KitKat kernel for xperia u.
This: https://github.com/Legacy-Xperia/android_kernel_xperia_u8500
etch04 said:
1.Open arch/arm/mach-ux500/include/mach/id.h
2.Goto line no. 68 and change
inline bool cpu_is_u9500(void)
to
bool cpu_is_u9500(void)
That should fix the error.
Click to expand...
Click to collapse
Thanks! I'll try it this evening
cesanaboia said:
I try to compiling KitKat kernel for xperia u.
This: https://github.com/Legacy-Xperia/android_kernel_xperia_u8500
Click to expand...
Click to collapse
And with which toolchain?
Enviado desde mi Xperia U mediante Tapatalk
Garcia98 said:
And with which toolchain?
Enviado desde mi Xperia U mediante Tapatalk
Click to expand...
Click to collapse
I use arm linux androideabi 4.8 :good:
cesanaboia said:
I use arm linux androideabi 4.8 :good:
Click to expand...
Click to collapse
Try with GCC 4.4.3 :good:
Enviado desde mi Xperia U mediante Tapatalk
etch04 said:
1.Open arch/arm/mach-ux500/include/mach/id.h
2.Goto line no. 68 and change
inline bool cpu_is_u9500(void)
to
bool cpu_is_u9500(void)
That should fix the error.
Click to expand...
Click to collapse
Garcia98 said:
Try with GCC 4.4.3 :good:
Enviado desde mi Xperia U mediante Tapatalk
Click to expand...
Click to collapse
Thanks @etch04 ! It works! (Using linux arm androideabi 4.8)
So, next i can't get modules:
Code:
OBJCOPY arch/arm/boot/Image
Building modules, stage 2.
MODPOST 10 modules
CC arch/arm/mach-ux500/test/pwr.mod.o
CC arch/arm/oprofile/oprofile.mod.o
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
arch/arm/boot/compressed/head.S: Assembler messages:
arch/arm/boot/compressed/head.S:618: Warning: (null)
arch/arm/boot/compressed/head.S:721: Warning: (null)
arch/arm/boot/compressed/head.S:742: Warning: (null)
arch/arm/boot/compressed/head.S:762: Warning: (null)
arch/arm/boot/compressed/head.S:770: Warning: (null)
arch/arm/boot/compressed/head.S:1036: Warning: (null)
arch/arm/boot/compressed/head.S:1075: Warning: (null)
arch/arm/boot/compressed/head.S:1076: Warning: (null)
arch/arm/boot/compressed/head.S:1121: Warning: (null)
arch/arm/boot/compressed/head.S:1128: Warning: (null)
arch/arm/boot/compressed/head.S:1136: Warning: (null)
arch/arm/boot/compressed/head.S:1147: Warning: (null)
arch/arm/boot/compressed/head.S:1161: Warning: (null)
arch/arm/boot/compressed/head.S:1193: Warning: (null)
arch/arm/boot/compressed/head.S:1195: Warning: (null)
arch/arm/boot/compressed/head.S:1196: Warning: (null)
arch/arm/boot/compressed/head.S:1203: Warning: (null)
arch/arm/boot/compressed/head.S:1235: Warning: (null)
CC drivers/char/hw_random/rng-core.mod.o
LZMA arch/arm/boot/compressed/piggy.lzma
CC drivers/mmc/card/mmc_test.mod.o
CC drivers/net/tun.mod.o
CC drivers/scsi/scsi_wait_scan.mod.o
CC fs/cifs/cifs.mod.o
CC fs/nls/nls_utf8.mod.o
CC net/compat-wireless/drivers/staging/cw1200/cw1200_core.mod.o
CC net/compat-wireless/drivers/staging/cw1200/cw1200_wlan.mod.o
LD [M] arch/arm/mach-ux500/test/pwr.ko
LD [M] arch/arm/oprofile/oprofile.ko
LD [M] drivers/char/hw_random/rng-core.ko
LD [M] drivers/mmc/card/mmc_test.ko
LD [M] drivers/net/tun.ko
LD [M] drivers/scsi/scsi_wait_scan.ko
LD [M] fs/cifs/cifs.ko
LD [M] fs/nls/nls_utf8.ko
LD [M] net/compat-wireless/drivers/staging/cw1200/cw1200_core.ko
LD [M] net/compat-wireless/drivers/staging/cw1200/cw1200_wlan.ko
CC arch/arm/boot/compressed/misc.o
CC arch/arm/boot/compressed/decompress.o
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/lib1funcs.o
AS arch/arm/boot/compressed/piggy.lzma.o
LD arch/arm/boot/compressed/vmlinux
/home/riccardo/NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: error: arch/arm/boot/compressed/piggy.lzma.o: unknown CPU architecture
/home/riccardo/NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: error: arch/arm/boot/compressed/lib1funcs.o: unknown CPU architecture
make[2]: *** [arch/arm/boot/compressed/vmlinux] Errore 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Errore 2
make: *** [zImage] Errore 2
[email protected]:~/Scrivania/kernel$
Click to expand...
Click to collapse
cesanaboia said:
Thanks @etch04 ! It works! (Using linux arm androideabi 4.8)
So, next i can't get modules:
Click to expand...
Click to collapse
I suggest you the same as before
Enviado desde mi Xperia U mediante Tapatalk
Garcia98 said:
I suggest you the same as before
Enviado desde mi Xperia U mediante Tapatalk
Click to expand...
Click to collapse
I have compiled it with LINARO. So it's work
I'm trying to compile the LineageOS kernel source for my device Galaxy S4 (jfltexx).
Kernel: https://github.com/LineageOS/android_device_samsung_jflte
Toolchain: https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/
System: Xubuntu 17.10 (64 bit) with gcc 7.2.0 and GNU Make 4.1
In order to compile the kernel for my target, I'm using the build script from the kernel repository:
Code:
python build-all.py jf_eur
The compilation usually stops at one point and the log contains the following:
Code:
GEN /home/computer/Desktop/output/all-kernels/jf_eur/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/usb/otg/Kconfig:187:warning: leading whitespace ignored
drivers/media/video/msm-jf/Kconfig:114:warning: choice value used outside its choice group
drivers/media/video/msm/Kconfig:108:warning: choice value used outside its choice group
drivers/media/video/msm-jf/Kconfig:119:warning: choice value used outside its choice group
drivers/media/video/msm/Kconfig:113:warning: choice value used outside its choice group
Using /home/computer/Desktop/Android/test as source for kernel
GEN /home/computer/Desktop/output/all-kernels/jf_eur/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[2]: '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 /home/computer/Desktop/Android/test/scripts/checksyscalls.sh
HOSTCC scripts/genksyms/genksyms.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
SHIPPED scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/parse.tab.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
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_rd.o
CC init/do_mounts_initrd.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
LD init/built-in.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/vfp/vfpmodule.o
AS arch/arm/vfp/entry.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CC arch/arm/vfp/vfpdouble.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.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
CC arch/arm/kernel/process.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/sched_clock.o
CC arch/arm/kernel/setup.o
CC arch/arm/kernel/signal.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/time.o
CC arch/arm/kernel/traps.o
CC arch/arm/kernel/cpuidle.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/kernel/module.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/suspend.o
CC arch/arm/kernel/smp.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/kernel/unwind.o
CC arch/arm/kernel/swp_emulate.o
CC arch/arm/kernel/hw_breakpoint.o
CC arch/arm/kernel/update_vsyscall_arm.o
CC arch/arm/kernel/pmu.o
CC arch/arm/kernel/perf_event.o
CC arch/arm/kernel/topology.o
CC arch/arm/kernel/user_accessible_timer.o
CC arch/arm/kernel/io.o
LD arch/arm/kernel/built-in.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds
CC arch/arm/mm/dma-mapping.o
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/mm/init.o
CC arch/arm/mm/iomap.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/mm/flush.o
CC arch/arm/mm/idmap.o
CC arch/arm/mm/ioremap.o
CC arch/arm/mm/mmap.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/mmu.o
CC arch/arm/mm/vmregion.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/mm/alignment.o
CC arch/arm/mm/highmem.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/mm/context.o
AS arch/arm/mm/tlb-v7.o
AS arch/arm/mm/proc-v7.o
LD arch/arm/mm/built-in.o
CC arch/arm/common/gic.o
CC arch/arm/common/cpaccess.o
LD arch/arm/common/built-in.o
LD arch/arm/net/built-in.o
LD arch/arm/crypto/built-in.o
CC arch/arm/mach-msm/io.o
CC arch/arm/mach-msm/dma.o
CC arch/arm/mach-msm/memory.o
CC arch/arm/mach-msm/timer.o
CC arch/arm/mach-msm/clock.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/acpuclock.o
CC arch/arm/mach-msm/perf_trace_counters.o
/home/computer/Desktop/Android/test/arch/arm/mach-msm/perf_trace_counters.c: In function 'tracectr_cpu_hotplug_notifier':
/home/computer/Desktop/Android/test/arch/arm/mach-msm/perf_trace_counters.c:32:18: error: 'CPU_TASKS_FROZEN' undeclared (first use in this function)
if ((action & (~CPU_TASKS_FROZEN)) == CPU_STARTING)
^
/home/computer/Desktop/Android/test/arch/arm/mach-msm/perf_trace_counters.c:32:18: note: each undeclared identifier is reported only once for each function it appears in
/home/computer/Desktop/Android/test/arch/arm/mach-msm/perf_trace_counters.c:32:40: error: 'CPU_STARTING' undeclared (first use in this function)
if ((action & (~CPU_TASKS_FROZEN)) == CPU_STARTING)
^
/home/computer/Desktop/Android/test/arch/arm/mach-msm/perf_trace_counters.c: In function 'init_tracecounters':
/home/computer/Desktop/Android/test/arch/arm/mach-msm/perf_trace_counters.c:173:2: error: implicit declaration of function 'register_cpu_notifier' [-Werror=implicit-function-declaration]
register_cpu_notifier(&tracectr_cpu_hotplug_notifier_block);
^
/home/computer/Desktop/Android/test/arch/arm/mach-msm/perf_trace_counters.c: In function 'exit_tracecounters':
/home/computer/Desktop/Android/test/arch/arm/mach-msm/perf_trace_counters.c:181:2: error: implicit declaration of function 'unregister_cpu_notifier' [-Werror=implicit-function-declaration]
unregister_cpu_notifier(&tracectr_cpu_hotplug_notifier_block);
^
cc1: some warnings being treated as errors
/home/computer/Desktop/Android/test/scripts/Makefile.build:307: recipe for target 'arch/arm/mach-msm/perf_trace_counters.o' failed
make[2]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
/home/computer/Desktop/Android/test/Makefile:973: recipe for target 'arch/arm/mach-msm' failed
make[1]: *** [arch/arm/mach-msm] Error 2
Makefile:130: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
I have been searching the internet, but only found one topic where a user mentioned that 'tracing' caused them this error:
I solved my problem reverting an old patch that disabled tracing, everything is up in my git
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=53850620&postcount=32456
Since I'm using the latest kernel sources and the device is still actively supported with complete LineageOS builds, I thought the kernel should probably compile just fine. I also watched some Youtube videos where people compiled kernels the same way I am trying to.
Am I using a wrong toolchain or other programms?
I'm glad for any help, thanks!
I'm working on getting LineageOS 15.1 to my Planet Gemini PDA, but seem to be running into issues when compiling from source.
At the moment, it looks like it's the kernel giving me trouble:
Code:
[email protected] ~/Development/LOS/kernel/planet/mt6797 $ make clean
CLEAN .
drivers/misc/mediatek/ext_disp/common/test/Makefile:63: "lwlwlw"
*MTK_GPU_VERSION 1 =
*MTK_PLATFORM:
$CONFIG_MTK_GPU_COMMON_DVFS_SUPPORT is []
*MTK_PLATFORM:
drivers/misc/mediatek/pmic/mt6336/Makefile:12: MT6336_E1
drivers/misc/mediatek/secwidevine/classicdrm/Makefile:19: "custom build secwidevine"
"custom build secwidevinemdw"
CLEAN usr
CLEAN .tmp_versions
#### build completed successfully (3 seconds) ####
[email protected] ~/Development/LOS/kernel/planet/mt6797 $ make mrproper
drivers/misc/mediatek/ext_disp/common/test/Makefile:63: "lwlwlw"
*MTK_GPU_VERSION 1 =
*MTK_PLATFORM:
$CONFIG_MTK_GPU_COMMON_DVFS_SUPPORT is []
*MTK_PLATFORM:
drivers/misc/mediatek/pmic/mt6336/Makefile:12: MT6336_E1
drivers/misc/mediatek/secwidevine/classicdrm/Makefile:19: "custom build secwidevine"
"custom build secwidevinemdw"
CLEAN scripts/basic
CLEAN scripts/dtc
CLEAN scripts/kconfig
CLEAN scripts/mod
CLEAN scripts
CLEAN include/config include/generated arch/arm64/include/generated
CLEAN .config .version include/generated/uapi/linux/version.h
#### build completed successfully (3 seconds) ####
[email protected] ~/Development/LOS/kernel/planet/mt6797 $ ARCH=arm64 CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- make defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'defconfig'
warning: (ARM64) selects DT_IDLE_STATES which has unmet direct dependencies (CPU_IDLE)
warning: (ARM64) selects DT_IDLE_STATES which has unmet direct dependencies (CPU_IDLE)
#
# configuration written to .config
#
#### build completed successfully (2 seconds) ####
[email protected] ~/Development/LOS/kernel/planet/mt6797 $ ARCH=arm64 CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- make
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (ARM64) selects DT_IDLE_STATES which has unmet direct dependencies (CPU_IDLE)
warning: (ARM64) selects DT_IDLE_STATES which has unmet direct dependencies (CPU_IDLE)
CHK include/config/kernel.release
UPD include/config/kernel.release
WRAP arch/arm64/include/generated/asm/bug.h
WRAP arch/arm64/include/generated/asm/bugs.h
WRAP arch/arm64/include/generated/asm/checksum.h
WRAP arch/arm64/include/generated/asm/clkdev.h
WRAP arch/arm64/include/generated/asm/cputime.h
WRAP arch/arm64/include/generated/asm/current.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/ftrace.h
WRAP arch/arm64/include/generated/asm/hash.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/mman.h
WRAP arch/arm64/include/generated/asm/msgbuf.h
WRAP arch/arm64/include/generated/asm/mutex.h
WRAP arch/arm64/include/generated/asm/pci.h
WRAP arch/arm64/include/generated/asm/pci-bridge.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/scatterlist.h
WRAP arch/arm64/include/generated/asm/sections.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/topology.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/bin2c
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
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
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
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
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
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
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
OBJCOPY arch/arm64/kernel/vdso/vdso.so
AS arch/arm64/kernel/vdso/vdso.o
LD arch/arm64/kernel/vdso/built-in.o
VDSOSYM arch/arm64/kernel/vdso/vdso-offsets.h
CC arch/arm64/kernel/cputable.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
CC arch/arm64/kernel/cpu_errata.o
CC arch/arm64/kernel/alternative.o
AS arch/arm64/kernel/psci-call.o
AS arch/arm64/kernel/sys32.o
AS arch/arm64/kernel/kuser32.o
CC arch/arm64/kernel/signal32.o
CC arch/arm64/kernel/sys_compat.o
CC arch/arm64/kernel/../../arm/kernel/opcodes.o
CC arch/arm64/kernel/arm64ksyms.o
CC arch/arm64/kernel/module.o
CC arch/arm64/kernel/smp.o
CC arch/arm64/kernel/smp_spin_table.o
CC arch/arm64/kernel/topology.o
CC arch/arm64/kernel/perf_regs.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/jump_label.o
CC arch/arm64/kernel/efi.o
CC arch/arm64/kernel/efi-stub.o
AS arch/arm64/kernel/efi-entry.o
CC arch/arm64/kernel/pci.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
CC arch/arm64/mm/hugetlbpage.o
LD arch/arm64/mm/built-in.o
CC arch/arm64/net/bpf_jit_comp.o
LD arch/arm64/net/built-in.o
CC arch/arm64/kvm/../../../virt/kvm/kvm_main.o
CC arch/arm64/kvm/../../../virt/kvm/coalesced_mmio.o
CC arch/arm64/kvm/../../../arch/arm/kvm/arm.o
CC arch/arm64/kvm/../../../arch/arm/kvm/mmu.o
CC arch/arm64/kvm/../../../arch/arm/kvm/mmio.o
CC arch/arm64/kvm/../../../arch/arm/kvm/psci.o
CC arch/arm64/kvm/../../../arch/arm/kvm/perf.o
CC arch/arm64/kvm/emulate.o
CC arch/arm64/kvm/inject_fault.o
CC arch/arm64/kvm/regmap.o
AS arch/arm64/kvm/hyp.o
AS arch/arm64/kvm/hyp-init.o
CC arch/arm64/kvm/handle_exit.o
CC arch/arm64/kvm/guest.o
CC arch/arm64/kvm/reset.o
CC arch/arm64/kvm/sys_regs.o
CC arch/arm64/kvm/sys_regs_generic_v8.o
CC arch/arm64/kvm/../../../virt/kvm/arm/vgic.o
CC arch/arm64/kvm/../../../virt/kvm/arm/vgic-v2.o
AS arch/arm64/kvm/vgic-v2-switch.o
CC arch/arm64/kvm/../../../virt/kvm/arm/vgic-v3.o
AS arch/arm64/kvm/vgic-v3-switch.o
CC arch/arm64/kvm/../../../virt/kvm/arm/arch_timer.o
LD arch/arm64/kvm/kvm.o
LD arch/arm64/kvm/built-in.o
CC arch/arm64/crypto/sha1-ce-glue.o
AS arch/arm64/crypto/sha1-ce-core.o
LD arch/arm64/crypto/sha1-ce.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/ghash-ce-glue.o
AS arch/arm64/crypto/ghash-ce-core.o
LD arch/arm64/crypto/ghash-ce.o
CC arch/arm64/crypto/aes-ce-cipher.o
CC arch/arm64/crypto/aes-ce-ccm-glue.o
AS arch/arm64/crypto/aes-ce-ccm-core.o
LD arch/arm64/crypto/aes-ce-ccm.o
CC arch/arm64/crypto/aes-glue-ce.o
AS arch/arm64/crypto/aes-ce.o
LD arch/arm64/crypto/aes-ce-blk.o
CC arch/arm64/crypto/aes-glue-neon.o
AS arch/arm64/crypto/aes-neon.o
LD arch/arm64/crypto/aes-neon-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
In file included from include/linux/memory_hotplug.h:6:0,
from include/linux/mmzone.h:796,
from include/linux/topology.h:32,
from include/linux/sched.h:42,
from ./arch/arm64/include/asm/compat.h:25,
from ./arch/arm64/include/asm/stat.h:23,
from include/linux/stat.h:5,
from include/linux/fs.h:10,
from include/linux/proc_fs.h:8,
from kernel/cpu.c:6:
kernel/cpu.c:58:26: error: static declaration of ‘cpu_chain’ follows non-static declaration
static RAW_NOTIFIER_HEAD(cpu_chain);
^
include/linux/notifier.h:113:27: note: in definition of macro ‘RAW_NOTIFIER_HEAD’
struct raw_notifier_head name = \
^
include/linux/notifier.h:193:33: note: previous declaration of ‘cpu_chain’ was here
extern struct raw_notifier_head cpu_chain;
^
make[1]: *** [scripts/Makefile.build:258: kernel/cpu.o] Error 1
make: *** [Makefile:939: kernel] Error 2
#### failed to build some targets (22 seconds) ####
[email protected] ~/Development/LOS/kernel/planet/mt6797 $
Any chance someone can help me out with the errors I'm receiving at the end?
Thanks in advance.