Been trying to compile a kernel from Bravo source, but it seems to stop here everytime.
make[3]: *** No rule to make target `net/ipv4/netfilter/ipt_ecn.o', needed by `net/ipv4/netfilter/built-in.o'. Stop.
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
I have pull the config from Richard Trip and decided to just run the make thinking there shouldn't be any problems.
Anyone with ideas?
@Richardtrip
can you post your acpuclock-scorpion.c?
n/m, disabled netfiltering seems to get it past the ipv4
eViL D: said:
@Richardtrip
can you post your acpuclock-scorpion.c?
Click to expand...
Click to collapse
Actually, n/m.
Do you have any patches besides the cam?
Related
Hopefully this is quick.
When I type "./build.sh kezraplanes (my username)" I get this:
[email protected]:~/samsung_ancora/platform$ ./build.sh kezraplanes
./build.sh: linha 43: cd: /home/kezraplanes/samsung_ancora/platform/Android: file or directory does not exist
make: *** no rule to process target `update-api'. Stop.
make: *** no rule to process target `PRODUCT-generic-eng'. Stop.
Click to expand...
Click to collapse
Any idea why this is happening? I'm doing exactly what the readme tells me to xD
P.S. Go easy on me, I'm learning this
Edit: The command line has been roughly translated since my Ubuntu is in Portuguese and I obviously translated the errors into English myself.
I'm trying to compile a kernel for the Sensation using Tamcore's source but I get an error while compiling (w/o quotes):
"arch/arm/mach-msm/pm-8x60.c: In function 'msm_pm_init':
arch/arm/mach-msm/pm-8x60.c:1261: warning: unused variable 'cpu'
error, forbidden warning: pm-8x60.c:1261
make[1]: *** [arch/arm/mach-msm/pm-8x60.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs...."
I looked at the line in the file it errors out on (w/o quotes):
"unsigned int cpu;"
I don't know what to do from here since this is my first time compiling an Android kernel, so any help is appreciated.
EDIT: I've solved my problem and my kernel runs fast on JB . This thread is no longer necessary; please delete it.
i have got some errors while compiling sony xperia kernel, i think this have easy fix, but i'm noob in linux.
so please help me with it, thanks in advance.
-----------------------------------------
error message:
-----------------------------------------
In file included from drivers/gud/MobiCoreDriver/logging.c:21:0:
drivers/gud/MobiCoreDriver/main.h:24:22: fatal error: platform.h: No such file or directory
#include "platform.h"
^
compilation terminated.
make[2]: *** [drivers/gud/MobiCoreDriver/logging.o] Error 1
make[1]: *** [drivers/gud] Error 2
make: *** [drivers] Error 2
--------------------------------------------------------------
help me please
samysimbu said:
i have got some errors while compiling sony xperia kernel, i think this have easy fix, but i'm noob in linux.
so please help me with it, thanks in advance.
-----------------------------------------
error message:
-----------------------------------------
In file included from drivers/gud/MobiCoreDriver/logging.c:21:0:
drivers/gud/MobiCoreDriver/main.h:24:22: fatal error: platform.h: No such file or directory
#include "platform.h"
^
compilation terminated.
make[2]: *** [drivers/gud/MobiCoreDriver/logging.o] Error 1
make[1]: *** [drivers/gud] Error 2
make: *** [drivers] Error 2
--------------------------------------------------------------
help me please
Click to expand...
Click to collapse
We have forums dedicated to various Sony Xperia devices at http://forum.xda-developers.com/sony but your MAKE or compiler error doesn't seem to be specific to your device, merely suggesting that you need to include a "platform.h" header file. I suggest you ask wherever you acquired the basic source components (SDK?) that you are attempting to compile.
Good Luck!
thank you for the reply...
i use sony opensource archive for my device
and gcc 4.8 toolchain
in ubuntu 14.04 LTS 64 bit os.
please help with it.
thank u
and there is platform.h file available in that folder specified.
then why........
samysimbu said:
and there is platform.h file available in that folder specified.
then why........
Click to expand...
Click to collapse
Apparently, it still can't find or identify that file. I'm afraid we can't help you any further here with your Ubuntu compile/make issue but Sony's http://developer.sonymobile.com site might have useful information for you.
Sorry we couldn't give you more specific advice.
Hi everyone!
I own the Samsung Galaxy S2 T989 A.K.A. Hercules
running cm 12.1 unofficial Sultan Hercules based on android 5.1.1 (Lollipop)
which has sultan-kernel-celox.
I am actually trying to port kali nethunter, a set of tools for pentesting (Awesome)
Running Kali linux 2.0 32 bits in my notebook. I have installed all the dependencies described in:
https://github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
I am using the next rom:
http://forum.xda-developers.com/galaxy-s2-tmobile/development/rom-aosp-lollipop-preview-t2931716
I also read the Develop Now guide to understand a bit better.
So the problem is when I run the " make" command in the sultan-kernel-celox kernel source directory and using " make Sultan_hercules_defconfig" which is inside /arch/arm/configs .
the error I am getting is:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
/bin/sh: 1: Syntax error: "(" unexpected
/root/arm-stuff/kali-nethunter/sultan-herc/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:989: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
So with my very limited knowledge about development and scripting check the Kbuild file at line 35 but I can't understand, I have also "googled" about the error I am getting but without luck, I also have tried with other sources kernel I have found but it seems to be the same message.
So please help me to figure what am I doing wrong or which kernel source should I use. I hope someone with so much more experience than me would help me with this issue to finally getting the nethunter tools.
Thanks in advance
v4lh4ll4 said:
Hi everyone!
I own the Samsung Galaxy S2 T989 A.K.A. Hercules
running cm 12.1 unofficial Sultan Hercules based on android 5.1.1 (Lollipop)
which has sultan-kernel-celox.
I am actually trying to port kali nethunter, a set of tools for pentesting (Awesome)
Running Kali linux 2.0 32 bits in my notebook. I have installed all the dependencies described in:
https://github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
I am using the next rom:
http://forum.xda-developers.com/galaxy-s2-tmobile/development/rom-aosp-lollipop-preview-t2931716
I also read the Develop Now guide to understand a bit better.
So the problem is when I run the " make" command in the sultan-kernel-celox kernel source directory and using " make Sultan_hercules_defconfig" which is inside /arch/arm/configs .
the error I am getting is:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
/bin/sh: 1: Syntax error: "(" unexpected
/root/arm-stuff/kali-nethunter/sultan-herc/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:989: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
So with my very limited knowledge about development and scripting check the Kbuild file at line 35 but I can't understand, I have also "googled" about the error I am getting but without luck, I also have tried with other sources kernel I have found but it seems to be the same message.
So please help me to figure what am I doing wrong or which kernel source should I use. I hope someone with so much more experience than me would help me with this issue to finally getting the nethunter tools.
Thanks in advance
Click to expand...
Click to collapse
Hi and thank you for using XDA Assist
I think you should ask over here about your problem. I'm sure you will get an answer soon
Good luck !
Showing me this when i type
Code:
make -j4
scripts/kconfig/conf --silentoldconfig Kconfig
include/config/auto.conf:189:warning: symbol value 'elf32-i386' invalid for OUTPUT_FORMAT
include/config/auto.conf:271:warning: symbol value 'arch/x86/configs/i386_defconfig' invalid for ARCH_DEFCONFIG
include/config/auto.conf:617:warning: symbol value '-fcall-saved-ecx -fcall-saved-edx' invalid for ARCH_HWEIGHT_CFLAGS
*** Error during update of the configuration.
/home/pranav/android2/kernel/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
/home/pranav/android2/kernel/Makefile:496: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
Click to expand...
Click to collapse
Trying to build it for Z3 MM Stock from Sony Copyright Archives
you have already configured toolchain?
if so, what are you using?
Then you must select defconfig, in case, shinano_leo_defconfig
Gustavo RD78 said:
you have already configured toolchain?
if so, what are you using?
Then you must select defconfig, in case, shinano_leo_defconfig
Click to expand...
Click to collapse
I have doomlord's toolchain..
This error only comes when i type that command at the end..
Following this Guide
http://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
pranavmali said:
I have doomlord's toolchain..
This error only comes when i type that command at the end..
Following this Guide
http://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
Click to expand...
Click to collapse
Which kernel are you trying to build also is your build machine 64-bit?
HerroYou said:
Which kernel are you trying to build also is your build machine 64-bit?
Click to expand...
Click to collapse
Its a 32bit machine
Building MM Stock based kernel
pranavmali said:
Its a 32bit machine
Building MM Stock based kernel
Click to expand...
Click to collapse
There is the problem, you need a 64 bit machine.
First you need to configure the kernel by making the defconfig.
Then you need to specify architecture you're building for using ARCH command.
See here:
http://developer.sonymobile.com/kno...h-a-linux-kernel-from-sony-copyleft-archives/
Also I don't see a branch for 23.5.A.0.575 which is the latest public MM firmware for Z3, so you need to grab the source code for this version off http://developer.sonymobile.com/downloads/xperia-open-source-archives/