General :: Kernel Compiling Error During Generating Bcmdhd Module?

May 22, 2014

kernel compiling with GCC 4.8 google toolcahin:

Got this error during generating bcmdhd module:

Quote:

CC [M] drivers/net/wireless/bcmdhd/wl_cfgp2p.o
drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_act_frm_search':
drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: error: array subscript is above array bounds [-Werror=array-bounds][code].....

General :: Kernel compiling error during generating bcmdhd module?


ADVERTISEMENT

General :: Compiling Realtek Rtl8188ctv WiFi Module

May 20, 2012

I have a device labelled Superpad VI. everything was okay but when i tried firmware update, its wifi stopped working and started giving "error" when i try to turn it on. Now I have just figured out that the original superpad VI has ralink wifi chipset whereas this device has realtek rtl8188cus chipset. so when i try to install superpad VI firmware, everything else works but wifi doesn't. Now how do I need to install the drivers for wifi? I have found the Linux/Android drivers from Realtek website but they need to be compiled. I know nothing about compiling/programming and Linux itself.

The un-compiled drivers can be found here (under rtl8188cus) [URL] ....

View 4 Replies View Related

Android :: Module Version Conflicts Between Wlan Module - Kernel Source

May 17, 2009

I'm tinkering with building and installing Android from source. Basically I've got it down fairly well, but I seem to have run into a bit of a problem with the wlan module, probably from HTC.

Having pulled the 2.6.27 kernel sources and built that with a .config pulled from the phone, and using that as the kernel image instead of the prebuilt one, I get the following wifi failure message in dmesg:

wlan: version magic '2.6.27-00205-gf2dabc0 preempt mod_unload ARMv6 ' should be '2.6.27-00392-g8312baf preempt mod_unload ARMv6 '

probably because the .config I pulled from the phone has:

CONFIG_LOCALVERSION="-00392-g8312baf"

So I rebuilt with the '00205' localversion and now I get in dmesg:

[61.122497] wlan: Unknown symbol trout_pwrsink_set

but trout_pwrsink_set was changed to htc_pwrsave_set way back in February:

[ARM]: trout: Switch from trout_pwrsink -> htc_pwrsink 33/8933/1 http://android.git.kernel.org/?p=kernel/msm.git;a=commitdiff;h=44a01f...

I'm clearly getting an obsolete wlan module somehow, Any ideas for how I can get a wlan module that goes with the '00392' kernel would be appreciated.

View 3 Replies View Related

General :: Building CyanogenMod Kernel Module?

Mar 23, 2012

<3>[ 154.264768] bcm4329: version magic '2.6.35.14-cyanogenmod-g1ad182f preempt mod_unload ARMv7 ' should be '2.6.35.14-cyanogenmod-g704f542 preempt mod_unload ARMv7 '

I've successfully built the samsung-kernel-crespo kernel from the cyanogenmod git. I unpacked a working ramdisk from a nightly and repacked it with my kernel, when i try to load the module i get the above error, The "extraversion" info that in the "about phone" tab in sittings is 2.6.35.14-cyanogenmod-g704f542, as well as the version of the modules. but for some reason the kernel is looking for that 'g1ad182f ' instead.

I loaded the module via fastboot boot boot.img and i didnt full on flash it to the phone. I backed up the working kernel module and put the new one in /system/lib/modules, rebooted the kernel and the wifi is still giving me an error.

If i try to manually insmod the module and it hangs, if i use modprobe then lsmod it says its "loading" but never loads.

the phone im working on is a nexus s if that matters.

View 1 Replies View Related

General :: Any Way To Add Advanced Routing Via Module To Kernel?

Nov 5, 2012

If a kernel does not have the Advanced Routing feature (which is needed for VPNC widget - Cisco VPN) is it possible to add this via module like tun.ko module? The Adv. Routing is not needed for connecting but the connection is soon lost.

View 1 Replies View Related

General :: Compiling Kernel With Governor - Getting Errors

May 2, 2014

I am trying to compile a kernel for my device(kyleprods or GT-S7582 or Galaxy S duos 2) because I havent found any custom kernel out here. Im compiling from source. I tried compiling WITHOUT any tweaks or such, just plain compile after downloading the source, and it compiled successfully. I tried adding smartassv2 but I got these errors after running "make -j1" twice.

CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
Creating rdb link for Hawaii
CALL scripts/checksyscalls.sh

[Code] .....

cc1: some warnings being treated as errors
make[2]: *** [drivers/cpufreq/cpufreq_smartass2.o] Error 1
make[1]: *** [drivers/cpufreq] Error 2
make: *** [drivers] Error 2

View 3 Replies View Related

General :: New Rom Builder - How To Include Trinity Kernel When Compiling

Nov 3, 2012

I've started compiling AOKP roms for Toroplus and Maguro recently and I'd like to start including Trinity Kernel in my Rom.

I know it can be flashed after the rom but I'd like to have it come installed with it.

View 1 Replies View Related

General :: Specify Kernel Module Load Path In Config File?

Sep 28, 2011

I needed a tun.ko module for my kernel, so I tried compiling my own kernel.

The kernel did build OK, and also boots OK, the only problem is that I cannot load any modules.

It seemes, that the module tools (insmod, modprobe etc) looks for the modules in /lib/modules, and I have them in /system/lib/modules, so my wifi does not work, as I cannot load the module.

Where I can specify the kernel module load path in the .config file?

Example:

# cd /system/lib/modules
# ls -l
-rw-r--r-- root root 315403 2008-08-01 14:00 bcm4329.ko
-rw-r--r-- root root 211573 2008-08-01 14:00 tun.ko
# modprobe bcm4329.ko

[Code] .....

View 2 Replies View Related

General :: Linker Error When Compiling CM 10.2 For LG E970

Nov 20, 2013

I get this weird linker error when trying to compile CyanogenMod 10.2 for the LG Optimus G (e970 [AT&T]):

Code:
make[1]: Leaving directory `/home/greg/android/system/kernel/lge/gproj'
mdpath=`find /home/greg/android/system/out/target/product/e970/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`;
for i in $ko; do /home/greg/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/greg/android/system/out/target/product/e970/system/lib/modules/; done; fi

[URL] .....

I can't figure out which library or object file I'm missing that would resolve this reference. Btw, I've tried building it a couple ways: typical "brunch", and lunch / mka. Both produce the same error.

View 1 Replies View Related

General :: Error While Compiling CM11 For Galaxy Fame

Apr 11, 2014

Downloaded all the sources of cyanogenmod for 4 and a half days, until then all right, when I tried the commands "brunch" and "breakfast" had some errors telling me you wouldn't find the repositories to the Galaxy Fame codenamed nevis ...

[URL] .....

View 1 Replies View Related

General :: Decompiling / Compiling Error (framework Files Missing)

Apr 1, 2013

I am trying to decompile contacts.apk from my micromax a52. I tried from apk manager and apk multi tools but it is giving error.

Code:
can't find framework resources for package of id:2.you must install proper framework files.
now i installed framework files to my computer and also by using "pull dependencies from device".
but still couldn't decompile it properly.it is also giving error during recompiling if i ignore those error and mod it.

Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:UsersamanAppDataLocalTempAPKTOOL2048703324560073052.tmp, -0, arsc, -I, C:Usersamanapktoolframework1.apk, -S, C:APK-Multi-Toolother..projectsContacts.apk

[Code] .........

View 7 Replies View Related

Motorola Droid X :: 2.2 Overclock - Kernel Module W/Instructions

Oct 18, 2010

Milestone Overclock as of version 1.4.3 now officially supports Droid X/2 running 2.2/Froyo. Go download it for FREE from the Market.

View 49 Replies View Related

Android :: Error Generating Final Archive / Fix It?

Jun 3, 2010

I am trying to add some updates to an already released application but something has happened with my workspace that prevents me from Running or Exporting the application. I keep getting the following code...

You think it would be an easy fix but I looked into the HDPI drawables folder and there were no doubles. I even went as far as to delete the entire folder and the error still appears. Anyone got any clever ideas?

View 3 Replies View Related

Android :: How To Fix Error Generating Final Archive - Duplicate Entry

May 29, 2010

I put two projects into Eclipse, called Project1 and Project2.Project1 is independent, but Project2 must be dependent to Project1.When I build the Project2, the error msg comes like this: Error generating final archive: duplicate entry: AndroidManifest.xml

View 1 Replies View Related

Android :: Error Generating Final Archive - Duplicate Entry - About.html

Nov 10, 2010

When I compile my Android Project I always get this Error:

Error generating final archive: duplicate entry: about.html

But I can't find any about.html in my Project.
Does anyone know how to solve the error?

View 2 Replies View Related

Android :: Getting Error While Compiling Droid Pdf / Fix It?

Feb 26, 2010

I am using droid pdf reader in ndk. I am unable to generate libpdfreader.so file. while compiling i am getting following errors. code...

View 2 Replies View Related

Android :: Repo Sync Cannot Get Alsa Module From Git Repository Though On Http://android.git.kernel.org/

Apr 4, 2009

I use the following command to fetch all the source code of android

repo init -u git://android.git.kernel.org/platform/manifest.git repo sync

but I can not get platform/external/alsa-lib.git and platform/hardware/ alsa_sound.git

I don't know what's the rule for repo to fetch the code from http://android.git.kernel.org/

View 2 Replies View Related

Android :: Internal Compiler Error When Compiling Native Code

Aug 9, 2010

Currently I am trying to compile native code for Android. The code is from the OpenCV port for Android. I pasted all the code correctly in my project and edited my make files accordingly. When I set android:debuggable to false everything works fine and I get my native library. When I try while android:debuggable is set to true I get an error.

Here is a part of the log:

CODE:....................

From what I have found on the internet this is caused by the optimization level of the compilation. As long as the code isn't compiled so that is is debuggable afterwards everything should be fine.

Now apparently it is possible to avoid this by setting APP-OPTIM := release in the Application.mk or adding -O2 to LOCAL_CFLAGS. I have tried both and still I get this error.

Right now I don't really care that much about debugging my native code, but I would like to have basic debugging enabled. And I don't want to keep switching android:debuggable in my manifest every time I want to compile. I'm not even sure if it is okay at all if I just set android:debuggable to false pre compiling and to true post compiling, but I am sure I will forget it every second run.

View 1 Replies View Related

General :: Kernel Compile Error

Feb 25, 2012

I have built many kernels on the wildfire s for cm7 but I noticed that ksgl was not getting compiled so I added it to the build and it compiles but at the end of compiling. URL...

View 2 Replies View Related

General :: MID7012 - Kernel Building ERROR

Dec 28, 2011

so far i have downloaded the tcc8902 kernel, it fails to build...

using ubuntu 11.10

am i missing something in my toolchain???

when i "make menuconfig" i get a few error....

and after that i just run "make" it fails.... see image...

View 9 Replies View Related

General :: Custom Kernel Compile Error

Mar 9, 2012

Last week, I played around with getting a custom recovery built for INQ Cloud Touch..

After compiling - flashing recompiling re-flashing for almost a week and on the verge of giving up ...

I realized, searched and found flash_image ... come to find out custom compile of recovery was fine, fastboot did not like my device and wasn't flashing it properly.

So flash_image got the custom recovery working as suppose to, able to backup/restore ... Flash roms.. however there are no roms.. best i could do was try roms from devices close to this one, with no luck!

So i decided i would try my hand at making a 2.3.7 gingerbread rom. Of course stock is froyo 2.2.1 and before i can make the rom.. i need a kernel for gingerbread. So I got the cm-kernel source using this guide:

[URL] .....

[EDIT]
pulled my .config file using both
/proc/config.tgz
and the included script to pull it from the boot.img
[/EDIT]

Now, i been trying to get kernel compiled for the last 5 days.. and like i said, no lack of searching and reading... Had first error, forgot what it was now, but i got it fixed and compile went on.

Code:
LD .tmp_vmlinux1
arm-eabi-ld: no machine record defined
arm-eabi-ld: no machine record defined
arch/arm/mach-msm/built-in.o: In function `parse_tag_msm_partition':

[Code] ......

I have a notepad full of things i have enabled/disabled and restored to original trying to find what is missing or shouldn't be there!

View 5 Replies View Related

General :: Android Kernel Compilation Giving Error

Aug 21, 2013

I am new to android. i am try to compile android kernel 3.4.0 for HTC device.After running cross compile command,

"export CROSS_COMPILE=/home/jharvard/ndk-x86/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-"

when I run make clean command "make clean && make mrproper".It shows errors,

/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found

View 1 Replies View Related

General :: Command Not Found Error While Trying To Compile Kernel From Source With NDK

Mar 29, 2014

I am following this right here [URL] .... And i keep getting command not found even though i am sure its right.

Code:
~/AlienKernel3.0-alien-4 $ export CROSS_COMPILE=/home/user/ndk/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-

Code:
sudo make clean && sudo make mrproper

Code:
make: /home/dm47021/Android/toolchains/arm-unknown-linux-gnueabi-linaro_4.8.2-2013.08/bin/arm-unknown-linux-gnueabi-gcc: Command not found
/bin/bash: /scripts/gcc-version.sh: No such file or directory

[Code] ....

View 1 Replies View Related

General :: What Does Compiling Exactly Mean

Mar 26, 2013

i came across a word related to android "compiling". What does compiling exactly mean?

View 9 Replies View Related

General :: Compiling Android For ZT-282

Sep 2, 2012

If I have the source code compatible with the Zenithink ZT282 but its based on Android 2.3.4 can I use it to compile cm7.2 2.3.7 with the cm7 source.

View 1 Replies View Related

General :: CM9 Compiling Errors

Jun 6, 2012

I'm trying to compile CM9 for my Galaxy Mini, but I always get these errors:

Code:
frameworks/base/core/java/android/view/inputmethod/InputMethodManager.java:1485: cannot find symbol
symbol : variable config_symKeyShowsImePicker
location: class com.android.internal.R.bool
if (context.getResources().getBoolean(com.android.internal.R.bool.config_symKeyShowsImePicker)) {

[Code] .......

View 2 Replies View Related

Android :: Error When Building Kernel Image With Ubuntu 9.10

Jan 28, 2010

I am facing an issue as below when building kernel image. Code...

View 2 Replies View Related

General :: How To Port AODP Kernel To CM9 Kernel

Jun 9, 2012

I have u8800 and 3.0.8 AOSP kernel. But not runnig cm9 with AOSP kernel. How to port aosp kernel to cm9 kernel.

View 1 Replies View Related

General :: WiFi Module And Battery MAh

Jan 2, 2013

Is there any method to find the manufacturer of the WiFi module inside the tablet and the mAh of the battery without disassembling the tab?

View 3 Replies View Related

General :: Unable To Install MODULE

Dec 10, 2013

Unable to install MODULE, I have a problem regarding my A13 android tablet device. It doesn't matter if I will post the brand name of my tablet or whatever because what I only wanted to fix is this. When I follow every instruction written at this link, and following instructions 1-7, after reaching step 5 execute run.bat. It displays the following image I screen captured. (And my tablet doesn't reboot, it's the sign that the computer can't access my tablet.

Obviously, my tablet is connected to the computer via USB cable after running the run.bat as administrator.But what is the problem why it is happening to me. (Additional information: I already installed and followed this instruction on this same device with no error at all. But why does it happened to me even I installed this with success before. I don't change any system file on my tablet before, and I don't know because,I didn't change any file or modify file neither on my tablet nor from my PC.)

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved