[PORTED]ICS For Optimus ME - Baseband Unknown [Problem] - LG Optimus Me P350

IceCreamSanwitch For LG Optimus Me p350​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have Ported the ICS to optimus ME.First the screen was distorted and it was fixed.Now the problem is with the CALL (GSM) which is not working.I have copied the lib files and bin file to the phone but it is still not working
Please Help
Download
http://www.4shared.com/zip/g5sVvKN0/ICS_pecan_vivek.html
or
http://www.zshare.net/download/990433072854d373/
or
http://www.mediafire.com/?ta11x4btg9nobbb
Call fixed (not really fixed but with rild lib files) : http://www.mediafire.com/?2l9752bowiyc35n
Screen Fixed patch : http://www.mediafire.com/?eh3ce0xz0y7zuqb
touch fix : http://uploadmirrors.com/download/1AYC8HHU/TsFix.zip
Join LG Optimus Me Group : Optimus Me p350 Development

You posted in the wrong section.For questions and problems use the general section.

Wrong section indeed. Maybe you would be better of closing this thread and send a PM to franciscofranco or fserve.
Good luck!
Greets!
mDroidd from tapatalk
_____________________________
Sent from my Galaxy Nexus
[-]Everything still stock
_____________________________
LG Optimus One
ROM: Nitrogen
Kernel: custom .35
Tweaks: All
Theme: ICS (inside Nitrogen by me)

You need to have the cross compile toolchain downloaded... You can find it in the android source or get it someplace else...
Then you need to export these variables CROSS_COMPILE and ARCH:
Code:
export CROSS_COMPILE=/path/to/toolchain/arm-eabi-
export ARCH=arm
then you're good to go...

I know it is posted in the wrong section.But Still I posted it here because In general section there will be Questions about installing apps,phone not turning On,always rebooting,what is OC,how can I flash a new ROM,how is battery life in that ROM,what is the advantage of flashing that X ROM .is it better ?? ,how can i flash back,will i lose all the data when flashing ,etc
this Qn is based on Kernel So I dont think anyone in General section can be able to answer this Qusetion.Thats why I posted it here
Thanks

popdog123 said:
You need to have the cross compile toolchain downloaded... You can find it in the android source or get it someplace else...
Then you need to export these variables CROSS_COMPILE and ARCH:
Code:
export CROSS_COMPILE=/path/to/toolchain/arm-eabi-
export ARCH=arm
then you're good to go...
Click to expand...
Click to collapse
is this enough ??
i have done this step
Code:
$ export ARCH=arm
$ export CROSS_COMPILER=arm-eabi-
$ export CROSS_COMPILE=arm-eabi-
$ export PATH=$PATH:$HOME/android/source/aosp/master/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/

vivekkalady said:
is this enough ??
i have done this step
Code:
$ export ARCH=arm
$ export CROSS_COMPILER=arm-eabi-
$ export CROSS_COMPILE=arm-eabi-
$ export PATH=$PATH:$HOME/android/source/aosp/master/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/
Click to expand...
Click to collapse
Yeah,for kernel this is okay,but I reccomend doing
Code:
gedit .bashrc
Then enter the export PATH=$PATH:$HOME/android/source/aosp/master/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/
Just make sure you correctly enter your prebuilt path.

Got this I think this is error (do i have to configure when menu is shown "make menuconfig" or just exit when the menu is shown (ie save it)
Code:
[email protected]:~/android/system/pecan_kernal$ make -j4
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/mod/mk_elfconfig
scripts/kallsyms.c: In function ‘read_symbol’:
scripts/kallsyms.c:112: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/conmakehash
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
scripts/mod/modpost.c: In function ‘get_markers’:
scripts/mod/modpost.c:1562: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
CC kernel/bounds.s
scripts/mod/modpost.c: In function ‘add_marker’:
scripts/mod/modpost.c:1982: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
GEN include/linux/bounds.h
CC arch/arm/kernel/asm-offsets.s
HOSTLD scripts/mod/modpost
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
CC init/main.o
CHK include/linux/compile.h
CC init/do_mounts.o
HOSTCC usr/gen_init_cpio
UPD include/linux/compile.h
CC arch/arm/kernel/compat.o
GEN usr/initramfs_data.cpio
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/mm/dma-mapping.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/ptrace.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/iomap.o
CC init/do_mounts_md.o
CC init/initramfs.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/common/vic.o
CC arch/arm/mm/flush.o
CC init/calibrate.o
CC arch/arm/kernel/signal.o
CC arch/arm/common/icst307.o
CC init/version.o
CC arch/arm/mm/ioremap.o
CC arch/arm/common/clkdev.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
LD arch/arm/common/built-in.o
CC arch/arm/mach-versatile/core.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/mmu.o
CC arch/arm/kernel/time.o
CC arch/arm/perfmon/perf-function-hooks.o
CC arch/arm/kernel/traps.o
CC arch/arm/mach-versatile/clock.o
LD arch/arm/perfmon/built-in.o
CC arch/arm/mach-versatile/versatile_pb.o
In file included from arch/arm/kernel/../mach-msm/lge/lge_errorhandler.h:15,
from arch/arm/kernel/traps.c:37:
arch/arm/kernel/../mach-msm/lge/../smd_private.h:82:2: error: #error No SMD Package Specified; aborting
arch/arm/kernel/traps.c: In function 'dump_backtrace_entry':
arch/arm/kernel/traps.c:65: warning: too few arguments for format
arch/arm/kernel/traps.c: In function '__die':
arch/arm/kernel/traps.c:277: error: 'hidden_reset_enable' undeclared (first use in this function)
arch/arm/kernel/traps.c:277: error: (Each undeclared identifier is reported only once
arch/arm/kernel/traps.c:277: error: for each function it appears in.)
make[1]: *** [arch/arm/kernel/traps.o] Error 1
make: *** [arch/arm/kernel] Error 2
make: *** Waiting for unfinished jobs....
CC arch/arm/mach-versatile/pci.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/mm/alignment.o
LD arch/arm/mach-versatile/built-in.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
arm-eabi-ld: internal error in relocate_special_relocatable, at /home/jingyu/projects/gcc/android-toolchainsrc/build/../binutils/binutils-2.19/gold/arm.cc:9524
make[1]: *** [arch/arm/mm/built-in.o] Error 1
make: *** [arch/arm/mm] Error 2
make: *** wait: No child processes. Stop.
after this I didnt find the zImage so I think this is Wrong can you help me fix it

vivekkalady said:
Got this I think this is error (do i have to configure when menu is shown "make menuconfig" or just exit when the menu is shown (ie save it)
Code:
[email protected]:~/android/system/pecan_kernal$ make -j4
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/mod/mk_elfconfig
scripts/kallsyms.c: In function ‘read_symbol’:
scripts/kallsyms.c:112: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/conmakehash
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
scripts/mod/modpost.c: In function ‘get_markers’:
scripts/mod/modpost.c:1562: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
CC kernel/bounds.s
scripts/mod/modpost.c: In function ‘add_marker’:
scripts/mod/modpost.c:1982: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
GEN include/linux/bounds.h
CC arch/arm/kernel/asm-offsets.s
HOSTLD scripts/mod/modpost
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
CC init/main.o
CHK include/linux/compile.h
CC init/do_mounts.o
HOSTCC usr/gen_init_cpio
UPD include/linux/compile.h
CC arch/arm/kernel/compat.o
GEN usr/initramfs_data.cpio
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/mm/dma-mapping.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/ptrace.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/iomap.o
CC init/do_mounts_md.o
CC init/initramfs.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/common/vic.o
CC arch/arm/mm/flush.o
CC init/calibrate.o
CC arch/arm/kernel/signal.o
CC arch/arm/common/icst307.o
CC init/version.o
CC arch/arm/mm/ioremap.o
CC arch/arm/common/clkdev.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
LD arch/arm/common/built-in.o
CC arch/arm/mach-versatile/core.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/mmu.o
CC arch/arm/kernel/time.o
CC arch/arm/perfmon/perf-function-hooks.o
CC arch/arm/kernel/traps.o
CC arch/arm/mach-versatile/clock.o
LD arch/arm/perfmon/built-in.o
CC arch/arm/mach-versatile/versatile_pb.o
In file included from arch/arm/kernel/../mach-msm/lge/lge_errorhandler.h:15,
from arch/arm/kernel/traps.c:37:
arch/arm/kernel/../mach-msm/lge/../smd_private.h:82:2: error: #error No SMD Package Specified; aborting
arch/arm/kernel/traps.c: In function 'dump_backtrace_entry':
arch/arm/kernel/traps.c:65: warning: too few arguments for format
arch/arm/kernel/traps.c: In function '__die':
arch/arm/kernel/traps.c:277: error: 'hidden_reset_enable' undeclared (first use in this function)
arch/arm/kernel/traps.c:277: error: (Each undeclared identifier is reported only once
arch/arm/kernel/traps.c:277: error: for each function it appears in.)
make[1]: *** [arch/arm/kernel/traps.o] Error 1
make: *** [arch/arm/kernel] Error 2
make: *** Waiting for unfinished jobs....
CC arch/arm/mach-versatile/pci.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/mm/alignment.o
LD arch/arm/mach-versatile/built-in.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
arm-eabi-ld: internal error in relocate_special_relocatable, at /home/jingyu/projects/gcc/android-toolchainsrc/build/../binutils/binutils-2.19/gold/arm.cc:9524
make[1]: *** [arch/arm/mm/built-in.o] Error 1
make: *** [arch/arm/mm] Error 2
make: *** wait: No child processes. Stop.
after this I didnt find the zImage so I think this is Wrong can you help me fix it
Click to expand...
Click to collapse
Code:
make thunderg-perf_defconfig
make zImage -j4
Change thunderg-perf_defconfig with your device's kernel defconfig. You can find it in /arch/arm/configs.

vivekkalady said:
Got this I think this is error (do i have to configure when menu is shown "make menuconfig" or just exit when the menu is shown (ie save it)
Code:
[email protected]:~/android/system/pecan_kernal$ make -j4
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/mod/mk_elfconfig
scripts/kallsyms.c: In function ‘read_symbol’:
scripts/kallsyms.c:112: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/conmakehash
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
scripts/mod/modpost.c: In function ‘get_markers’:
scripts/mod/modpost.c:1562: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
CC kernel/bounds.s
scripts/mod/modpost.c: In function ‘add_marker’:
scripts/mod/modpost.c:1982: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
GEN include/linux/bounds.h
CC arch/arm/kernel/asm-offsets.s
HOSTLD scripts/mod/modpost
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
CC init/main.o
CHK include/linux/compile.h
CC init/do_mounts.o
HOSTCC usr/gen_init_cpio
UPD include/linux/compile.h
CC arch/arm/kernel/compat.o
GEN usr/initramfs_data.cpio
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/mm/dma-mapping.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/ptrace.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/iomap.o
CC init/do_mounts_md.o
CC init/initramfs.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/common/vic.o
CC arch/arm/mm/flush.o
CC init/calibrate.o
CC arch/arm/kernel/signal.o
CC arch/arm/common/icst307.o
CC init/version.o
CC arch/arm/mm/ioremap.o
CC arch/arm/common/clkdev.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
LD arch/arm/common/built-in.o
CC arch/arm/mach-versatile/core.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/mmu.o
CC arch/arm/kernel/time.o
CC arch/arm/perfmon/perf-function-hooks.o
CC arch/arm/kernel/traps.o
CC arch/arm/mach-versatile/clock.o
LD arch/arm/perfmon/built-in.o
CC arch/arm/mach-versatile/versatile_pb.o
In file included from arch/arm/kernel/../mach-msm/lge/lge_errorhandler.h:15,
from arch/arm/kernel/traps.c:37:
arch/arm/kernel/../mach-msm/lge/../smd_private.h:82:2: error: #error No SMD Package Specified; aborting
arch/arm/kernel/traps.c: In function 'dump_backtrace_entry':
arch/arm/kernel/traps.c:65: warning: too few arguments for format
arch/arm/kernel/traps.c: In function '__die':
arch/arm/kernel/traps.c:277: error: 'hidden_reset_enable' undeclared (first use in this function)
arch/arm/kernel/traps.c:277: error: (Each undeclared identifier is reported only once
arch/arm/kernel/traps.c:277: error: for each function it appears in.)
make[1]: *** [arch/arm/kernel/traps.o] Error 1
make: *** [arch/arm/kernel] Error 2
make: *** Waiting for unfinished jobs....
CC arch/arm/mach-versatile/pci.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/mm/alignment.o
LD arch/arm/mach-versatile/built-in.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
arm-eabi-ld: internal error in relocate_special_relocatable, at /home/jingyu/projects/gcc/android-toolchainsrc/build/../binutils/binutils-2.19/gold/arm.cc:9524
make[1]: *** [arch/arm/mm/built-in.o] Error 1
make: *** [arch/arm/mm] Error 2
make: *** wait: No child processes. Stop.
after this I didnt find the zImage so I think this is Wrong can you help me fix it
Click to expand...
Click to collapse
the traps.c file have the error , you have to fix it , you can see what wrong with it by this way: example
Code:
arch/arm/kernel/traps.c:[COLOR="Red"]65[/COLOR]: warning: too few arguments for format
see the "65" in red color , that tell you this is the problem , open the file with gedit (ubuntu text editor program) , them scoll down to the line 65 , you will see the error.
when the terminal said: zImage is ready (or some thing like that.... i don't remember)
You will see the zImage in arch/arm/boot
AND, SORRY FOR MY BAD ENGLISH!

Code:
CC net/key/af_key.o
CC net/ipv4/ip_sockglue.o
CC net/ipv6/ip6_output.o
LD drivers/input/touchscreen/built-in.o
CC drivers/input/keyreset.o
CC [M] drivers/input/evbug.o
CC net/ipv4/inet_hashtables.o
LD drivers/input/input-core.o
LD drivers/input/built-in.o
CC drivers/leds/led-core.o
CC drivers/leds/led-class.o
LD net/key/built-in.o
CC net/ipv6/ip6_input.o
CC net/ipv6/addrconf.o
CC drivers/leds/leds-cpld.o
CC net/ipv4/inet_timewait_sock.o
CC drivers/leds/leds-msm-pmic.o
CC drivers/leds/leds-msm-pmic-key.o
CC net/ipv4/inet_connection_sock.o
LD drivers/lguest/built-in.o
CC net/ipv6/addrlabel.o
LD drivers/leds/built-in.o
LD drivers/macintosh/built-in.o
CC drivers/md/dm-uevent.o
CC drivers/md/dm.o
CC net/ipv4/tcp.o
CC drivers/md/dm-table.o
CC net/ipv6/route.o
CC net/ipv4/tcp_input.o
CC drivers/md/dm-target.o
CC drivers/md/dm-linear.o
CC drivers/md/dm-stripe.o
CC drivers/md/dm-ioctl.o
CC net/ipv6/ip6_fib.o
CC net/ipv6/ipv6_sockglue.o
CC drivers/md/dm-io.o
CC net/ipv4/tcp_output.o
CC net/ipv6/ndisc.o
CC drivers/md/dm-kcopyd.o
CC drivers/md/dm-sysfs.o
CC net/ipv4/tcp_timer.o
CC drivers/md/dm-crypt.o
CC net/ipv6/udp.o
CC net/ipv6/udplite.o
CC net/ipv4/tcp_ipv4.o
LD drivers/md/dm-mod.o
LD drivers/md/built-in.o
CC drivers/media/common/tuners/tuner-xc2028.o
CC drivers/media/common/tuners/tuner-simple.o
CC net/ipv6/raw.o
CC net/ipv6/protocol.o
CC net/ipv4/tcp_minisocks.o
CC drivers/media/common/tuners/tuner-types.o
CC net/ipv4/tcp_cong.o
CC drivers/media/common/tuners/mt20xx.o
CC net/ipv6/icmp.o
CC drivers/media/common/tuners/tda8290.o
CC net/ipv4/datagram.o
CC net/ipv6/mcast.o
CC net/ipv4/raw.o
CC drivers/media/common/tuners/tea5767.o
CC net/netfilter/core.o
CC drivers/media/common/tuners/tea5761.o
CC net/ipv4/udp.o
CC net/netfilter/nf_log.o
CC drivers/media/common/tuners/tda9887.o
CC net/ipv6/reassembly.o
CC net/netfilter/nf_queue.o
CC drivers/media/common/tuners/xc5000.o
CC net/ipv4/udplite.o
CC net/netfilter/nf_sockopt.o
CC drivers/media/common/tuners/mc44s803.o
CC net/ipv6/tcp_ipv6.o
CC net/netfilter/nf_conntrack_core.o
CC net/ipv4/arp.o
LD drivers/media/common/tuners/built-in.o
LD drivers/media/common/built-in.o
LD drivers/media/radio/built-in.o
CC drivers/media/video/v4l2-dev.o
CC drivers/media/video/v4l2-ioctl.o
CC net/ipv6/exthdrs.o
CC net/ipv4/icmp.o
CC net/netfilter/nf_conntrack_standalone.o
CC net/ipv6/datagram.o
CC drivers/media/video/v4l2-device.o
CC net/netfilter/nf_conntrack_expect.o
CC net/ipv4/devinet.o
CC drivers/media/video/v4l2-int-device.o
CC net/ipv6/ip6_flowlabel.o
CC net/netfilter/nf_conntrack_helper.o
CC drivers/media/video/v4l2-common.o
CC net/netfilter/nf_conntrack_proto.o
CC net/ipv4/af_inet.o
CC drivers/media/video/v4l1-compat.o
CC net/ipv6/inet6_connection_sock.o
CC net/netfilter/nf_conntrack_l3proto_generic.o
CC net/ipv6/sysctl_net_ipv6.o
CC drivers/media/video/msm/msm_camera.o
CC net/ipv4/igmp.o
CC net/netfilter/nf_conntrack_proto_generic.o
CC net/ipv6/xfrm6_policy.o
CC net/netfilter/nf_conntrack_proto_tcp.o
CC net/ipv6/xfrm6_state.o
CC net/ipv4/fib_frontend.o
CC drivers/media/video/msm/msm_v4l2.o
CC net/netfilter/nf_conntrack_proto_udp.o
CC net/ipv6/xfrm6_input.o
CC drivers/media/video/msm/msm_axi_qos.o
CC net/ipv4/fib_semantics.o
CC net/netfilter/nf_conntrack_extend.o
CC net/ipv6/xfrm6_output.o
CC drivers/media/video/msm/msm_vfe7x.o
CC net/netfilter/nf_conntrack_acct.o
CC net/ipv6/netfilter.o
CC drivers/media/video/msm/msm_io7x.o
CC net/ipv4/inet_fragment.o
CC net/netfilter/nf_conntrack_ecache.o
CC drivers/media/video/msm/isx005.o
CC net/ipv6/fib6_rules.o
CC net/ipv4/sysctl_net_ipv4.o
drivers/media/video/msm/isx005.c:240: warning: function declaration isn't a prototype
drivers/media/video/msm/isx005.c: In function 'isx005_init_sensor':
drivers/media/video/msm/isx005.c:808: warning: unused variable 'p'
drivers/media/video/msm/isx005.c:807: warning: unused variable 'i'
CC net/netfilter/nf_conntrack_h323_main.o
CC net/ipv6/proc.o
LD drivers/media/video/msm/built-in.o
CC net/ipv4/sysfs_net_ipv4.o
LD drivers/media/video/videodev.o
LD drivers/media/video/built-in.o
LD drivers/media/built-in.o
LD drivers/mfd/built-in.o
CC drivers/misc/pmem.o
CC net/ipv4/fib_hash.o
CC net/ipv6/ah6.o
CC net/netfilter/nf_conntrack_h323_asn1.o
CC net/netfilter/nfnetlink.o
CC drivers/misc/uid_stat.o
CC net/ipv6/esp6.o
CC net/ipv4/proc.o
LD drivers/misc/cb710/built-in.o
LD drivers/misc/eeprom/built-in.o
CC drivers/misc/android_vibrator.o
CC net/netfilter/nfnetlink_queue.o
CC drivers/misc/lge_ats_at_class.o
CC net/ipv4/ah4.o
CC net/ipv6/ipcomp6.o
CC drivers/misc/lge_ats_at.o
CC net/netfilter/nfnetlink_log.o
drivers/misc/lge_ats_at.c: In function 'atcmd_probe':
drivers/misc/lge_ats_at.c:49: warning: assignment discards qualifiers from pointer target type
CC [M] drivers/misc/pmem_kernel_test.o
CC net/ipv4/esp4.o
CC net/ipv6/xfrm6_tunnel.o
LD drivers/misc/built-in.o
CC drivers/mmc/card/block.o
LD net/netfilter/nf_conntrack.o
CC net/netfilter/nf_conntrack_proto_dccp.o
CC net/ipv4/xfrm4_mode_beet.o
CC net/ipv6/tunnel6.o
CC drivers/mmc/card/queue.o
CC net/netfilter/nf_conntrack_proto_gre.o
CC net/ipv4/tunnel4.o
CC net/ipv6/xfrm6_mode_transport.o
LD drivers/mmc/card/mmc_block.o
LD drivers/mmc/card/built-in.o
CC drivers/mmc/core/core.o
CC net/ipv4/xfrm4_mode_transport.o
CC net/ipv6/xfrm6_mode_tunnel.o
CC net/netfilter/nf_conntrack_proto_sctp.o
CC net/ipv4/xfrm4_mode_tunnel.o
CC net/ipv6/xfrm6_mode_beet.o
CC drivers/mmc/core/bus.o
CC net/netfilter/nf_conntrack_proto_udplite.o
CC net/ipv4/netfilter.o
CC drivers/mmc/core/host.o
CC net/ipv6/mip6.o
CC net/netfilter/nf_conntrack_netlink.o
CC drivers/mmc/core/mmc.o
CC net/ipv4/netfilter/nf_nat_rule.o
LD net/ipv6/netfilter/built-in.o
CC net/ipv6/sit.o
CC drivers/mmc/core/mmc_ops.o
CC net/ipv4/netfilter/nf_nat_standalone.o
CC net/netfilter/nf_conntrack_amanda.o
CC drivers/mmc/core/sd.o
CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o
CC net/ipv6/ip6_tunnel.o
CC net/netfilter/nf_conntrack_ftp.o
CC drivers/mmc/core/sd_ops.o
CC net/ipv4/netfilter/nf_conntrack_proto_icmp.o
CC drivers/mmc/core/sdio.o
LD net/netfilter/nf_conntrack_h323.o
CC net/netfilter/nf_conntrack_irc.o
CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o
CC net/ipv6/addrconf_core.o
CC drivers/mmc/core/sdio_ops.o
CC net/ipv6/exthdrs_core.o
CC net/netfilter/nf_conntrack_netbios_ns.o
CC net/ipv4/netfilter/nf_nat_core.o
CC drivers/mmc/core/sdio_bus.o
CC drivers/mmc/core/sdio_cis.o
CC net/netfilter/nf_conntrack_pptp.o
CC net/ipv6/inet6_hashtables.o
CC net/ipv4/netfilter/nf_nat_helper.o
CC drivers/mmc/core/sdio_io.o
CC net/netfilter/nf_conntrack_sane.o
LD net/ipv6/ipv6.o
LD net/ipv6/built-in.o
CC net/netfilter/nf_conntrack_sip.o
CC drivers/mmc/core/sdio_irq.o
CC net/ipv4/netfilter/nf_nat_proto_unknown.o
CC drivers/mmc/core/debugfs.o
CC net/ipv4/netfilter/nf_nat_proto_common.o
CC net/netlink/af_netlink.o
LD drivers/mmc/core/mmc_core.o
LD drivers/mmc/core/built-in.o
CC drivers/mmc/host/msm_sdcc.o
CC net/ipv4/netfilter/nf_nat_proto_tcp.o
CC net/netfilter/nf_conntrack_tftp.o
CC net/ipv4/netfilter/nf_nat_proto_udp.o
CC net/netfilter/x_tables.o
CC net/ipv4/netfilter/nf_nat_proto_icmp.o
LD drivers/mmc/host/built-in.o
LD drivers/mmc/built-in.o
CC drivers/mtd/mtdcore.o
CC net/netlink/genetlink.o
CC net/ipv4/netfilter/nf_defrag_ipv4.o
CC net/netfilter/xt_tcpudp.o
CC drivers/mtd/mtdsuper.o
CC drivers/mtd/mtdbdi.o
CC net/ipv4/netfilter/nf_nat_amanda.o
LD net/netlink/built-in.o
CC net/ipv4/tcp_cubic.o
CC net/netfilter/xt_CLASSIFY.o
CC drivers/mtd/mtdpart.o
CC net/ipv4/netfilter/nf_nat_ftp.o
CC net/netfilter/xt_CONNMARK.o
CC net/ipv4/netfilter/nf_nat_h323.o
CC drivers/mtd/cmdlinepart.o
CC drivers/mtd/mtdchar.o
CC net/netfilter/xt_MARK.o
CC net/ipv4/netfilter/nf_nat_irc.o
net/netfilter/xt_MARK.c: In function 'mark_mt':
net/netfilter/xt_MARK.c:30: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c:30: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c:30: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c: At top level:
net/netfilter/xt_MARK.c:38: error: invalid application of 'sizeof' to incomplete type 'struct xt_mark_mtinfo1'
make[2]: *** [net/netfilter/xt_MARK.o] Error 1
make[1]: *** [net/netfilter] Error 2
make[1]: *** Waiting for unfinished jobs....
CC drivers/net/mii.o
LD drivers/platform/built-in.o
CC drivers/mtd/mtd_blkdevs.o
CC net/ipv4/netfilter/nf_nat_pptp.o
CC net/ipv4/xfrm4_policy.o
CC drivers/net/Space.o
CC drivers/mtd/mtdblock.o
CC net/ipv4/netfilter/nf_nat_sip.o
CC drivers/net/loopback.o
CC drivers/net/ppp_generic.o
CC drivers/mtd/chips/chipreg.o
LD drivers/mtd/chips/built-in.o
CC drivers/mtd/devices/msm_nand.o
LD drivers/mtd/lpddr/built-in.o
CC net/ipv4/xfrm4_state.o
CC net/ipv4/netfilter/nf_nat_snmp_basic.o
CC net/ipv4/netfilter/nf_nat_tftp.o
CC drivers/net/ppp_async.o
LD drivers/mtd/maps/built-in.o
CC net/ipv4/netfilter/nf_nat_proto_dccp.o
CC net/ipv4/xfrm4_input.o
CC net/ipv4/netfilter/nf_nat_proto_gre.o
CC net/ipv4/netfilter/nf_nat_proto_udplite.o
CC drivers/net/ppp_synctty.o
CC drivers/net/ppp_deflate.o
CC net/ipv4/netfilter/nf_nat_proto_sctp.o
CC net/ipv4/xfrm4_output.o
CC drivers/net/bsd_comp.o
LD drivers/mtd/devices/built-in.o
CC drivers/mtd/nand/nand_ids.o
LD drivers/mtd/nand/built-in.o
LD drivers/mtd/onenand/built-in.o
LD drivers/mtd/tests/built-in.o
CC [M] drivers/mtd/tests/mtd_oobtest.o
CC drivers/net/ppp_mppe.o
CC drivers/net/pppox.o
CC net/ipv4/netfilter/ip_tables.o
CC [M] drivers/mtd/tests/mtd_pagetest.o
CC [M] drivers/mtd/tests/mtd_readtest.o
CC drivers/net/pppoe.o
CC net/ipv4/netfilter/iptable_filter.o
CC drivers/net/pppol2tp.o
CC [M] drivers/mtd/tests/mtd_speedtest.o
LD net/ipv4/netfilter/iptable_nat.o
CC net/ipv4/netfilter/ipt_addrtype.o
CC [M] drivers/mtd/tests/mtd_stresstest.o
CC net/ipv4/netfilter/ipt_ah.o
CC [M] drivers/mtd/tests/mtd_subpagetest.o
CC drivers/net/pppolac.o
CC net/ipv4/netfilter/ipt_ecn.o
net/ipv4/netfilter/ipt_ecn.c: In function 'set_ect_ip':
net/ipv4/netfilter/ipt_ecn.c:33: error: 'XT_DSCP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:33: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ipt_ecn.c:33: error: for each function it appears in.)
net/ipv4/netfilter/ipt_ecn.c: In function 'ecn_tg_check':
net/ipv4/netfilter/ipt_ecn.c:106: error: 'XT_DSCP_MASK' undeclared (first use in this function)
make[3]: *** [net/ipv4/netfilter/ipt_ecn.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....
CC drivers/power/msm_battery.o
CC drivers/rtc/rtc-lib.o
CC [M] drivers/mtd/tests/mtd_torturetest.o
CC drivers/net/pppopns.o
CC drivers/rtc/hctosys.o
CC drivers/power/power_supply_core.o
LD drivers/mtd/mtd.o
LD drivers/mtd/built-in.o
CC drivers/rtc/class.o
CC drivers/power/power_supply_sysfs.o
CC drivers/net/slip.o
CC drivers/rtc/interface.o
LD drivers/power/power_supply.o
LD drivers/power/msm_batt.o
LD drivers/power/built-in.o
CC drivers/scsi/scsi.o
CC drivers/serial/serial_core.o
CC drivers/rtc/rtc-dev.o
CC drivers/net/slhc.o
CC drivers/rtc/rtc-proc.o
CC drivers/scsi/hosts.o
CC drivers/rtc/rtc-sysfs.o
CC drivers/serial/msm_serial.o
CC drivers/net/dummy.o
CC drivers/scsi/scsi_ioctl.o
CC drivers/rtc/alarm.o
CC drivers/net/smc91x.o
CC drivers/scsi/constants.o
CC drivers/serial/msm_serial_hs.o
drivers/net/smc91x.c: In function 'smc_hardware_send_pkt':
drivers/net/smc91x.c:553: warning: unused variable 'flags'
drivers/net/smc91x.c: In function 'smc_hard_start_xmit':
drivers/net/smc91x.c:639: warning: unused variable 'flags'
CC drivers/rtc/alarm-dev.o
CC drivers/scsi/scsicam.o
CC drivers/rtc/rtc-msm.o
LD drivers/serial/built-in.o
CC drivers/scsi/scsi_error.o
LD drivers/net/arm/built-in.o
CC drivers/net/wireless/bcm4329/brcm_static_buf.o
LD drivers/net/wireless/libra/built-in.o
CC [M] drivers/net/wireless/libra/libra_sdioif.o
LD drivers/rtc/rtc-core.o
LD drivers/rtc/built-in.o
CC drivers/scsi/scsi_lib.o
CC [M] drivers/net/wireless/bcm4329/src/dhd/sys/dhd_linux.o
LD [M] drivers/net/wireless/libra/librasdioif.o
CC [M] drivers/net/wireless/bcm4329/src/dhd/sys/dhd_linux_sched.o
CC [M] drivers/net/wireless/bcm4329/src/shared/linux_osl.o
CC drivers/scsi/scsi_lib_dma.o
CC drivers/scsi/scsi_scan.o
CC [M] drivers/net/wireless/bcm4329/src/shared/bcmutils.o
CC [M] drivers/net/wireless/bcm4329/src/dhd/sys/dhd_common.o
CC drivers/scsi/scsi_sysfs.o
CC drivers/net/msm_rmnet.o
CC [M] drivers/net/wireless/bcm4329/src/dhd/sys/dhd_custom_gpio.o
CC drivers/scsi/scsi_devinfo.o
CC drivers/staging/staging.o
CC drivers/staging/android/binder.o
CC [M] drivers/net/wireless/bcm4329/src/shared/siutils.o
CC drivers/scsi/scsi_sysctl.o
CC [M] drivers/net/wireless/bcm4329/src/shared/sbutils.o
CC drivers/scsi/scsi_proc.o
CC drivers/scsi/scsi_tgt_lib.o
CC [M] drivers/net/wireless/bcm4329/src/shared/aiutils.o
CC drivers/switch/switch_class.o
CC drivers/switch/switch_gpio.o
drivers/switch/switch_gpio.c:1:2: warning: #warning compile out
LD drivers/switch/built-in.o
CC drivers/staging/android/logger.o
CC drivers/scsi/scsi_tgt_if.o
CC [M] drivers/net/wireless/bcm4329/src/shared/hndpmu.o
CC [M] drivers/net/wireless/bcm4329/src/wl/sys/wl_iw.o
CC drivers/staging/android/ram_console.o
CC drivers/staging/android/timed_output.o
CC drivers/scsi/sd.o
LD drivers/scsi/arm/built-in.o
CC [M] drivers/net/wireless/bcm4329/src/shared/bcmwifi.o
CC drivers/staging/android/timed_gpio.o
drivers/staging/android/timed_gpio.c:1:2: warning: #warning compile out
CC drivers/staging/android/lowmemorykiller.o
CC [M] drivers/net/wireless/bcm4329/src/dhd/sys/dhd_cdc.o
LD drivers/staging/android/built-in.o
LD drivers/staging/built-in.o
CC drivers/usb/gadget/msm72k_udc.o
drivers/usb/gadget/msm72k_udc.c: In function 'print_switch_state':
drivers/usb/gadget/msm72k_udc.c:320: warning: unused variable 'ui'
drivers/usb/gadget/msm72k_udc.c: At top level:
drivers/usb/gadget/msm72k_udc.c:509: warning: 'ulpi_read' defined but not used
drivers/usb/gadget/msm72k_udc.c:545: warning: 'ulpi_init' defined but not used
CC drivers/usb/gadget/android.o
CC drivers/scsi/sg.o
CC [M] drivers/net/wireless/bcm4329/src/dhd/sys/dhd_sdio.o
CC drivers/usb/otg/otg.o
CC drivers/usb/otg/msm72k_otg.o
CC drivers/usb/gadget/f_adb.o
CC drivers/scsi/ch.o
LD drivers/usb/otg/built-in.o
CC drivers/usb/gadget/f_mass_storage.o
CC [M] drivers/net/wireless/bcm4329/src/bcmsdio/sys/bcmsdh_sdmmc.o
CC drivers/video/fb_notify.o
CC [M] drivers/scsi/scsi_wait_scan.o
CC drivers/video/fbmem.o
CC [M] drivers/net/wireless/bcm4329/src/bcmsdio/sys/bcmsdh.o
LD drivers/scsi/scsi_mod.o
LD drivers/scsi/scsi_tgt.o
LD drivers/scsi/sd_mod.o
LD drivers/scsi/built-in.o
CC [M] drivers/net/wireless/bcm4329/src/bcmsdio/sys/bcmsdh_linux.o
CC drivers/video/fbmon.o
CC drivers/usb/gadget/u_serial.o
CC [M] drivers/net/wireless/bcm4329/src/bcmsdio/sys/bcmsdh_sdmmc_linux.o
CC drivers/usb/gadget/f_acm.o
CC drivers/video/fbcmap.o
drivers/usb/gadget/f_acm.c: In function 'acm_cdc_notify':
drivers/usb/gadget/f_acm.c:478: warning: unused variable 'len'
LD drivers/net/wireless/bcm4329/built-in.o
LD [M] drivers/net/wireless/bcm4329/wireless.o
CC drivers/usb/gadget/u_ether.o
LD drivers/net/wireless/built-in.o
LD drivers/net/built-in.o
CC drivers/usb/gadget/f_ecm.o
CC drivers/usb/gadget/f_serial.o
CC drivers/video/fbsysfs.o
drivers/usb/gadget/f_serial.c: In function 'gser_notify':
drivers/usb/gadget/f_serial.c:419: warning: unused variable 'len'
CC drivers/video/modedb.o
CC drivers/usb/gadget/f_diag.o
CC drivers/video/fbcvt.o
CC drivers/video/backlight/lcd.o
CC drivers/video/console/dummycon.o
CC drivers/video/console/fbcon.o
CC drivers/usb/gadget/rndis.o
CC drivers/video/backlight/backlight.o
LD drivers/video/display/built-in.o
CC drivers/video/backlight/generic_bl.o
CC drivers/video/console/bitblit.o
CC drivers/video/backlight/aat2870_bl.o
CC drivers/usb/gadget/f_rndis.o
drivers/video/backlight/aat2870_bl.c:538: warning: 'aat28xx_poweroff' defined but not used
CC drivers/usb/gadget/u_lgeusb.o
LD drivers/video/backlight/built-in.o
CC drivers/video/console/fonts.o
CC drivers/video/console/font_6x11.o
LD drivers/usb/gadget/g_android.o
CC drivers/video/console/softcursor.o
LD drivers/usb/gadget/built-in.o
CC drivers/video/cfbfillrect.o
CC drivers/video/msm/msm_fb.o
CC drivers/video/cfbcopyarea.o
LD drivers/video/console/font.o
LD drivers/video/console/built-in.o
CC drivers/video/msm/msm_fb_bl.o
CC drivers/video/cfbimgblt.o
CC drivers/video/msm/mdp.o
CC drivers/video/msm/mdp_hw_init.o
CC drivers/video/output.o
CC drivers/video/msm/mdp_ppp.o
drivers/video/msm/mdp_ppp.c: In function 'flush_imgs':
drivers/video/msm/mdp_ppp.c:557: warning: unused variable 'dst1_len'
drivers/video/msm/mdp_ppp.c:557: warning: unused variable 'dst0_len'
CC drivers/video/msm/mdp_ppp_v20.o
CC drivers/video/msm/mdp_dma_lcdc.o
CC drivers/video/msm/mdp_dma.o
LD drivers/video/fb.o
CC drivers/video/msm/mdp_dma_s.o
CC drivers/video/msm/mdp_vsync.o
CC drivers/video/msm/mdp_cursor.o
CC drivers/video/msm/mdp_dma_tv.o
CC drivers/video/msm/ebi2_lcd.o
CC drivers/video/msm/msm_fb_panel.o
CC drivers/video/msm/ebi2_tovis.o
drivers/video/msm/ebi2_tovis.c:294: warning: function declaration isn't a prototype
drivers/video/msm/ebi2_tovis.c: In function 'do_tovis_init':
drivers/video/msm/ebi2_tovis.c:295: warning: unused variable 'y'
drivers/video/msm/ebi2_tovis.c:295: warning: unused variable 'x'
drivers/video/msm/ebi2_tovis.c: At top level:
drivers/video/msm/ebi2_tovis.c:568: warning: function declaration isn't a prototype
drivers/video/msm/ebi2_tovis.c: In function 'do_ilitek_init':
drivers/video/msm/ebi2_tovis.c:569: warning: unused variable 'y'
drivers/video/msm/ebi2_tovis.c:569: warning: unused variable 'x'
drivers/video/msm/ebi2_tovis.c: At top level:
drivers/video/msm/ebi2_tovis.c:69: warning: 'disp_area_start_row' defined but not used
drivers/video/msm/ebi2_tovis.c:70: warning: 'disp_area_end_row' defined but not used
LD drivers/video/msm/built-in.o
LD drivers/video/built-in.o
LD drivers/built-in.o
[email protected]:~/android/system/pecan_kernal$
make zImage -j4
Code:
[email protected]:~/android/system/pecan_kernal$ make zImage -j4
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
LD net/netfilter/netfilter.o
CC net/netfilter/xt_MARK.o
LD net/ipv4/netfilter/nf_conntrack_ipv4.o
LD net/ipv4/netfilter/nf_nat.o
CC net/ipv4/netfilter/ipt_ecn.o
net/netfilter/xt_MARK.c: In function 'mark_mt':
net/netfilter/xt_MARK.c:30: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c:30: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c:30: error: dereferencing pointer to incomplete type
net/netfilter/xt_MARK.c: At top level:
net/netfilter/xt_MARK.c:38: error: invalid application of 'sizeof' to incomplete type 'struct xt_mark_mtinfo1'
make[2]: *** [net/netfilter/xt_MARK.o] Error 1
make[1]: *** [net/netfilter] Error 2
make[1]: *** Waiting for unfinished jobs....
CC net/ipv4/netfilter/ipt_LOG.o
net/ipv4/netfilter/ipt_ecn.c: In function 'set_ect_ip':
net/ipv4/netfilter/ipt_ecn.c:33: error: 'XT_DSCP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:33: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ipt_ecn.c:33: error: for each function it appears in.)
net/ipv4/netfilter/ipt_ecn.c: In function 'ecn_tg_check':
net/ipv4/netfilter/ipt_ecn.c:106: error: 'XT_DSCP_MASK' undeclared (first use in this function)
make[3]: *** [net/ipv4/netfilter/ipt_ecn.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system/pecan_kernal$
the errors shown are fine ???

hey dude start from fresh use this guide.
http://forum.xda-developers.com/showpost.php?p=19450739&postcount=7
and
http://forum.xda-developers.com/showpost.php?p=19051547&postcount=1
DId u try only 'make'?

aspee said:
hey dude start from fresh use this guide.
http://forum.xda-developers.com/showpost.php?p=19450739&postcount=7
and
http://forum.xda-developers.com/showpost.php?p=19051547&postcount=1
DId u try only 'make'?
Click to expand...
Click to collapse
make command will make the build slower, but you should give it a try!
And those code you posted above is not OK, see the line "unfished job", this is the problem , fix it

But I downloaded it from a source which works perfect then how it shows error for me??
Source
Output of make
Code:
[email protected]:~/android/system/pecan_kernal$ make
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC net/ipv4/netfilter/ipt_ecn.o
net/ipv4/netfilter/ipt_ecn.c: In function 'set_ect_ip':
net/ipv4/netfilter/ipt_ecn.c:33: error: 'XT_DSCP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:33: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ipt_ecn.c:33: error: for each function it appears in.)
net/ipv4/netfilter/ipt_ecn.c: In function 'ecn_tg_check':
net/ipv4/netfilter/ipt_ecn.c:106: error: 'XT_DSCP_MASK' undeclared (first use in this function)
make[3]: *** [net/ipv4/netfilter/ipt_ecn.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
[email protected]:~/android/system/pecan_kernal$
this is the source if you guys have time please compile it and check the problem is with my PC or the kernel itself

have you modified anything?
If you have not, what toolchain you use to compile? the arm-eabi GCC 4.4.3?
i thought that the problems caused by toolchain you use , the kernel source on github may used the linaro toolchain to compile. So it just can compile with linaro (i think)

if the .config file is found in the kernel then do i have to type menuconfig ??
or can i skip the line and do make zimage -j4 ???

thachtunganh said:
have you modified anything?
If you have not, what toolchain you use to compile? the arm-eabi GCC 4.4.3?
i thought that the problems caused by toolchain you use , the kernel source on github may used the linaro toolchain to compile. So it just can compile with linaro (i think)
Click to expand...
Click to collapse
download this ???
http://android-build.linaro.org/builds/~linaro-android/toolchain-4.6-2011.09/1/android-toolchain-eabi-linaro-4.6-2011.09-1-1-2011-09-16_16-16-01-linux-x86.tar.bz2
and extract it to prebuilt/toolchain
and insert path to .bashrc
thats it ??

I have compiled another Kernel Source and It also showed some errors but still running line of codes in terminal and atlast I got the zImage file
so can I apply it to the phone (I havent edited anything and it still has errors)
or do i have to download the latest toolchain and compile it again
thanks Guys for Supporting Me
thank you verymuch
Finally I got ZImage file Ya Hooooo !!!!!!
will only apply it to phone after your Reply

Yep of u got zimage then all should be OK
Only flash zimage and check wifi and other thing are stable if not then u need .ko drivers too
Please used pastebin dot com instead of pasting whole thing here
Sent from my LG-P500 using xda premium

Hello, vivekkalady ! I know a few guys that expected from last year an iniitiative to build a stable kernel for Optimus Me P350 . I hope your kernel will be as good as franco.kernel or goldenleaf. Congratulations for your initiative!
PS: When you will post here a download link?

Related

Building Android [kernel] from source

This thread has been written anymore here.
This is my old thread >> forum.xda-developers.com/showthread.php?t=1334658 <<
Cz there no gio forum at past time.
Hehe.
So, I wrote there before.
Sry, I forgot to write that here
Ok, let's see!!
May this can help y.......
Building kernel tools :
git
ARM Compiler Toolchain
Kernel Source Code
Python
Valgrin
Java
*git : $ sudo apt-get install git
*java : $ apt-get install java (choose either of java version) and, type this command :
$ sudo apt-get install *java-version
*valgrin : $ sudo apt-get install valgrin
*python : $ sudo apt-get install python
*ARM toolchain :
Do a web search on code.google.com
or
u can use this (For Gioers)
*Kernel source code :
download from github.com
(For Gioers, u can download on here (Hyriand's source code) or here, (Phiexz's source code) here
or my source code
U can download kernel source code by typing this command on terminal :
Code:
git clone [URL="https://github.com/iksteen/android_kernel_samsung_galaxygio"][COLOR=#0066cc]https://github.com/iksteen/android_kernel_samsung_galaxygio[/COLOR][/URL]
---------------------------SKIP THIS STEP IF YOU JUST WANNA BUILD KERNEL---------------------
And, u need to repo first.
U can type these commands to do :
Code:
mkdir ~/bin
PATH=~/bin:$PATH
curl [URL="https://dl-ssl.google.com/dl/googlesource/git-repo/repo"][COLOR=#0066cc]https://dl-ssl.google.com/dl/googlesource/git-repo/repo[/COLOR][/URL] > ~/bin/repo
chmod a+x ~/bin/repo
mkdir WORKING_DIRECTORY
cd WORKING_DIRECTORY
repo init -u [URL="https://android.googlesource.com/platform/manifest"][COLOR=#0066cc]https://android.googlesource.com/platform/manifest[/COLOR][/URL] -b gingerbread
[example for GB, ICS source has been released. Just type command like this below for ICS :
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
CM GB :
Code:
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
CM ICS :
Code:
repo init -u git://github.com/CyanogenMod/android.git -b ics
*Choose your name & e-mail, and colour.
after u're done,
type this command :
Code:
repo sync -j2 ( for bandwidth min 10kbps max 20kbps )
repo sync -j4 ( for bandwidth min 20kbps max 40kbps )
repo sync -j8 ( for badnwitdh min 40kbps max 60kbps )
repo sync -j16 ( for bandwidth min 60kbps max 80kbps )
repo sync -j32 & -j64 ( for fast bandwidth )
or u can this repo mirror command :
Code:
mkdir -p ~/bin
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
mkdir android-repo
cd android-repo
repo init -u https://android.googlesource.com/platform/manifest --mirror
then, type repo sync like I've said before
Wait till done.
---------------------------------------------------------------------------------------------------------------
JUST CONTINUE DIRECTLY TO THIS BELOW STEP​
--------------------------------------------------------------------------------------------------------------------------------------------------------
And, u do next steps (For Gioers):
Code:
mkdir android
mkdir sources
mkdir .Galaxy_Gio_Sources
And if ya have downloaded all tools that they're needed,
u can do these steps :
Hold ctrl+H on your home.
Move your kernel source code to folder u created that it named .Galaxy_Gio_Sources
And, copas your ARM toolchain to source code folder.
Before do to the next step, u find the following lines on "Makefile" in source code folder :
Code:
[SIZE=3]#ARCH?= $(SUBARCH)[/SIZE]
[SIZE=3]CROSS_COMPILE=[/SIZE]
change them to
Code:
#ARCH?= arm
CROSS_COMPILE= ./arm-2009q3/bin/arm-none-linux-gnueabi-
After that,
type these commands :
Code:
cd android
cd sources
Then, type command on terminal :
Code:
ln -s /home/*name of your desktop/.Galaxy_Gio_Sources/android_kernel_samsung_galaxygio
Code:
#Pull kernel config from running phone
adb pull /proc/config.gz ~android/sources/android_kernel_samsung_galaxygio/arch/arm/configs
cd ~android/sources/android_kernel_samsung_galaxygio/arch/arm/configs
gunzip config.gz
and name it to be gio_rev03_defconfig
[/CODE]
or
Code:
U can grab config.gz on your HH with root explorer.
location >> proc/*config.gz
copas to sdcard.
Move to /android/sources/android_kernel_samsung_galaxygio/arch/arm/configs
or
Code:
copy boot.img or zImage which wanna be extracted its config to root folder kernel sourse tree.
and type this command from kernel source tree:
./scripts/extract-ikconfig boot.img > gio_rev03_defconfig
Command before do compile :
Code:
export CCOMPILER=~/arm-2009q3/bin/arm-none-linux-gnueabi-
or
Code:
export CCOMPILER=/home/*name of your desktop/android/sourcesarm-2009q3/bin/arm-none-linux-gnueabi-
next,
Code:
make ARCH=arm CROSS_COMPILE=$CCOMPILER gio_rev03_defconfig
then,
Code:
make ARCH=arm CROSS_COMPILE=$CCOMPILER
or directly w/o use export commands. Like these :
Code:
cd android
cd sources
cd android_kernel_samsung_galaxygio
chmod ugo+rwx bin
then,
Code:
make menuconfig
make ARCH=arm CROSS_COMPILE=/home/delano/android/sources/android_kernel_samsung_galaxygio/arm-2009q3/bin/arm-none-linux-gnueabi- [SIZE=3][COLOR=#000000][Example}[/COLOR][/SIZE]
or,
Code:
make menuconfig
make ARCH=arm CROSS_COMPILE=/home/delano/android/sources/android_kernel_samsung_galaxygio/arm-2009q3/bin/arm-none-linux-gnueabi- -j8 [SIZE=3][COLOR=#000000][Example}[/COLOR][/SIZE]
Here's an example while I was compiling :
Code:
[SIZE=3] CC kernel/bounds.s[/SIZE]
[SIZE=3] GEN include/generated/bounds.h[/SIZE]
[SIZE=3] CC arch/arm/kernel/asm-offsets.s[/SIZE]
[SIZE=3] GEN include/generated/asm-offsets.h[/SIZE]
[SIZE=3] CALL scripts/checksyscalls.sh[/SIZE]
[SIZE=3] CC scripts/mod/empty.o[/SIZE]
[SIZE=3] MKELF scripts/mod/elfconfig.h[/SIZE]
[SIZE=3] HOSTCC scripts/mod/file2alias.o[/SIZE]
[SIZE=3] HOSTCC scripts/mod/modpost.o[/SIZE]
[SIZE=3] HOSTCC scripts/mod/sumversion.o[/SIZE]
[SIZE=3] HOSTLD scripts/mod/modpost[/SIZE]
[SIZE=3] CC init/main.o[/SIZE]
[SIZE=3] CHK include/generated/compile.h[/SIZE]
[SIZE=3] CC init/version.o[/SIZE]
[SIZE=3] CC init/do_mounts.o[/SIZE]
[SIZE=3] CC init/do_mounts_rd.o[/SIZE]
[SIZE=3] CC init/do_mounts_initrd.o[/SIZE]
[SIZE=3] LD init/mounts.o[/SIZE]
[SIZE=3] CC init/initramfs.o[/SIZE]
[SIZE=3] CC init/calibrate.o[/SIZE]
[SIZE=3] LD init/built-in.o[/SIZE]
[SIZE=3] AS usr/initramfs_data.o[/SIZE]
[SIZE=3] LD usr/built-in.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/compat.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/elf.o[/SIZE]
[SIZE=3] AS arch/arm/kernel/entry-armv.o[/SIZE]
[SIZE=3] AS arch/arm/kernel/entry-common.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/irq.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/process.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/ptrace.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/return_address.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/setup.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/signal.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/sys_arm.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/stacktrace.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/time.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/traps.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/armksyms.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/module.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/sched_clock.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/sys_oabi-compat.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/pmu.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/perf_event.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/io.o[/SIZE]
[SIZE=3] LD arch/arm/kernel/built-in.o[/SIZE]
[SIZE=3] AS arch/arm/kernel/head.o[/SIZE]
[SIZE=3] CC arch/arm/kernel/init_task.o[/SIZE]
[SIZE=3] LDS arch/arm/kernel/vmlinux.lds[/SIZE]
[SIZE=3] CC arch/arm/mm/dma-mapping.o[/SIZE]
[SIZE=3] CC arch/arm/mm/extable.o[/SIZE]
[SIZE=3] CC arch/arm/mm/fault.o[/SIZE]
[SIZE=3] CC arch/arm/mm/init.o[/SIZE]
[SIZE=3] CC arch/arm/mm/iomap.o[/SIZE]
[SIZE=3] CC arch/arm/mm/fault-armv.o[/SIZE]
[SIZE=3] CC arch/arm/mm/flush.o[/SIZE]
[SIZE=3] CC arch/arm/mm/ioremap.o[/SIZE]
[SIZE=3] CC arch/arm/mm/mmap.o[/SIZE]
[SIZE=3] CC arch/arm/mm/pgd.o[/SIZE]
[SIZE=3] CC arch/arm/mm/mmu.o[/SIZE]
[SIZE=3] CC arch/arm/mm/vmregion.o[/SIZE]
[SIZE=3] CC arch/arm/mm/proc-syms.o[/SIZE]
[SIZE=3] CC arch/arm/mm/alignment.o[/SIZE]
[SIZE=3] AS arch/arm/mm/abort-ev6.o[/SIZE]
[SIZE=3] AS arch/arm/mm/pabort-v6.o[/SIZE]
[SIZE=3] AS arch/arm/mm/cache-v6.o[/SIZE]
[SIZE=3] CC arch/arm/mm/copypage-v6.o[/SIZE]
[SIZE=3] CC arch/arm/mm/context.o[/SIZE]
[SIZE=3] AS arch/arm/mm/tlb-v6.o[/SIZE]
[SIZE=3] AS arch/arm/mm/proc-v6.o[/SIZE]
[SIZE=3] CC arch/arm/mm/cache-l2x0.o[/SIZE]
[SIZE=3] LD arch/arm/mm/built-in.o[/SIZE]
[SIZE=3] CC arch/arm/common/clkdev.o[/SIZE]
[SIZE=3] LD arch/arm/common/built-in.o[/SIZE]
[SIZE=3] CC [M] arch/arm/common/cpaccess.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/io.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/dma.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/memory.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/clock.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/clock-voter.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/modem_notifier.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/cpufreq.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/nohlt.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/clock-debug.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/proc_comm.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/clock-pcom.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/internal_power_rail.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/vreg.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/mpp.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/pmic_debugfs.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/drop_caches.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/acpuclock.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/timer.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/irq-vic.o[/SIZE]
[SIZE=3] AS arch/arm/mach-msm/idle-v6.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smem_log.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_debug.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/remote_spinlock.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/socinfo.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/nand_partitions.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/pmic.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/rpc_hsusb.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/rpc_pmapp.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/rpc_fsusb.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_tty.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_qmi.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_pkt.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_nmea.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_rpcrouter.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_rpcrouter_device.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_rpc_sym.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_rpcrouter_servers.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_rpcrouter_clients.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/smd_rpcrouter_xdr.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/rpcrouter_smd_xprt.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/ping_mdm_rpc_client.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/proc_comm_test.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/ping_apps_server.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/oem_rapi_client.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/rpc_server_dog_keepalive.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/rpc_server_time_remote.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_driver.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_info.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_rm.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_video_verify_cmd.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_videoenc_verify_cmd.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_jpeg_verify_cmd.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_jpeg_patch_event.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_vfe_verify_cmd.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_vfe_patch_event.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/adsp_lpm_verify_cmd.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_out.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_in.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_mp3.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audmgr.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audpp.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audrec.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_evrc.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_qcelp.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_amrnb.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_aac.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_amrnb_in.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_wma.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_voicememo.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_pcm.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_amrwb.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/audio_wmapro.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/snd.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/qdsp5/snd_adie.o[/SIZE]
[SIZE=3] LD arch/arm/mach-msm/qdsp5/built-in.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/pm2.o[/SIZE]
[SIZE=3]arch/arm/mach-msm/pm2.c:1597: warning: type defaults to 'int' in declaration of 'what_clk'[/SIZE]
[SIZE=3]arch/arm/mach-msm/pm2.c:1598: warning: type defaults to 'int' in declaration of 'req_clk'[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/keypad-surf-ffa.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/board-msm7x27.o[/SIZE]
[SIZE=3]In file included from arch/arm/mach-msm/board-msm7x27.c:16:[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c: In function 'msm_fb_lcdc_power_save':[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c:994: warning: no return statement in function returning non-void[/SIZE]
[SIZE=3]In file included from arch/arm/mach-msm/board-msm7x27.c:16:[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c: In function 'msm7x2x_init_mmc':[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c:2727: warning: ISO C90 forbids mixed declarations and code[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-msm7x27.c: At top level:[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c:938: warning: 'msm_fb_lcdc_vreg' defined but not used[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c:942: warning: 'msm_fb_lcdc_vreg_rev02' defined but not used[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c:1377: warning: 'i2c_devices' defined but not used[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c:1465: warning: 'mus_i2c_devices' defined but not used[/SIZE]
[SIZE=3]arch/arm/mach-msm/board-gio.c:2212: warning: 'sdcc_gpio_init' defined but not used[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/devices-msm7x27.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/msm_vibrator.o[/SIZE]
[SIZE=3]arch/arm/mach-msm/msm_vibrator.c: In function 'vibrator_enable':[/SIZE]
[SIZE=3]arch/arm/mach-msm/msm_vibrator.c:273: warning: unused variable 'flags'[/SIZE]
[SIZE=3]arch/arm/mach-msm/msm_vibrator.c: At top level:[/SIZE]
[SIZE=3]arch/arm/mach-msm/msm_vibrator.c:181: warning: 'vibe_set_pwm_freq' defined but not used[/SIZE]
[SIZE=3]arch/arm/mach-msm/msm_vibrator.c:202: warning: 'set_pmic_vibrator' defined but not used[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/gpiomux-7x27.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/gpiomux-v1.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/gpiomux.o[/SIZE]
[SIZE=3] CC arch/arm/mach-msm/gpio.o[/SIZE]
[SIZE=3] LD arch/arm/mach-msm/built-in.o[/SIZE]
[SIZE=3] CC [M] arch/arm/mach-msm/reset_modem.o[/SIZE]
[SIZE=3] CC [M] arch/arm/mach-msm/dma_test.o[/SIZE]
[SIZE=3] CC arch/arm/vfp/vfpmodule.o[/SIZE]
[SIZE=3] AS arch/arm/vfp/entry.o[/SIZE]
[SIZE=3] AS arch/arm/vfp/vfphw.o[/SIZE]
[SIZE=3] CC arch/arm/vfp/vfpsingle.o[/SIZE]
[SIZE=3] CC arch/arm/vfp/vfpdouble.o[/SIZE]
[SIZE=3] LD arch/arm/vfp/vfp.o[/SIZE]
[SIZE=3] LD arch/arm/vfp/built-in.o[/SIZE]
[SIZE=3] CC arch/arm/perfmon/perf-function-hooks.o[/SIZE]
[SIZE=3] LD arch/arm/perfmon/built-in.o[/SIZE]
[SIZE=3] CC kernel/sched.o[/SIZE]
[SIZE=3]kernel/sched.c: In function 'sched_init':[/SIZE]
[SIZE=3]kernel/sched.c:7524: warning: ISO C90 forbids mixed declarations and code[/SIZE]
[SIZE=3]kernel/sched.c:7525: warning: initialization from incompatible pointer type[/SIZE]
[SIZE=3] CC kernel/fork.o[/SIZE]
[SIZE=3] CC kernel/exec_domain.o[/SIZE]
[SIZE=3] CC kernel/panic.o[/SIZE]
[SIZE=3] CC kernel/printk.o[/SIZE]
[SIZE=3] CC kernel/cpu.o[/SIZE]
[SIZE=3] CC kernel/exit.o[/SIZE]
[SIZE=3] CC kernel/itimer.o[/SIZE]
[SIZE=3] CC kernel/time.o[/SIZE]
[SIZE=3] CC kernel/softirq.o[/SIZE]
[SIZE=3] CC kernel/resource.o[/SIZE]
[SIZE=3] CC kernel/sysctl.o[/SIZE]
[SIZE=3] CC kernel/sysctl_binary.o[/SIZE]
[SIZE=3] CC kernel/capability.o[/SIZE]
[SIZE=3] CC kernel/ptrace.o[/SIZE]
[SIZE=3] CC kernel/timer.o[/SIZE]
[SIZE=3] CC kernel/user.o[/SIZE]
[SIZE=3] CC kernel/signal.o[/SIZE]
[SIZE=3] CC kernel/sys.o[/SIZE]
[SIZE=3] CC kernel/kmod.o[/SIZE]
[SIZE=3] CC kernel/workqueue.o[/SIZE]
[SIZE=3] CC kernel/pid.o[/SIZE]
[SIZE=3] CC kernel/rcupdate.o[/SIZE]
[SIZE=3] CC kernel/extable.o[/SIZE]
[SIZE=3] CC kernel/params.o[/SIZE]
[SIZE=3] CC kernel/posix-timers.o[/SIZE]
[SIZE=3] CC kernel/kthread.o[/SIZE]
[SIZE=3] CC kernel/wait.o[/SIZE]
[SIZE=3] CC kernel/kfifo.o[/SIZE]
[SIZE=3] CC kernel/sys_ni.o[/SIZE]
[SIZE=3] CC kernel/posix-cpu-timers.o[/SIZE]
[SIZE=3] CC kernel/mutex.o[/SIZE]
[SIZE=3] CC kernel/hrtimer.o[/SIZE]
[SIZE=3] CC kernel/rwsem.o[/SIZE]
[SIZE=3] CC kernel/nsproxy.o[/SIZE]
[SIZE=3] CC kernel/srcu.o[/SIZE]
[SIZE=3] CC kernel/semaphore.o[/SIZE]
[SIZE=3] CC kernel/notifier.o[/SIZE]
[SIZE=3] CC kernel/ksysfs.o[/SIZE]
[SIZE=3] CC kernel/pm_qos_params.o[/SIZE]
[SIZE=3] CC kernel/sched_clock.o[/SIZE]
[SIZE=3] CC kernel/cred.o[/SIZE]
[SIZE=3] CC kernel/async.o[/SIZE]
[SIZE=3] CC kernel/range.o[/SIZE]
[SIZE=3] CC kernel/groups.o[/SIZE]
[SIZE=3] CC kernel/freezer.o[/SIZE]
[SIZE=3] CC kernel/profile.o[/SIZE]
[SIZE=3] CC kernel/stacktrace.o[/SIZE]
[SIZE=3] CC kernel/irq/handle.o[/SIZE]
[SIZE=3] CC kernel/irq/manage.o[/SIZE]
[SIZE=3] CC kernel/irq/spurious.o[/SIZE]
[SIZE=3] CC kernel/irq/resend.o[/SIZE]
[SIZE=3] CC kernel/irq/chip.o[/SIZE]
[SIZE=3] CC kernel/irq/devres.o[/SIZE]
[SIZE=3] CC kernel/irq/autoprobe.o[/SIZE]
[SIZE=3] CC kernel/irq/proc.o[/SIZE]
[SIZE=3] CC kernel/irq/pm.o[/SIZE]
[SIZE=3] LD kernel/irq/built-in.o[/SIZE]
[SIZE=3] CC kernel/power/main.o[/SIZE]
[SIZE=3] CC kernel/power/console.o[/SIZE]
[SIZE=3] CC kernel/power/process.o[/SIZE]
[SIZE=3] CC kernel/power/suspend.o[/SIZE]
[SIZE=3] CC kernel/power/nvs.o[/SIZE]
[SIZE=3] CC kernel/power/wakelock.o[/SIZE]
[SIZE=3] CC kernel/power/portlist.o[/SIZE]
[SIZE=3] CC kernel/power/userwakelock.o[/SIZE]
[SIZE=3] CC kernel/power/earlysuspend.o[/SIZE]
[SIZE=3] CC kernel/power/consoleearlysuspend.o[/SIZE]
[SIZE=3] CC kernel/power/poweroff.o[/SIZE]
[SIZE=3] LD kernel/power/built-in.o[/SIZE]
[SIZE=3] CC kernel/time/timekeeping.o[/SIZE]
[SIZE=3] CC kernel/time/ntp.o[/SIZE]
[SIZE=3] CC kernel/time/clocksource.o[/SIZE]
[SIZE=3] CC kernel/time/jiffies.o[/SIZE]
[SIZE=3] CC kernel/time/timer_list.o[/SIZE]
[SIZE=3] CC kernel/time/timecompare.o[/SIZE]
[SIZE=3] CC kernel/time/timeconv.o[/SIZE]
[SIZE=3] CC kernel/time/clockevents.o[/SIZE]
[SIZE=3] CC kernel/time/tick-common.o[/SIZE]
[SIZE=3] CC kernel/time/tick-oneshot.o[/SIZE]
[SIZE=3] CC kernel/time/tick-sched.o[/SIZE]
[SIZE=3] CC kernel/time/timer_stats.o[/SIZE]
[SIZE=3] LD kernel/time/built-in.o[/SIZE]
[SIZE=3] CC kernel/trace/trace_clock.o[/SIZE]
[SIZE=3] CC kernel/trace/ring_buffer.o[/SIZE]
[SIZE=3] LD kernel/trace/built-in.o[/SIZE]
[SIZE=3] CC kernel/futex.o[/SIZE]
[SIZE=3] CC kernel/rtmutex.o[/SIZE]
[SIZE=3] CC kernel/up.o[/SIZE]
[SIZE=3] CC kernel/uid16.o[/SIZE]
[SIZE=3] CC kernel/module.o[/SIZE]
[SIZE=3] CC kernel/kallsyms.o[/SIZE]
[SIZE=3] CC kernel/cgroup.o[/SIZE]
[SIZE=3] CC kernel/cgroup_freezer.o[/SIZE]
[SIZE=3] CC kernel/configs.o[/SIZE]
[SIZE=3] CC kernel/res_counter.o[/SIZE]
[SIZE=3] CC kernel/softlockup.o[/SIZE]
[SIZE=3] CC kernel/rcutree.o[/SIZE]
[SIZE=3] CC kernel/relay.o[/SIZE]
[SIZE=3] CC kernel/utsname_sysctl.o[/SIZE]
[SIZE=3] CC kernel/elfcore.o[/SIZE]
[SIZE=3] CC kernel/slow-work.o[/SIZE]
[SIZE=3] CC kernel/perf_event.o[/SIZE]
[SIZE=3] LD kernel/built-in.o[/SIZE]
[SIZE=3] CC mm/bootmem.o[/SIZE]
[SIZE=3] CC mm/filemap.o[/SIZE]
[SIZE=3] CC mm/mempool.o[/SIZE]
[SIZE=3] CC mm/oom_kill.o[/SIZE]
[SIZE=3] CC mm/fadvise.o[/SIZE]
[SIZE=3] CC mm/maccess.o[/SIZE]
[SIZE=3] CC mm/page_alloc.o[/SIZE]
[SIZE=3] CC mm/page-writeback.o[/SIZE]
[SIZE=3] CC mm/readahead.o[/SIZE]
[SIZE=3] CC mm/swap.o[/SIZE]
[SIZE=3] CC mm/truncate.o[/SIZE]
[SIZE=3] CC mm/vmscan.o[/SIZE]
[SIZE=3] CC mm/shmem.o[/SIZE]
[SIZE=3] CC mm/prio_tree.o[/SIZE]
[SIZE=3] CC mm/util.o[/SIZE]
[SIZE=3] CC mm/mmzone.o[/SIZE]
[SIZE=3] CC mm/vmstat.o[/SIZE]
[SIZE=3] CC mm/backing-dev.o[/SIZE]
[SIZE=3] CC mm/page_isolation.o[/SIZE]
[SIZE=3] CC mm/mm_init.o[/SIZE]
[SIZE=3] CC mm/mmu_context.o[/SIZE]
[SIZE=3] CC mm/fremap.o[/SIZE]
[SIZE=3] CC mm/highmem.o[/SIZE]
[SIZE=3] CC mm/madvise.o[/SIZE]
[SIZE=3] CC mm/memory.o[/SIZE]
[SIZE=3] CC mm/mincore.o[/SIZE]
[SIZE=3] CC mm/mlock.o[/SIZE]
[SIZE=3] CC mm/mmap.o[/SIZE]
[SIZE=3] CC mm/mprotect.o[/SIZE]
[SIZE=3] CC mm/mremap.o[/SIZE]
[SIZE=3] CC mm/msync.o[/SIZE]
[SIZE=3] CC mm/rmap.o[/SIZE]
[SIZE=3] CC mm/vmalloc.o[/SIZE]
[SIZE=3] CC mm/pagewalk.o[/SIZE]
[SIZE=3] CC mm/init-mm.o[/SIZE]
[SIZE=3] CC mm/page_io.o[/SIZE]
[SIZE=3] CC mm/swap_state.o[/SIZE]
[SIZE=3] CC mm/swapfile.o[/SIZE]
[SIZE=3] CC mm/thrash.o[/SIZE]
[SIZE=3] CC mm/dmapool.o[/SIZE]
[SIZE=3] CC mm/ashmem.o[/SIZE]
[SIZE=3] CC mm/slab.o[/SIZE]
[SIZE=3] CC mm/percpu_up.o[/SIZE]
[SIZE=3] LD mm/built-in.o[/SIZE]
[SIZE=3] CC fs/open.o[/SIZE]
[SIZE=3] CC fs/read_write.o[/SIZE]
[SIZE=3] CC fs/file_table.o[/SIZE]
[SIZE=3] CC fs/super.o[/SIZE]
[SIZE=3] CC fs/char_dev.o[/SIZE]
[SIZE=3] CC fs/stat.o[/SIZE]
[SIZE=3] CC fs/exec.o[/SIZE]
[SIZE=3] CC fs/pipe.o[/SIZE]
[SIZE=3] CC fs/namei.o[/SIZE]
[SIZE=3] CC fs/fcntl.o[/SIZE]
[SIZE=3] CC fs/ioctl.o[/SIZE]
[SIZE=3] CC fs/readdir.o[/SIZE]
[SIZE=3] CC fs/select.o[/SIZE]
[SIZE=3] CC fs/fifo.o[/SIZE]
[SIZE=3] CC fs/dcache.o[/SIZE]
[SIZE=3] CC fs/inode.o[/SIZE]
[SIZE=3] CC fs/attr.o[/SIZE]
[SIZE=3] CC fs/bad_inode.o[/SIZE]
[SIZE=3] CC fs/file.o[/SIZE]
[SIZE=3] CC fs/filesystems.o[/SIZE]
[SIZE=3] CC fs/namespace.o[/SIZE]
[SIZE=3] CC fs/seq_file.o[/SIZE]
[SIZE=3] CC fs/xattr.o[/SIZE]
[SIZE=3] CC fs/libfs.o[/SIZE]
[SIZE=3] CC fs/fs-writeback.o[/SIZE]
[SIZE=3] CC fs/pnode.o[/SIZE]
[SIZE=3] CC fs/drop_caches.o[/SIZE]
[SIZE=3] etc[/SIZE]
compiled kernel location >
Code:
arch/arm/boot/*zimage
And, if u wanna know how to repack your kernel image (zImage), go check to this thread!
just change a kernel image (boot.img-kernel) with your kernel image (zImage).
wanna clean?
try this command :
Code:
$ make ARCH=arm
CROSS_COMPILE=~/android/sources/cm-kernel/CodeSourcery/Sourcery_G++/bin/arm-none-eabi-
clean
and you'll get log like these
Code:
CLEAN arch/arm/boot/compressed
CLEAN arch/arm/boot
CLEAN /home/delano/android/sources/cm-kernel
CLEAN arch/arm/kernel
CLEAN drivers/char
CLEAN kernel
CLEAN lib
CLEAN usr
CLEAN .tmp_versions
CLEAN vmlinux System.map .tmp_kallsyms1.o .tmp_kallsyms1.S
.tmp_kallsyms2.o .tmp_kallsyms2.S .tmp_vmlinux1 .tmp_vmlinux2
.tmp_System.map
Thx to
Hyriand for his kernel source code
Andika Edo Prabowo, Waqas, tj_styles
and
Yanuar Harry for their support
Sent from my GT-S5660 using Tapatalk
Reserved
Sent from my GT-S5660 using Tapatalk
Reserved-
Sent from my GT-S5660 using Tapatalk
-reserved-
Sent from my GT-S5660 using Tapatalk
Very Nice
(If only someone made a video for this about Gio )
Good job!
This thread is very useful for beginning devs(like me).
is it okay if we ignore the warning ?
thanks for making this thread. you're awsome
Perfect
[Sent to the mobile device Gio]
[aOS 2.3.7/CM7.2-RC2-B4 patch1]
Hi, this is nice, can you make a tutorial how to modify stock kernel for ext4 filesystem?
Sent from my GT-S5660 using XDA Premium App
Finally
But couldnt find gt s 5830 source -_-
So many words XD
But good tutorial
Thqnks
herpderp © aint got money to pay to my fish
hsrars-d said:
Hi, this is nice, can you make a tutorial how to modify stock kernel for ext4 filesystem?
Sent from my GT-S5660 using XDA Premium App
Click to expand...
Click to collapse
I think samsung hasn't released ext4 fs support with their kernel.
So,
U need to modify your config to support.
U should add the features.
Sent from my GT-S5660 using Tapatalk
spacecaker said:
Finally
But couldnt find gt s 5830 source -_-
So many words XD
But good tutorial
Thqnks
herpderp © aint got money to pay to my fish
Click to expand...
Click to collapse
Opensource.samsung.com is an open source kernel.
U can visit it
Sent from my GT-S5660 using Tapatalk
can i use this method on fedora? or Ubuntu needed?
sorry for the newbie question... so if i want to compile directly from CM's kernel source
https://github.com/CyanogenMod/cm-kernel .. what sould i change to make it work in our devices or are there so many things we have to change so you cannot explain it here?
Thanks before....
all good, but we need new kernel 3.0+
anyone can make 3.0 kernel for gio and 2.3.6 stock rom..?? we can later make it for cm)
Delanoister said:
I think samsung hasn't released ext4 fs support with their kernel.
So,
U need to modify your config to support.
U should add the features.
Sent from my GT-S5660 using Tapatalk
Click to expand...
Click to collapse
ok, sorry for being n00b, but how to add ext4 support in config?
Alright, for noob questions refer to
Chef Central
!!!!!!!!!!!!!
great newss
http://kernelnewbies.org/Linux_3.3
Linux 3.3 has been released (official announcement) on 18 Mar 2012.
Summary: This release features as the most important change the merge of kernel code from the Android project.
Click to expand...
Click to collapse
For a long time, code from the Android project has not been merged back to the Linux repositories due to disagreement between developers from both projects. Fortunately, after several years the differences are being ironed out. Various Android subsystems and features have already been merged, and more will follow in the future. This will make things easier for everybody, including the Android mod community, or Linux distributions that want to support Android programs.
Click to expand...
Click to collapse
razer1 said:
great newss
http://kernelnewbies.org/Linux_3.3
Click to expand...
Click to collapse
Bad news
We need samsung fsr driver source code if we want to run other kernel than 2.6.35
BTW. Delano! You don't need android source code, java and valgrin to build gio's kernel. It's possible to compile kernel using only platform_prebuilt, without downloading unnecessary code
Download: https://github.com/android/platform_prebuilt
Nice share man..
But I think for the command u should give the specify which distro can do this (just debian cs), cz your tutorial is not working in Fedora it's have different way to do this..
For example no valgrin available for Fedora..
For Fedora user maybe this http://fedoraproject.org/wiki/HOWTO_Setup_Android_Development can guide you don't forget to ask google..
-----------------------------------------------
https://fedoraproject.org/wiki/User:Jurankdankkal

[Q] android kernel compiling error

hello
i try to compiler android kernel source code for samsung note 2
my host is ubuntu 13.04 and i use toolchains 4.8
i choice a defconfig from arch/arm/configs
when i compile the kernel using
make -j4 ARCH=arm CROSS_COMPILE=/home/naimk/lab/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
i get this error:
linux-androideabi-
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC arch/arm/kernel/asm-offsets.s
In file included from arch/arm/kernel/asm-offsets.c:16:0:
/home/naimk/lab/note2/kernel/arch/arm/include/asm/cacheflush.h:19:22: fatal error: mach/smc.h: No such file or directory
#include <mach/smc.h>
^
compilation terminated.
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
and for other kernel source like samsung ace GT-S5830i
i get this error :
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
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
CC scripts/mod/empty.o
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/kallsyms
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/mod/modpost.o
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/lex.o
HOSTCC scripts/conmakehash
Generating include/generated/mach-types.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/genksyms/parse.o
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTLD scripts/genksyms/genksyms
HOSTLD scripts/mod/modpost
CHK include/generated/compile.h
CC init/do_mounts.o
CC init/main.o
UPD include/generated/compile.h
CC init/do_mounts_rd.o
HOSTCC usr/gen_init_cpio
In file included from include/linux/nfs_fs.h:41:0,
from init/do_mounts.c:20:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
volatile char c;
^
In file included from include/linux/blkdev.h:12:0,
from init/do_mounts.h:2,
from init/do_mounts_rd.c:12:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
volatile char c;
^
In file included from include/linux/mempolicy.h:70:0,
from init/main.c:51:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
volatile char c;
^
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC init/do_mounts_initrd.o
CC arch/arm/kernel/compat.o
CC init/do_mounts_md.o
In file included from include/linux/blkdev.h:12:0,
from init/do_mounts.h:2,
from init/do_mounts_initrd.c:11:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
volatile char c;
^
CC init/initramfs.o
In file included from include/linux/blkdev.h:12:0,
from init/do_mounts.h:2,
from init/do_mounts_md.c:5:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
volatile char c;
^
CC init/calibrate.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/mm/dma-mapping.o
CC arch/arm/mm/extable.o
CC arch/arm/kernel/process.o
CC arch/arm/kernel/ptrace.o
arch/arm/mm/dma-mapping.c: In function '__dma_alloc':
arch/arm/mm/dma-mapping.c:215:25: warning: array subscript is above array bounds [-Warray-bounds]
pte = consistent_pte[++idx];
^
CC init/version.o
arch/arm/mm/dma-mapping.c: In function 'dma_free_coherent':
arch/arm/mm/dma-mapping.c:259:25: warning: array subscript is above array bounds [-Warray-bounds]
ptep = consistent_pte[++idx];
^
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/fault.o
CC arch/arm/kernel/return_address.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/setup.o
CC arch/arm/kernel/signal.o
CC arch/arm/common/vic.o
arch/arm/kernel/signal.c: In function 'restore_sigframe':
arch/arm/kernel/signal.c:278:30: warning: variable 'aux' set but not used [-Wunused-but-set-variable]
struct aux_sigframe __user *aux;
^
CC arch/arm/common/icst.o
CC arch/arm/common/clkdev.o
CC arch/arm/mm/iomap.o
CC arch/arm/mm/fault-armv.o
LD arch/arm/common/built-in.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/mach-versatile/core.o
In file included from arch/arm/mm/fault-armv.c:18:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
volatile char c;
^
CC arch/arm/kernel/stacktrace.o
CC arch/arm/mm/flush.o
In file included from arch/arm/mm/flush.c:12:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:415:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
volatile char c;
^
CC arch/arm/mm/ioremap.o
CC arch/arm/kernel/time.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/traps.o
CC arch/arm/mach-versatile/versatile_pb.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/mmu.o
CC arch/arm/plat-versatile/clock.o
CC arch/arm/mach-versatile/pci.o
CC arch/arm/plat-versatile/timer-sp.o
/home/naimk/lab/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: internal error in relocate_special_relocatable, at /s/ndk-toolchain/src/build/../binutils/binutils-2.23/gold/arm.cc:9901
make[1]: *** [arch/arm/kernel/traps.o] Error 1
make: *** [arch/arm/kernel] Error 2
make: *** Waiting for unfinished jobs....
CC arch/arm/plat-versatile/sched-clock.o
CC arch/arm/mm/vmregion.o
LD arch/arm/plat-versatile/built-in.o
CC arch/arm/mm/proc-syms.o
LD arch/arm/mach-versatile/built-in.o
CC arch/arm/mm/alignment.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
arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:298:15: warning: 'offset.un' may be used uninitialized in this function [-Wmaybe-uninitialized]
offset.un = -offset.un;
^
arch/arm/mm/alignment.c:720:21: note: 'offset.un' was declared here
union offset_union offset;
^
LD arch/arm/mm/built-in.o
/home/naimk/lab/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: internal error in relocate_special_relocatable, at /s/ndk-toolchain/src/build/../binutils/binutils-2.23/gold/arm.cc:9901
make[1]: *** [arch/arm/mm/built-in.o] Error 1
make: *** [arch/arm/mm] Error 2
please if you can help me

.tmp_vmlinux1 error on Ubuntu (Kernel Compilation)

Im compiling the google play edition stock kernel for the htc one m8 varient. The kernel is 3.4.0-gb1b6fb1 for android 4.4.4. Im using Ubuntu 14.04.1 LTS. I used the following command:
make -j2 ARCH=arm CROSS_COMPILE=/home/richard/Workspace/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-.
So here is the error:
LD drivers/video/built-in.o
LD drivers/built-in.o
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
drivers/built-in.o: In function `dwc3_msm_probe':
/home/richard/Workspace/kernel1/drivers/usb/dwc3/dwc3-msm.c:2561: undefined reference to `rom_stockui'
make: *** [.tmp_vmlinux1] Error 1
Click to expand...
Click to collapse
How can I fix this? Im working on a project that is due in two days. Any help is appreciated!

Kernel compilation Error

Hello guys,
I have downloaded kernel source code from https://github.com/MiCode/H1S_kernel and compiled it I got following error.
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$ make
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
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32.h
SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64.h
SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_x32.h
SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
HOSTCC arch/x86/tools/relocs
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$ make defconfig
*** Default configuration is based on 'i386_defconfig'
#
# configuration written to .config
#
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$
[email protected]:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$ make
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/x86/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
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/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
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
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
AS arch/x86/crypto/aes-i586-asm_32.o
CC arch/x86/crypto/aes_glue.o
LD arch/x86/crypto/aes-i586.o
LD arch/x86/crypto/built-in.o
CC arch/x86/kernel/process_32.o
CC arch/x86/kernel/signal.o
AS arch/x86/kernel/entry_32.o
CC arch/x86/kernel/traps.o
CC arch/x86/kernel/irq.o
CC arch/x86/kernel/irq_32.o
CC arch/x86/kernel/dumpstack_32.o
CC arch/x86/kernel/time.o
CC arch/x86/kernel/ioport.o
CC arch/x86/kernel/ldt.o
CC arch/x86/kernel/dumpstack.o
CC arch/x86/kernel/nmi.o
CC arch/x86/kernel/setup.o
CC arch/x86/kernel/x86_init.o
CC arch/x86/kernel/i8259.o
CC arch/x86/kernel/irqinit.o
CC arch/x86/kernel/jump_label.o
CC arch/x86/kernel/irq_work.o
CC arch/x86/kernel/probe_roms.o
CC arch/x86/kernel/sys_i386_32.o
CC arch/x86/kernel/i386_ksyms_32.o
CC arch/x86/kernel/syscall_32.o
CC arch/x86/kernel/bootflag.o
CC arch/x86/kernel/e820.o
CC arch/x86/kernel/pci-dma.o
CC arch/x86/kernel/quirks.o
CC arch/x86/kernel/topology.o
CC arch/x86/kernel/kdebugfs.o
CC arch/x86/kernel/alternative.o
CC arch/x86/kernel/i8253.o
CC arch/x86/kernel/pci-nommu.o
CC arch/x86/kernel/hw_breakpoint.o
CC arch/x86/kernel/tsc.o
CC arch/x86/kernel/io_delay.o
CC arch/x86/kernel/rtc.o
CC arch/x86/kernel/pci-iommu_table.o
CC arch/x86/kernel/resource.o
CC arch/x86/kernel/trampoline.o
AS arch/x86/kernel/trampoline_32.o
CC arch/x86/kernel/process.o
CC arch/x86/kernel/i387.o
CC arch/x86/kernel/xsave.o
CC arch/x86/kernel/ptrace.o
CC arch/x86/kernel/tls.o
CC arch/x86/kernel/step.o
CC arch/x86/kernel/i8237.o
CC arch/x86/kernel/stacktrace.o
CC arch/x86/kernel/acpi/boot.o
CC arch/x86/kernel/acpi/sleep.o
LDS arch/x86/kernel/acpi/realmode/wakeup.lds
AS arch/x86/kernel/acpi/realmode/wakeup.o
CC arch/x86/kernel/acpi/realmode/wakemain.o
CC arch/x86/kernel/acpi/realmode/video-mode.o
AS arch/x86/kernel/acpi/realmode/copy.o
AS arch/x86/kernel/acpi/realmode/bioscall.o
CC arch/x86/kernel/acpi/realmode/regs.o
CC arch/x86/kernel/acpi/realmode/video-vga.o
CC arch/x86/kernel/acpi/realmode/video-vesa.o
CC arch/x86/kernel/acpi/realmode/video-bios.o
LD arch/x86/kernel/acpi/realmode/wakeup.elf
OBJCOPY arch/x86/kernel/acpi/realmode/wakeup.bin
AS arch/x86/kernel/acpi/wakeup_rm.o
AS arch/x86/kernel/acpi/wakeup_32.o
CC arch/x86/kernel/acpi/cstate.o
LD arch/x86/kernel/acpi/built-in.o
CC arch/x86/kernel/apic/apic.o
CC arch/x86/kernel/apic/apic_noop.o
CC arch/x86/kernel/apic/ipi.o
CC arch/x86/kernel/apic/hw_nmi.o
CC arch/x86/kernel/apic/io_apic.o
CC arch/x86/kernel/apic/probe_32.o
LD arch/x86/kernel/apic/built-in.o
CC arch/x86/kernel/cpu/intel_cacheinfo.o
CC arch/x86/kernel/cpu/scattered.o
CC arch/x86/kernel/cpu/topology.o
CC arch/x86/kernel/cpu/proc.o
MKCAP arch/x86/kernel/cpu/capflags.c
CC arch/x86/kernel/cpu/capflags.o
CC arch/x86/kernel/cpu/powerflags.o
CC arch/x86/kernel/cpu/common.o
CC arch/x86/kernel/cpu/vmware.o
CC arch/x86/kernel/cpu/hypervisor.o
CC arch/x86/kernel/cpu/sched.o
CC arch/x86/kernel/cpu/mshyperv.o
CC arch/x86/kernel/cpu/rdrand.o
CC arch/x86/kernel/cpu/match.o
CC arch/x86/kernel/cpu/bugs.o
CC arch/x86/kernel/cpu/intel.o
CC arch/x86/kernel/cpu/amd.o
CC arch/x86/kernel/cpu/centaur.o
CC arch/x86/kernel/cpu/transmeta.o
CC arch/x86/kernel/cpu/perf_event.o
CC arch/x86/kernel/cpu/perf_event_amd.o
CC arch/x86/kernel/cpu/perf_event_p6.o
CC arch/x86/kernel/cpu/perf_event_p4.o
CC arch/x86/kernel/cpu/perf_event_intel_lbr.o
CC arch/x86/kernel/cpu/perf_event_intel_ds.o
CC arch/x86/kernel/cpu/perf_event_intel.o
CC arch/x86/kernel/cpu/mcheck/mce.o
CC arch/x86/kernel/cpu/mcheck/mce-severity.o
CC arch/x86/kernel/cpu/mcheck/mce_intel.o
CC arch/x86/kernel/cpu/mcheck/mce_amd.o
CC arch/x86/kernel/cpu/mcheck/threshold.o
CC arch/x86/kernel/cpu/mcheck/therm_throt.o
LD arch/x86/kernel/cpu/mcheck/built-in.o
CC arch/x86/kernel/cpu/mtrr/main.o
CC arch/x86/kernel/cpu/mtrr/if.o
CC arch/x86/kernel/cpu/mtrr/generic.o
CC arch/x86/kernel/cpu/mtrr/cleanup.o
CC arch/x86/kernel/cpu/mtrr/amd.o
CC arch/x86/kernel/cpu/mtrr/cyrix.o
CC arch/x86/kernel/cpu/mtrr/centaur.o
LD arch/x86/kernel/cpu/mtrr/built-in.o
CC arch/x86/kernel/cpu/perfctr-watchdog.o
CC arch/x86/kernel/cpu/perf_event_amd_ibs.o
LD arch/x86/kernel/cpu/built-in.o
CC arch/x86/kernel/reboot.o
AS arch/x86/kernel/reboot_32.o
CC arch/x86/kernel/msr.o
CC arch/x86/kernel/cpuid.o
CC arch/x86/kernel/early-quirks.o
CC arch/x86/kernel/smp.o
CC arch/x86/kernel/smpboot.o
CC arch/x86/kernel/tsc_sync.o
CC arch/x86/kernel/setup_percpu.o
CC arch/x86/kernel/mpparse.o
CC arch/x86/kernel/reboot_fixups_32.o
CC arch/x86/kernel/machine_kexec_32.o
AS arch/x86/kernel/relocate_kernel_32.o
CC arch/x86/kernel/crash.o
CC arch/x86/kernel/crash_dump_32.o
CC arch/x86/kernel/kprobes.o
CC arch/x86/kernel/kprobes-opt.o
CC arch/x86/kernel/module.o
CC arch/x86/kernel/doublefault_32.o
CC arch/x86/kernel/vm86_32.o
CC arch/x86/kernel/early_printk.o
CC arch/x86/kernel/hpet.o
CC arch/x86/kernel/amd_nb.o
CC arch/x86/kernel/pcspeaker.o
CC arch/x86/kernel/microcode_core.o
CC arch/x86/kernel/microcode_intel.o
CC arch/x86/kernel/microcode_amd.o
LD arch/x86/kernel/microcode.o
CC arch/x86/kernel/check.o
LD arch/x86/kernel/built-in.o
AS arch/x86/kernel/head_32.o
CC arch/x86/kernel/head32.o
CC arch/x86/kernel/head.o
CC arch/x86/kernel/init_task.o
LDS arch/x86/kernel/vmlinux.lds
CC [M] arch/x86/kernel/test_nx.o
CC arch/x86/mm/init.o
CC arch/x86/mm/init_32.o
CC arch/x86/mm/fault.o
CC arch/x86/mm/ioremap.o
CC arch/x86/mm/extable.o
CC arch/x86/mm/pageattr.o
CC arch/x86/mm/mmap.o
CC arch/x86/mm/pat.o
CC arch/x86/mm/pgtable.o
CC arch/x86/mm/physaddr.o
CC arch/x86/mm/gup.o
CC arch/x86/mm/setup_nx.o
CC arch/x86/mm/pat_rbtree.o
CC arch/x86/mm/tlb.o
CC arch/x86/mm/pgtable_32.o
CC arch/x86/mm/iomap_32.o
CC arch/x86/mm/hugetlbpage.o
CC arch/x86/mm/highmem_32.o
LD arch/x86/mm/built-in.o
LD arch/x86/net/built-in.o
LD arch/x86/platform/ce4100/built-in.o
CC arch/x86/platform/efi/efi.o
CC arch/x86/platform/efi/efi_32.o
AS arch/x86/platform/efi/efi_stub_32.o
LD arch/x86/platform/efi/built-in.o
LD arch/x86/platform/geode/built-in.o
LD arch/x86/platform/iris/built-in.o
LD arch/x86/platform/mrst/built-in.o
LD arch/x86/platform/olpc/built-in.o
LD arch/x86/platform/scx200/built-in.o
LD arch/x86/platform/sfi/built-in.o
LD arch/x86/platform/uv/built-in.o
LD arch/x86/platform/visws/built-in.o
LD arch/x86/platform/built-in.o
LDS arch/x86/vdso/vdso32/vdso32.lds
AS arch/x86/vdso/vdso32/note.o
AS arch/x86/vdso/vdso32/int80.o
VDSO arch/x86/vdso/vdso32-int80.so.dbg
OBJCOPY arch/x86/vdso/vdso32-int80.so
AS arch/x86/vdso/vdso32/sysenter.o
VDSO arch/x86/vdso/vdso32-sysenter.so.dbg
OBJCOPY arch/x86/vdso/vdso32-sysenter.so
AS arch/x86/vdso/vdso32.o
CC arch/x86/vdso/vdso32-setup.o
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
CC kernel/fork.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC kernel/printk.o
kernel/printk.c:47:26: fatal error: mach/msm_rtb.h: No such file or directory
compilation terminated.
make[1]: *** [kernel/printk.o] Error 1
make: *** [kernel] Error 2
Can any one help me ? or guide me what I'm doing wrong
May be this thread could give some light for you http://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276 kuddos for the op of that thread
A thread already exists HERE. You could get more help from the mentioned thread.

Porting Lineage 15.1 to GeminiPDA

I'm trying to port LineageOS 15.1 to my Planet GeminiPDA, which already has a v.14.1 unofficial port, which I was using as the base (it's device, vendor, & kernel tree). When attempting to build, I seem to be getting stuck at the below error:
Code:
make[7]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:257: drivers/misc/mediatek/connectivity/wlan/gen3/mgmt/rlm_domain.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc/mediatek/connectivity/wlan/gen3] Error 2
make[5]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc/mediatek/connectivity/wlan] Error 2
make[4]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc/mediatek/connectivity] Error 2
make[3]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc/mediatek] Error 2
make[2]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc] Error 2
make[1]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/Makefile:939: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
CC lib/lockref.o
CC lib/bcd.o
CC lib/div64.o
CC lib/sort.o
CC lib/parser.o
CC lib/halfmd4.o
CC lib/debug_locks.o
CC lib/random32.o
CC lib/bust_spinlocks.o
CC lib/hexdump.o
CC lib/kasprintf.o
CC lib/bitmap.o
CC lib/scatterlist.o
CC lib/gcd.o
CC lib/lcm.o
CC lib/list_sort.o
CC lib/uuid.o
CC lib/flex_array.o
CC lib/iovec.o
CC lib/clz_ctz.o
CC lib/bsearch.o
CC lib/find_last_bit.o
CC lib/find_next_bit.o
CC lib/llist.o
CC lib/memweight.o
CC lib/kfifo.o
CC lib/percpu-refcount.o
CC lib/percpu_ida.o
CC lib/hash.o
CC lib/rhashtable.o
CC lib/reciprocal_div.o
CC lib/string_helpers.o
CC lib/kstrtox.o
CC lib/iomap.o
CC lib/pci_iomap.o
CC lib/iomap_copy.o
CC lib/devres.o
CC lib/hweight.o
CC lib/smp_processor_id.o
CC lib/bitrev.o
CC lib/crc-ccitt.o
CC lib/crc16.o
HOSTCC lib/gen_crc32table
CC lib/libcrc32c.o
CC lib/genalloc.o
CC lib/fonts/fonts.o
CC lib/fonts/font_8x16.o
CC lib/lzo/lzo1x_compress.o
LD lib/fonts/font.o
LD lib/fonts/built-in.o
CC lib/reed_solomon/reed_solomon.o
CC lib/lzo/lzo1x_decompress_safe.o
LD lib/reed_solomon/built-in.o
CC lib/zlib_deflate/deflate.o
LD lib/lzo/lzo_compress.o
LD lib/lzo/lzo_decompress.o
LD lib/lzo/built-in.o
CC lib/zlib_deflate/deftree.o
CC lib/zlib_deflate/deflate_syms.o
CC lib/zlib_inflate/inffast.o
LD lib/zlib_deflate/zlib_deflate.o
LD lib/zlib_deflate/built-in.o
CC lib/textsearch.o
CC lib/zlib_inflate/inflate.o
CC lib/ts_kmp.o
CC lib/zlib_inflate/infutil.o
CC lib/ts_bm.o
CC lib/zlib_inflate/inftrees.o
CC lib/zlib_inflate/inflate_syms.o
CC lib/ts_fsm.o
LD lib/zlib_inflate/zlib_inflate.o
LD lib/zlib_inflate/built-in.o
CC lib/percpu_counter.o
CC lib/audit.o
CC lib/compat_audit.o
CC lib/swiotlb.o
CC lib/iommu-helper.o
CC lib/fault-inject.o
CC lib/syscall.o
CC lib/dynamic_debug.o
CC lib/nlattr.o
CC lib/checksum.o
CC lib/cpu_rmap.o
CC lib/dynamic_queue_limits.o
CC lib/strncpy_from_user.o
CC lib/strnlen_user.o
CC lib/net_utils.o
CC lib/argv_split.o
CC lib/cmdline.o
CC lib/cpumask.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/earlycpio.o
CC lib/extable.o
CC lib/fdt.o
CC lib/fdt_empty_tree.o
CC lib/fdt_ro.o
CC lib/fdt_rw.o
CC lib/fdt_strerror.o
CC lib/fdt_sw.o
CC lib/fdt_wip.o
CC lib/flex_proportions.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/md5.o
CC lib/plist.o
CC lib/proportions.o
CC lib/radix-tree.o
CC lib/ratelimit.o
CC lib/rbtree.o
CC lib/sha1.o
CC lib/show_mem.o
CC lib/string.o
CC lib/timerqueue.o
CC lib/vsprintf.o
GEN lib/crc32table.h
CC lib/crc32.o
LD lib/built-in.o
AR lib/lib.a
make[1]: Leaving directory '/home/v3ritas/Development/LOS/out/target/product/geminipda/obj/KERNEL_OBJ'
make: *** [Makefile:145: sub-make] Error 2
make: Leaving directory '/home/v3ritas/Development/LOS/kernel/planet/mt6797'
[ 3% 2619/83359] //external/protobuf:aprotoc clang++ src/google/protobuf/descriptor.cc [linux]
ninja: build stopped: subcommand failed.
16:35:53 ninja failed with: exit status 1
#### failed to build some targets (02:43 (mm:ss)) ####
Any help would be appretiated.
Veritas06 said:
I'm trying to port LineageOS 15.1 to my Planet GeminiPDA, which already has a v.14.1 unofficial port, which I was using as the base (it's device, vendor, & kernel tree)...
Click to expand...
Click to collapse
I've never Ported Firmware to a Mediatek device and your device is an MT6797 but, you should be able to obtain some member guidance within one of the following threads that's specific to Porting Firmware to a Mediatek device.
https://forum.xda-developers.com/showthread.php?t=3506775
https://forum.xda-developers.com/showthread.php?t=2707438
https://forum.xda-developers.com/showthread.php?t=2701283
https://forum.xda-developers.com/showthread.php?t=2912064
https://forum.xda-developers.com/showthread.php?t=3772641
https://forum.xda-developers.com/showthread.php?t=2925242
https://forum.xda-developers.com/showthread.php?t=3310605
This should help you get a good start...
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Ibuprophen said:
I've never Ported Firmware to a Mediatek device and your device is an MT6797 but, you should be able to obtain some member guidance within one of the following threads that's specific to Porting Firmware to a Mediatek device.
https://forum.xda-developers.com/showthread.php?t=3506775
https://forum.xda-developers.com/showthread.php?t=2707438
https://forum.xda-developers.com/showthread.php?t=2701283
https://forum.xda-developers.com/showthread.php?t=2912064
https://forum.xda-developers.com/showthread.php?t=3772641
https://forum.xda-developers.com/showthread.php?t=2925242
https://forum.xda-developers.com/showthread.php?t=3310605
This should help you get a good start...
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
Awesome. Thanks so much. Hopefully with these threads I can finally get 15 built. I feel like it's almost there, just have to get past some minor errors, that are much more than likely my mistakes.

Categories

Resources