Hi everyone.
(If I'm in the wrong area, please inform me...)
I'm trying to build a rom using the well known lineageos repo's.
But unfortunately I get this error:
Code:
hardware/ril-caf/rild/rild.c:60: error: undefined reference to 'joinRpcThreadpool'
It's called like this:
Code:
void rilc_thread_pool() {
joinRpcThreadpool();
}
(The call to joinRpcThreadpool is set by myself to prevent other error's. So you can't find it online in rild.c. It is a test...)
Ok. I know what this error means, but, I can't find how and where joinRpcThreadpool is defined.
I need help... :fingers-crossed:
Related
I am compiling Evervolv just to mess around with on the Eris, and I have been getting errors all day, and I have been able to get past most of them. (Sync errors, problems with some folder locations on my desktop) But I just got a long list of errors that are referencing res string values that I've never had before, I will just post a snippet here, but I will also provide a pastebin link to a larger portion of the errors. Any help will be GREATLY appreciated.
frameworks/base/core/res/res/values/public.xml:1532: warning: No comment for public symbol android:style/Widget.Spinner.DropDown
frameworks/base/core/res/res/values/public.xml:657: warning: No comment for public symbol android:style/Widget.TabWidget
frameworks/base/core/res/res/values/public.xml:639: warning: No comment for public symbol android:style/Widget.TextView
frameworks/base/core/res/res/values/public.xml:646: warning: No comment for public symbol android:style/Widget.TextView.PopupMenu
frameworks/base/core/res/res/values/public.xml:647: warning: No comment for public symbol android:style/Widget.TextView.SpinnerItem
frameworks/base/core/res/res/values/public.xml:656: warning: No comment for public symbol android:style/Widget.WebView
Pastebin
lemonoid said:
I am compiling Evervolv just to mess around with on the Eris, and I have been getting errors all day, and I have been able to get past most of them. (Sync errors, problems with some folder locations on my desktop) But I just got a long list of errors that are referencing res string values that I've never had before, I will just post a snippet here, but I will also provide a pastebin link to a larger portion of the errors. Any help will be GREATLY appreciated.
frameworks/base/core/res/res/values/public.xml:1532: warning: No comment for public symbol android:style/Widget.Spinner.DropDown
frameworks/base/core/res/res/values/public.xml:657: warning: No comment for public symbol android:style/Widget.TabWidget
frameworks/base/core/res/res/values/public.xml:639: warning: No comment for public symbol android:style/Widget.TextView
frameworks/base/core/res/res/values/public.xml:646: warning: No comment for public symbol android:style/Widget.TextView.PopupMenu
frameworks/base/core/res/res/values/public.xml:647: warning: No comment for public symbol android:style/Widget.TextView.SpinnerItem
frameworks/base/core/res/res/values/public.xml:656: warning: No comment for public symbol android:style/Widget.WebView
Pastebin
Click to expand...
Click to collapse
This are warnings, no indication in your logs about making your build fail. Something else is going on. Sorry.
well that's what I thought, but upon these warnings, the build aborted and returned to the command line input.
lemonoid said:
well that's what I thought, but upon these warnings, the build aborted and returned to the command line input.
Click to expand...
Click to collapse
Look higher in the logging then, there has to be an error somewhere, unless its gcc -Werror (treats warnings as errors) then it doesn't break the building of the rom. This isn't c/c++ so I don't think this is causing it.
Try rebuilding with make -j1 for a better glimpse of the error
Sent from my GT-P1000 using XDA
help
What is this error?
build/core/product_config.mk:205: *** No matches for product "cyanogen_liquid_mini". Останов.
Device liquid_mini not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for liquid_mini not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:205: *** No matches for product "cyanogen_liquid_mini". Останов.
** Don't have a product spec for: 'cyanogen_liquid_mini'
** Do you have the right repo manifest?
IVAN-ICE said:
What is this error?
build/core/product_config.mk:205: *** No matches for product "cyanogen_liquid_mini". Останов.
Device liquid_mini not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for liquid_mini not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:205: *** No matches for product "cyanogen_liquid_mini". Останов.
** Don't have a product spec for: 'cyanogen_liquid_mini'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
Please don't hi-jack threads. That error tells you what is wrong.
Sent from my Nexus S 4G using xda premium
error
What shall be in the file local_manifest.xml? And where it shall is? thanks!
does anyone know what this can mean...it makes no sense http://pastebin.com/e3vmQd57
xmc wildchild22 said:
does anyone know what this can mean...it makes no sense http://pastebin.com/e3vmQd57
Click to expand...
Click to collapse
These errors are pretty self explanatory. It detected a cycle. There are links to each reported file making a "cycle" when the build detects that it will break.
Sent from my Nexus S 4G using xda premium
I just attempted my first rom building from source. I was using the repo off of Cyanogenmod's github. Long story short I was attempting to build a kitkat rom for the jflteatt ala Samsung Galaxy S4. I repo synced and attempted to build, I got back some errors and was hoping someone might could help. It might be a simple mistake since this is my first attempt at building a rom from source on my own.
http://pastebin.com/3D0r0QUk
Heres a snippet, of course go to paste bin for better view
Code:
hardware/qcom/audio-caf/legacy/alsa_sound/AudioHardwareALSA.h:863:5: error: expected unqualified-id at end of input
hardware/qcom/audio-caf/legacy/alsa_sound/AudioHardwareALSA.h:863:5: error: expected '}' at end of input
hardware/qcom/audio-caf/legacy/alsa_sound/ALSAStreamOps.cpp:40:1: error: expected unqualified-id before 'namespace'
hardware/qcom/audio-caf/legacy/alsa_sound/ALSAStreamOps.cpp:499:1: error: expected '}' at end of input
In file included from hardware/qcom/audio-caf/legacy/alsa_sound/ALSAStreamOps.cpp:38:0:
hardware/qcom/audio-caf/legacy/alsa_sound/AudioHardwareALSA.h:863:5: error: expected unqualified-id at end of input
hardware/qcom/audio-caf/legacy/alsa_sound/AudioHardwareALSA.h:863:5: error: expected '}' at end of input
make: *** [/home/leroy/cyanogen/out/target/product/jflteatt/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/AudioStreamInALSA.o] Error 1
make: *** [/home/leroy/cyanogen/out/target/product/jflteatt/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/ALSAStreamOps.o] Error 1
Thanks,
Leroy
hey guys im trying to compile cm9 for a couple of devices but it keeps coming up with
dalvik/vm/native/dalvik_system_Zygote.cpp:199:19: error: aggregate ‘setrlimitsFromArray(ArrayObject*)::rlimit rlim’ has incomplete type and cannot be defined
struct rlimit rlim;
^
dalvik/vm/native/dalvik_system_Zygote.cpp:222:43: error: ‘setrlimit’ was not declared in this scope
err = setrlimit(contents[0], &rlim);
how can i fix it, it has never showed up before
Hello everyone!
I try to compile CyanogenMod 12.1 on my Samsung Galaxy Note 10.1. But when I compile the code i get an error:
PHP:
In file included from frameworks/av/services/camera/libcameraservice/CameraService.h:26:0,
from frameworks/av/services/camera/libcameraservice/CameraDeviceFactory.cpp:21:
hardware/libhardware/include/hardware/camera.h:65:9: error: 'camera_frame_metadata_t' has not been declared
camera_frame_metadata_t *metadata, void *user);
^
In file included from frameworks/av/include/camera/Camera.h:23:0,
from frameworks/av/include/camera/ICamera.h:25,
from frameworks/av/services/camera/libcameraservice/CameraService.h:28,
from frameworks/av/services/camera/libcameraservice/CameraDeviceFactory.cpp:21:
frameworks/av/include/camera/ICameraClient.h:39:42: error: 'camera_frame_metadata_t' has not been declared
camera_frame_metadata_t *metadata) = 0;
^
In file included from frameworks/av/include/camera/ICamera.h:25:0,
from frameworks/av/services/camera/libcameraservice/CameraService.h:28,
from frameworks/av/services/camera/libcameraservice/CameraDeviceFactory.cpp:21:
frameworks/av/include/camera/Camera.h:42:27: error: 'camera_frame_metadata_t' has not been declared
camera_frame_metadata_t *metadata) = 0;
^
frameworks/av/include/camera/Camera.h:149:38: error: 'camera_frame_metadata_t' has not been declared
camera_frame_metadata_t *metadata);
^
What is it? The 'camera_frame_metadata_t' definition can be found in system/core/include/system/camera.h:
PHP:
typedef struct camera_frame_metadata {
/**
* The number of detected faces in the frame.
*/
int32_t number_of_faces;
/**
* An array of the detected faces. The length is number_of_faces.
*/
camera_face_t *faces;
} camera_frame_metadata_t;
So, how to solve this problem? Hope for your help.
Nobody knows?
The problem has been solved. I just moved the structure 'camera_frame_metadata' a little higher after 'camera_face'.
No, the problen has not been solved. I still get the error.
Please help.
I'm trying to build this on my device, but I have some problems during the building process. First of all, I synced the AOSP 4.3_r2.2 source tree. Then I copied the entire cornerstone codes (from branch v4.3_r2.2) into the source tree. Then I start to build.
First, I got a lot of errors like these:
Code:
frameworks/base/core/res/res/values/public.xml:244: error: Symbol 'config_bluetooth_adapter_quick_switch' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1558: error: Symbol 'config_enableDreams' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:919: error: Symbol 'ic_suggestions_add' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:920: error: Symbol 'ic_suggestions_delete' declared with <java-symbol> not defined
...
After compared a lot, I found lots of missing symbols seems only in public.xml. If I were right, I think these symbols should be defined in somewhere else, then be added into public.xml. So I just removed these by restore the public.xml to unmodified (git checkout).
And then when I ran building again, I got the error like this:
Code:
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:57: cannot find symbol
symbol : variable FX_SURFACE_DIM
location: class android.view.Surface
Surface.FX_SURFACE_DIM);
^
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:54: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
^
...
frameworks/base/services/java/com/android/server/wm/DimSurface.java:48: cannot find symbol
symbol : variable FX_SURFACE_DIM
location: class android.view.Surface
Surface.FX_SURFACE_DIM);
^
frameworks/base/services/java/com/android/server/wm/DimSurface.java:45: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
^
...
By looked into the AOSP source, I found the Surface.FX_SURFACE_DIM should be SurfaceControl.FX_SURFACE_DIM, and the WindowStateAnimator.SurfaceTrace constructor's parameter number is different. So I wonder whether am I use the "right" source tree of AOSP? If not, which version should I sync? Since there are so many differences than the codes in cornerstone.
Thanks.
popoalex said:
I'm trying to build this on my device, but I have some problems during the building process. First of all, I synced the AOSP 4.3_r2.2 source tree. Then I copied the entire cornerstone codes (from branch v4.3_r2.2) into the source tree. Then I start to build.
First, I got a lot of errors like these:
Code:
frameworks/base/core/res/res/values/public.xml:244: error: Symbol 'config_bluetooth_adapter_quick_switch' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1558: error: Symbol 'config_enableDreams' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:919: error: Symbol 'ic_suggestions_add' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:920: error: Symbol 'ic_suggestions_delete' declared with <java-symbol> not defined
...
After compared a lot, I found lots of missing symbols seems only in public.xml. If I were right, I think these symbols should be defined in somewhere else, then be added into public.xml. So I just removed these by restore the public.xml to unmodified (git checkout).
And then when I ran building again, I got the error like this:
Code:
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:57: cannot find symbol
symbol : variable FX_SURFACE_DIM
location: class android.view.Surface
Surface.FX_SURFACE_DIM);
^
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:54: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
^
...
frameworks/base/services/java/com/android/server/wm/DimSurface.java:48: cannot find symbol
symbol : variable FX_SURFACE_DIM
location: class android.view.Surface
Surface.FX_SURFACE_DIM);
^
frameworks/base/services/java/com/android/server/wm/DimSurface.java:45: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
^
...
By looked into the AOSP source, I found the Surface.FX_SURFACE_DIM should be SurfaceControl.FX_SURFACE_DIM, and the WindowStateAnimator.SurfaceTrace constructor's parameter number is different. So I wonder whether am I use the "right" source tree of AOSP? If not, which version should I sync? Since there are so many differences than the codes in cornerstone.
Thanks.
Click to expand...
Click to collapse
Finally resolved the problem, by did these:
1. Removed the symbol definition from public.xml;
2. Replaced android.view.Surface with android.view.SurfaceControl, and WindowManagerService.DEFAULT_DIM_DURATION with WindowAnimator.DEFAULT_DIM_DURATION.