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>, 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 04:18:38 -0700 (PDT)
--- harshavardhanreddy mandeepala <hvreddy1110 gmail com> wrote:
> Hi All
> When i try to cross compile Xft-2.1.2 for my ARM it is giving following
> error.
> I already have atk,pango.glib,Xserver,zlib in my path.
>
> xft didn't display any error while configure ,but when i try to make
> it is giving following error.
>
> arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I.
>
-I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include
>
-I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2
>
-I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include
> -g -O2 -MT xftxlfd.lo -MD -MP -MF .deps/xftxlfd.Tpo -c xftxlfd.c -o
> xftxlfd.o >/dev/null 2>&1
> /bin/sh ./libtool --mode=link arm-none-linux-gnueabi-gcc
>
-I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include
>
-I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2
>
-I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include
> -g -O2 -o libXft.la -rpath /opt/freescale/usr/local/gcc-
> 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib
> -version-number 2:1:1 xftcolor.lo xftcore.lo xftdbg.lo xftdpy.lo xftdraw.lo
> xftextent.lo xftfont.lo xftfreetype.lo xftglyphs.lo xftinit.lo xftlist.lo
> xftname.lo xftrender.lo xftstr.lo xftswap.lo
> xftxlfd.lo-L/opt/freescale/usr/local/gcc-
> 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib
> -lfontconfig -lfreetype -lz -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
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
>
> *** Warning: linker path does not have real file for library -lz.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libz and none of the candidates passed a file format test
> *** using a file magic. Last file checked: /opt/freescale/usr/local/gcc-
> 4.1.1-glibc-2.4-nptl-2
> /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libz.so.1.2.3
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
>
> *** Warning: linker path does not have real file for library -lXrender.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libXrender and none of the candidates passed a file format test
> *** using a file magic. Last file checked: /opt/freescale/usr/local/gcc-
> 4.1.1-glibc-2.4-nptl-2
> /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib/libXrender.so.1.2
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
>
> *** Warning: linker path does not have real file for library -lX11.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libX11 and none of the candidates passed a file format test
> *** using a file magic. Last file checked: /opt/freescale/usr/local/gcc-
> 4.1.1-glibc-2.4-nptl-2
> /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib/libX11.so.6.2
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
> ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
> ): command not found
>
> *** Warning: linker path does not have real file for library -lXext.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libXext and none of the candidates passed a file format test
> *** using a file magic. Last file checked: /opt/freescale/usr/local/gcc-
> 4.1.1-glibc-2.4-nptl-2
> /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib/libXext.so.6.4
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
> ./libtool: line 3972: test: : integer expression expected
> ./libtool: line 3972: test: : integer expression expected
> creating reloadable object files...
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> ./libtool: line 4006: test: : integer expression expected
> creating a temporary reloadable object file: .libs/libXft.la-16.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-1.o .libs/xftcolor.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-2.o .libs/xftcore.o .libs/libXft.la-1.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-3.o .libs/xftdbg.o .libs/libXft.la-2.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-4.o .libs/xftdpy.o .libs/libXft.la-3.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-5.o .libs/xftdraw.o .libs/libXft.la-4.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-6.o .libs/xftextent.o .libs/libXft.la-5.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-7.o .libs/xftfont.o .libs/libXft.la-6.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-8.o .libs/xftfreetype.o .libs/libXft.la-7.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-9.o .libs/xftglyphs.o .libs/libXft.la-8.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-10.o .libs/xftinit.o .libs/libXft.la-9.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-11.o .libs/xftlist.o .libs/libXft.la-10.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-12.o .libs/xftname.o .libs/libXft.la-11.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-13.o .libs/xftrender.o .libs/libXft.la-12.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-14.o .libs/xftstr.o .libs/libXft.la-13.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-15.o .libs/xftswap.o .libs/libXft.la-14.o
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/ld
> -r -o .libs/libXft.la-16.o .libs/xftxlfd.o .libs/libXft.la-15.o
> arm-none-linux-gnueabi-gcc -shared .libs/libXft.la-16.o -Wl,--rpath
>
-Wl,/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib
> -Wl,--rpath
>
-Wl,/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib
>
-L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local//lib
>
-L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfontconfig.so
>
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfreetype.so
>
-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
> -Wl,-soname -Wl,libXft.so.2 -o .libs/libXft.so.2.1.1
> rm -f .libs/libXft.la-1.o .libs/libXft.la-2.o
> .libs/libXft.la-3.o.libs/libXft.la-
> 4.o .libs/libXft.la-5.o .libs/libXft.la-6.o .libs/libXft.la-7.o.libs/libXft.la-
> 8.o .libs/libXft.la-9.o .libs/libXft.la-10.o
> .libs/libXft.la-11.o.libs/libXft.la-
> 12.o .libs/libXft.la-13.o .libs/libXft.la-14.o
> .libs/libXft.la-15.o.libs/libXft.la-
> 16.o
> (cd .libs && rm -f libXft.so.2 && ln -s libXft.so.2.1.1 libXft.so.2)
> (cd .libs && rm -f libXft.so && ln -s libXft.so.2.1.1 libXft.so)
> ./libtool: line 5251: test: : integer expression expected
> ./libtool: line 5251: test: : integer expression expected
> using piecewise archive linking...
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
> ./libtool: line 5286: test: : integer expression expected
>
=== message truncated ===> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
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.
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]