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?
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
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.
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.