Date
1 - 6 of 6
Unable to add pre compiled library #yocto
Vijay Rakesh Munganda
Hi,
I'm trying to install a pre-compiled library, but I got an error as follows. I had tried to add libcxx from meta-clang, but it doesn't compatible with Yocto dunfell version. Is there another way to avoid error? Thanks, VR.
|
|
On Mon, Jan 11, 2021 at 11:46 PM Vijay Rakesh Munganda
<vijayrakeshmunganda@gmail.com> wrote: it seems to need llvm C++ runtime and using meta-clang/libcxx is the right way to go about it. What errors do you run into ? ERROR: tokbox-2.18.1-r0 do_package_qa: QA Issue: /usr/lib/libopentok.so contained in package tokbox requires libc++.so.1()(64bit), but no providers found in RDEPENDS_tokbox? [file-rdeps]
|
|
Vijay Rakesh Munganda
Hi Raj,
toggle quoted messageShow quoted text
I had downloaded complete meta-clang and ran bitbake then I got an error message as layer is not compatible with dunfell version. Then I had downloaded libcxx recipe and added into the build, but do_compile doesn’t show any progress, even after two hours at shows 16%. At this point RAM usage is 72% and CPU is 43%. I’m not sure whether this is related to memory resource or any other. Thanks & Regards, VR
On 12-Jan-2021, at 14:38, Khem Raj <raj.khem@gmail.com> wrote:
|
|
Quentin Schulz
Hi VR,
On Tue, Jan 12, 2021 at 07:57:46PM +0530, Vijay Rakesh Munganda wrote: Hi Raj,I told you on StackOverflow to checkout the dunfell branch of meta-clang. Do that, and recompile again instead of cherry-picking recipes, classes, patches and whatnot. Once you've something that works, you can experiment with cherry-picking if you want. Cheers, Quentin
|
|
Vijay Rakesh Munganda
On Tue, Jan 12, 2021 at 06:29 AM, Quentin Schulz wrote:
I told you on StackOverflow to checkout the dunfell branch ofI had tried your suggestion and bitbake started to reinstall all packages but facing the same issue. Bitbake doesn't show any progress. meta-clang = "dunfell:e63d6f9abba5348e2183089d6ef5ea384d7ae8d8"
Initialising tasks: 100% |###############################################################################| Time: 0:00:18
Sstate summary: Wanted 1189 Found 0 Missed 1189 Current 1157 (0% match, 49% complete)
NOTE: Executing Tasks
Currently 4 running tasks (2744 of 5866) 46% |################################# |
0: linux-mtk-5.4.51+gitAUTOINC+50ca5f1c95-r0 do_compile_kernelmodules - 2h33m23s (pid 117)
1: clang-native-10.0.1-r0 do_compile (pid 4105) 7% |#### |
2: gnutls-3.6.13-r0 do_package - 1h3m55s (pid 4706)
3: libgcrypt-1.8.5-r0 do_configure - 1h0m23s (pid 7528)
Thanks & Regards, VR
|
|
Vijay Rakesh Munganda
Is re compiling the .so file is correct? I found one solution online, tried to recompile and my build is got successful.
do_compile(){
${CXX} -shared -o libopentok.so ${S}/lib/libopentok.so
} Thanks, VR
|
|