Hi I am trying to build compat-wireless component for Qualcom's APQ8064 on Yocto kernel.
When I build compat-wireless package provided by Qualcom as part of code-aroura android am able to see cfg80211.ko and ath6kl_sdio.ko ath6kl_usb.ko components are generated successfully.
But when I build compat-wireless package with Yocto kernel (ver 3.1.0) as standalone am seeing only wlan.o (i.e ath6kl_usb.ko) being generated. (I dont see cfg80211.ko and ath6kl_sdio.ko)
Enabling the CFG flags for ath6kl_sdio.ko support ends up with lot of compilation/dependency issues.
Has anyone faced the similar issue? Please provide suggestions. Also I am not able to understand, how android build resolves these dependencies and builds successfully.
Thanks in advance.
Try using bitbake with the -c menuconfig linux-yocto arguments. Then find you driver type 'h' for help and you should see the dependencies tree.
Related
I have a Problem on an emulated Android device. To be honest on every emulated Android Device. There is a mutex test from Android Bionic. It could be found under:
https://android.googlesource.com/platform/system/extras/+/froyo/tests/bionic/libc/bionic/test_mutex.c
So, when compiling this with CMake and the Android Toolchain for Android x86 or x86_64 it compiles fine.
Altough, when running the file it throws an error in line 90:
expect( pthread_mutex_trylock( &lock ), EDEADLK );
The error message:
generic_x86_arm:/data/local # ./test_mutex
/home/tjk/coding/oorexx/mutex/test_mutex.c:80: call returned 16 instead of 35: pthread_mutex_trylock( &lock )
If I delete this on line everything is fine and I get an "ok". Thats not a solution because I'm working on a big project and debugging tells me that there are problems and its very likely that the trylock function is the reason for that. So I need to fix that. The mutex test has to work.
What can I do? What could be the reason for that? Is it the device? Is it the Android Toolchain or is there something wrong with my CMake Command? My CMake Command:
cmake -H./ -B./build2 -DANDROID_NDK=~/coding/android-ndk-r22b/ -DCMAKE_TOOLCHAIN_FILE=~/coding/android-ndk-r22b/build/cmake/android.toolchain.cmake -DANDROID_ABI="x86" -DCMAKE_BUILD_TYPE=Release \ (base)
-DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX -DANDROID_NATIVE_API_LEVEL=30
The CMakeLists.txt:
cmake_minimum_required(VERSION 3.6.0)
project(test_mutex)
add_executable(test_mutex test_mutex.c)
I would really appreciate any useful tips. Thank you!
Best Regards Thomas
While installing NVidia Android CodeWorks I have received an error at the very end of the installation process saying :
installing compile samples 4.0 failed nvidia
Return Code: 2Compile Samples failed. Please check the /home/user/NVPACK//_installer/compile.log. You can send it to TegraDeveloperPack-Users#nvidia.com if you can not resolve it.
Does anyone know how to solve this problem please
So that other people having the same problem might go on something for I have not found an optimal solution to this problem.
I have managed to solve it by simply copying my version of jdk (which is jdk1.8.0_101) to the specified Nvidia Codeworks folder and renaming to the one missing in the log (...\Nvidia\Codeworks_installer\compile.log - \Nvidia\Codeworks\jdk1.8.0_77" does not exist.) In my case it compiled successfully, however it must be noted that this is not a good solution. Messing around with the environment valuables might be a reasonable place to start otherwise.
If your log file shows:
Error: JAVA_HOME is not defined correctly.
make: *** [antbuild_Basic_debug] Error 1
We cannot execute /usr/bin/java
Makefile.Basic.mk:92: recipe for target 'antbuild_Basic_debug' failed
you can fix it by creating a soft link like this:
sudo ln -s $JAVA_HOME/bin/java /usr/bin/java
I'm trying to help out a friend of mine by compiling a ROM for the Samsung Galaxy Grand 2 (ms013g).
make: *** No rule to make target
'/home/quiche/cmsource/out/host/linux-x86/bin/dtbToolCM' needed by
'/home/quic/out/target/product/ms013g/dt.img '.
I keep getting this error i cannot fix, i tried the fix described here: CM12 build failed for oneplus one
and i also made sure android_device_qcom_common is in my local_manifest.xml.
Somewere else, someone suggested changing dtbToolCM to dtbTool, which i tried to no avail.
Seems like You need to add suitable kernel project to your local manifest
Downloading of android_kernel_samsung_klte project helped to me (I was building device_samsung_klte)
Please try this to add below to your Device.mk
BOARD_KERNEL_SEPARATED_DT :=true
Please see Android.mk for dtbtool.
Thank you.
I try to make an android application in delphi but when i build the project i get this error:
[PAClient Error] Error: E0002 Missing profile name; use paclient -?
for Help
How can i fix this?
You may check your configuration as well in Delphi XE 8.1:
Build Configuration: RELEASE
Android: APPLICATION STORE
For instance DEBUG and APPLICATION STORE may result in a E00002 error.
For building Android applications in delphi, you do not use the PAServer nor PAClient, so there is no profile: these are only needed for iOS or OS X development.
To figure out what is calling PAClient and why the call fails, follow these steps:
Run Delphi while the free Process Monitor from SysInternals is active,
watch the Process Monitor log to see when the PAClient is executed, and what parameters there are.
Relate these parameters to the selected profile
Note that error E00002 means the PAClient has no profile name in the parameters.
Also check Project -> Deployment that all items are checked. That worked for me.
(I unchecked all items by mistake when adding some files for deployment manually)
Via FFernandes https://forums.embarcadero.com/thread.jspa?threadID=118789
I am trying to compile some source code but when i run the command
make -f android-9-armv7.mk
I get the following error
android-9-armv7.mk:1: * missing separator. Stop.
This is the contents of the file above:
And I have set the IMAGINE_PATH variable as well, cant seem to figure it out.
link ../imagine/make/shortcut/common-builds/android-9-armv7.mk
Compiling instructions
http://code.google.com/p/emu-ex-plus-alpha/wiki/Compiling
Imagine is locaed at C:/Imagine
I don't know where you've taken the sources, but all the android-9-armv7.mk files from different projects on that git has following content:
../imagine/make/shortcut/common-builds/android-9-armv7.mk
...there is no link keyword, which probably is why you get this error.
Also, please be informed that you're building this on Windows machine while documentation clearly states that it's supported only on Linux and Mac OS X.