From: Mr Dash Four <mr.dash.four@googlemail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: "cannot find -lppl_c" link error
Date: Thu, 24 Nov 2011 13:47:57 +0000 [thread overview]
Message-ID: <4ECE4B0D.6030401@googlemail.com> (raw)
In-Reply-To: <CAMKF1srcWq1mD4wNZEi2Eff2iMCVcwvjL_swTJ7z1Y6=qjZA1Q@mail.gmail.com>
>> 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@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@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@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@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@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?
next prev parent reply other threads:[~2011-11-24 13:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-19 21:07 "cannot find -lppl_c" link error Mr Dash Four
2011-11-24 2:54 ` Khem Raj
2011-11-24 13:47 ` Mr Dash Four [this message]
2011-11-24 14:26 ` Mr Dash Four
2011-11-24 17:49 ` Khem Raj
2011-11-24 18:06 ` Mr Dash Four
2011-11-24 18:27 ` Khem Raj
2011-11-25 0:52 ` Mr Dash Four
2011-11-25 5:09 ` Khem Raj
2011-11-25 5:32 ` Mr Dash Four
2011-11-25 17:26 ` Khem Raj
2011-11-25 21:50 ` Mr Dash Four
2011-11-28 20:41 ` Mr Dash Four
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ECE4B0D.6030401@googlemail.com \
--to=mr.dash.four@googlemail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.