[Q] Error compiling kernal speedy-2.6.32 - EVO Shift 4G General

Hello I'm trying to compile the stock shift kernel speedy-2.6.32 at http://developer.htc.com/ and I'm having a bit of trouble. I extracted just fine, disabled the performance lock and set the governor to conservative, but when I use make, I get the following error:
Code:
[email protected]:/kernel# make
CHK include/linux/version.h
Generating include/asm-arm/mach-types.h
Unrecognized option: -f
Could not create the Java virtual machine.
make[1]: *** [include/asm-arm/mach-types.h] Error 1
make: *** [maketools] Error 2
I'm running Ubuntu 10.10 in VMware and using arm-2010q1-202-arm-none-linux-gnueabi. Any help really appreciated as I stumped Thanks
Edit: Fixed my error, and the next 30 that came after. Finally have a working version of stock that I compiled as a test run
Also, I would appreciate some tips on setting the screen off max/min frequencies in the kernel, and undervolting

Related

error: revision froyo in manifests not found??

Tried downloading source from google source after reinstalling linux today but got this error:
"error: revision froyo in manifests not found ..."
I think that this is a problem with ubuntu, I don't know, but I've redownloaded and reinstalled ubuntu a few times and installed all the updates (it would not let me compile without updating certain parts of the system).
Any help? I might be doing something wrong in the setup process..
Thanks in advance.
anyone?
(char)
-b froyo-plus-aosp
Thank you very much! It works!

[Q] CM7 Build from source error

Have employed my google-fu, but to no avail. I am running into the following error, regardless of intended product (encore or infuse), so I can only conclude my build environment is not properly set up. Has anyone seen this aidl error?
Pastebin follows:
http://pastebin.com/wAsTQKNp
Solved, conflicting Java and javac versions

[Q] kernel compile error: "no machine record defined"

Hi All,
so this is my first post in this forum! Sorry for posting in the wrong sub-forum, but it doesn't let me post in the "Android Development" one unless I have 10 posts
I'm trying to get started with building Android ROMs for my trusty GT540, and while trying to build the kernel for my first ROM, this error came up:
Code:
LD .tmp_vmlinux1
arm-eabi-ld: error: no machine record defined
arm-eabi-ld: arch/arm/mach-msm/built-in.o: in function get_nand_partitions:nand_partitions.c(.text+0xd308): error: undefined reference to 'msm_nand_data'
arm-eabi-ld: arch/arm/mach-msm/built-in.o: in function parse_tag_msm_partition:nand_partitions.c(.init.text+0x1914): error: undefined reference to 'msm_nand_data'
arm-eabi-ld: drivers/built-in.o: in function mdp_refresh_screen:lowmemorykiller.c(.text+0x1e078): error: undefined reference to 'mddi_ss_driveric_innotek_position'
arm-eabi-ld: drivers/built-in.o: in function mdp_dma2_update:lowmemorykiller.c(.text+0x1e37c): error: undefined reference to 'mddi_ss_driveric_innotek_position'
arm-eabi-ld: drivers/built-in.o: in function flash_onfi_probe:lowmemorykiller.c(.text+0x6c424): error: undefined reference to 'msm_nand_data'
make: *** [.tmp_vmlinux1] Fehler 1
Do you have an idea how to solve this? I guess the first error ("no machine record defined") is the cause for the further errors?
So far, I tried to build an Android 2.3 Gingerbread ROM (using Cyanogenmod sources) for LG GT540; trying Gingerbread first because several other people have built it successfully already. So I checked out Cyanogenmod sources and pretty much followed the instructions from https://github.com/pcfighter/android_device_lge_swift-CM/blob/master/README ; then checked out the kernel from https://github.com/pcfighter/2.6.35 and tried to build it. There was no .config file so I extracted one from the boot.img from xda-cm-7.2.0-SDSL-12082012.zip. Then started the build with "make -j2 ARCH=arm CROSS_COMPILE=arm-eabi-". It asked for some more config options which I answered so-so, then started building, and after quite a while ran into that "no machine record defined".
Building is done on Ubuntu 14.04 x86-64 in Virtualbox.
Google hasn't given much specific help for this problem, but it looks like wrong .config parameters can cause this. Is there an existing "good" config for building 2.6.35 for Swift phone? Or can I generate a good config somehow? Or is the problem somewhere else completely?
Just a little follow-up: the magic command is "make swift_defconfig" - when run in the Linux kernel source directory this will create a .config file which should have correct options set for building a GT540 kernel.
Apart from this I'm still struggling to build a kernel that actually boots... Some of the kernels I've built have worked but many just fail to boot (at least when using fastboot). I've built with lots of slightly different configs now and still don't see a pattern. And I've now used
- the guide from https://source.android.com/source/building-kernels.html#building
- and the sources from https://un.poivron.org/~jimpulse/swift-squeeze-0.2.tar.gz
- and the toolchain from https://github.com/yath/android_prebuilts_gcc_linux-x86-32_arm_arm-linux-androideabi-4.6
- and a config based on the one from swift-squeeze-0.2.tar.gz
to build a working kernel under Ubuntu 12.04 (32bit, native system); but the exact same .config and toolchain and kernel source results in a non-booting kernel when built under Ubuntu 14.04 64-bit in Virtualbox!
Has anyone else ever seen such problems? Is this a known issue? So far I'm willing to just blame it on a hardware problem on my computer; but if anyone has an idea what else might cause this I'm interested!
Also: is there a way to get really early boot messages on GT540? With the failing kernels it just stays at the blue fastboot screen, and I'd really like to know what happens at that point

[Q] Android NDK UnsatisfiedLinkError: findLibrary returned null

Since two days, I get this error :
Code:
java.lang.UnsatisfiedLinkError: Couldn't load MyCPPProject from loader dalvik.system.PathClassLoader[dexPath=/system/framework/com.google.android.maps.jar:/data/app/com.mypackage.myApp-3.apk,libraryPath=/data/app-lib/com.mypackage.myApp-3]: findLibrary returned null
I'd like to compile a project c ++ natively in android application. The project compiles fine on another PC but not on mine. I tried to create a new workspace, install another eclipse and plenty others solutions but it still does not compile.
How can I fix it ? The android project generate myApp.apk but not myApp-3.apk. Why compiler try to load myApp-3.apk ?
Thanks

[Q] Building CyanogenMod 12 for mako

Hi!
I'm trying to build CM12 for Nexus 4 (mako).
I'm using a MacBook Pro running OS X 10.10 Yosemite.
In the past I managed to build CM11 on that computer, though I was using 10.8 I that time.
Currently I manage to run
Code:
breakfast mako
successfully, but the compilation itself fails.
I pulled all the proprietary blobs from my device (which already runs CM12).
I'm attaching my build log - It's not long...
I think the line that failed the build was
Code:
make: *** [/Volumes/android/cm-12.0/out/host/darwin-x86/obj32/EXECUTABLES/mkbootfs_intermediates/mkbootfs.o] Error 1
Any ideas how to solve this issue?

Categories

Resources