Re: Xft XCompile Warning as "linker path does not have real file for library -lX11"
- From: Sergei Steshenko <sergstesh yahoo com>
- To: harshavardhanreddy mandeepala <hvreddy1110 gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Xft XCompile Warning as "linker path does not have real file for library -lX11"
- Date: Fri, 8 Sep 2006 05:38:32 -0700 (PDT)
--- harshavardhanreddy mandeepala <hvreddy1110 gmail com> wrote:
> >
> >
> > Try to set LDFLAGS environment variable in a manner similar to this
> > example:
> >
> > "
> > LDFLAGS='-L/maxtor5/sergei/AppsFromScratchWD/install/jpegsrc.v6b/lib
> > -L/maxtor5/sergei/AppsFromScratchWD/install/tiff-3.8.2/lib
> > -L/maxtor5/sergei/AppsFromScratchWD/install/zlib-1.2.3/lib'; export
> > LDFLAGS
> > ".
> >
> > I.e. stick into it paths to the libraries not found by linker.
> >
> > --Sergei.
> >
> >
> >
> Hi Thanks for ur reply,
> I tryed the way you have mentioned but no success.
> Infact all the libraries are there in the specified path
> I.e
>
-L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib
> -lXrender -lX11 -lXext
>
> all are there.
> The Xrender and X11 Xext are there in the part of XFree86-4.6 Xserver i
> Cross compiled.
> But i don't know why the Xft is failing to link with it.
> Shall i need to Cross compile XRender separately ?
>
> Thanks,
> Regards,
> Harsha
>
If Xft depends on XRender (has to be linked with it), of course, you to
crosscompile it too.
...
A more general thought - I would probably (think of)/(try to) a chroot'ed
environment for cross-compilation, so you'll have precise control which libraries
are seen and which are not by linker.
Probably, even better, I'd create a virtual ARM machine using QEMU, install
Linux on it and get rid of cross-compilation altogether.
--Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]