[oe] "cannot find -lppl_c" link error
Mr Dash Four
mr.dash.four at googlemail.com
Thu Nov 24 13:47:57 UTC 2011
>> It looks as though ld cannot find "ppl_c" (not ppl!). What is ppl_c? The build environment I use is x86_64 (quad core CPU), running heavily upgraded and updated FC13 (most of the components are based on FC14 & FC15). The target device is htcdream (ARMv6).
>>
>> Any idea what is causing this?
>>
>
> somehow gcc build is detecting that you have enabled PPL support, I
> dont think we either enable or disable it by default.
I think this is a necessity for building gcc as it needs ppl,
cloog(-ppl) among other core libraries. As far as I know I can't just
"disable it".
> So I think your
> build system has the header file ppl_c.h installed but library itself
> is not installed.
I take it you mean ppl on my host arch (x86_64 in my case). if so:
[root at test1 ~]# rpm -qa | grep ppl
cloog-ppl-0.15.7-1.fc12.x86_64
ppl-devel-0.10.2-10.fc12.x86_64
ppl-0.10.2-10.fc12.x86_64
cloog-ppl-devel-0.15.7-1.fc12.x86_64
[root at test1 ~]# ls -las /usr/lib64/libppl*
0 lrwxrwxrwx. 1 root root 17 Nov 25 2010 /usr/lib64/libppl_c.so
-> libppl_c.so.2.1.0
0 lrwxrwxrwx. 1 root root 17 Jun 17 2010
/usr/lib64/libppl_c.so.2 -> libppl_c.so.2.1.0
3496 -rwxr-xr-x. 1 root root 3579376 Sep 11 2009
/usr/lib64/libppl_c.so.2.1.0
0 lrwxrwxrwx. 1 root root 15 Nov 25 2010 /usr/lib64/libppl.so
-> libppl.so.7.1.0
0 lrwxrwxrwx. 1 root root 15 Jun 17 2010 /usr/lib64/libppl.so.7
-> libppl.so.7.1.0
756 -rwxr-xr-x. 1 root root 772032 Sep 11 2009 /usr/lib64/libppl.so.7.1.0
[root at test1 ~]# ls -las /usr/include/ppl*
4 -rw-r--r--. 1 root root 1676 Sep 11 2009 /usr/include/ppl_c.h
364 -rw-r--r--. 1 root root 370045 Sep 11 2009
/usr/include/ppl_c-x86_64.h
4 -rw-r--r--. 1 root root 1676 Sep 11 2009 /usr/include/ppl.hh
2340 -rw-r--r--. 1 root root 2394720 Sep 11 2009 /usr/include/ppl-x86_64.hh
As you can see, I have all of the above and the appropriate libppl_c
files are where they should be.
> If you remove ppl installation from your build host
> it would work and if you install the ppl packages propertly it should
> work too.
>
No, it won't! As I stated above gcc depends on these libraries so I
can't just remove them:
[root at test1 ~]# rpm --erase --test ppl ppl-devel cloog-ppl cloog-ppl-devel
error: Failed dependencies:
cloog-ppl >= 0.15 is needed by (installed) gcc-4.4.5-2.fc13.x86_64
[root at test1 ~]# rpm --erase --test ppl ppl-devel
error: Failed dependencies:
libppl.so.7()(64bit) is needed by (installed)
cloog-ppl-0.15.7-1.fc12.x86_64
libppl_c.so.2()(64bit) is needed by (installed)
cloog-ppl-0.15.7-1.fc12.x86_64
ppl-devel >= 0.10 is needed by (installed)
cloog-ppl-devel-0.15.7-1.fc12.x86_64
Any ideas why OE can't find my ppl_c libs?
More information about the Openembedded-devel
mailing list