[Android Q&A, Help & Troubleshooting] anthony062991:
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