Quite new to this, but i will try to explain the problem:
If I crosscompile directfb it gets installed into a directory.
My target device then uses this as its NFS mounted root directory and all
works fine.
I try to crosscompile LiTE and it fails with pkg-config errors.
I modify PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR to look at the directory on
my compile machine which is NFS mounted by target device,
LiTE now finds all the correct pkgconfig files.
However the .la files that LiTE links against for example libdirectfb.la
have a hardcoded path like this
/usr/local/lib/libdirectfb.so
This means that when LiTE tries to link it fails as this path is not correct
on the compile machine.
Question is what it the problem
Is my configure of DirectFB wrong (prefix execprefix etc):
Note I use Buildroot as a method of building packages for my target device
Is there something i have to change in DirectFB,
I.e is something wrong in the install options when dealing with cross
compiling
Is something wrong with LiTE configuration to link against these files?
I can manually edit .la files and replace hardcoded paths with -llibname.
However this is not good in a complete buildsystem
Am i doing something that is not possible?
Any Ideas, pointers, help would be appreciated I have tried a number of
things like changing prefix etc and I have had no luck. I hope someone out
there can assist.
From: Kent Sandvik <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [directfb-dev] Crosscompiling LiTE
Date: Fri, 28 Oct 2005 01:14:06 -0700
I could take a look at this ,but it would be easier if you got
pkg-config working for your setup, other packages require it, too.
--Kent
On 10/28/05, Daniel Laird <[EMAIL PROTECTED]> wrote:
> I am trying to crosscompile LiTe.
>
> It tries to use pkg-config which it not working as I do not have
pkg-config
> set up for my target device.
>
> However it says that if you set
> DFB_LIBS and DFB_CFLAGS that it will get around this.
>
> I have tried to set the DFB_CFLAGS and DFB_LIBS so that it has all the
> include paths and libraries however the configure still moans about
> pkg-config.
>
> Has anyone else successfuly crosscompiled LiTE.
>
> Hope you can help
> Dan
>
>
>
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>
--
Something, Anything!
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev