XFree86 compilation error ...bin/ld: cannot find -lz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI

I don't know this issue is discussed already or not but i searched in the net and i couldn't find solution.
My Problem is
While cross compiling XFree86-4.5 for ARM  i got the following error.
I didn't change any thing in host.def and cross.def  just to confirm.

I used 

make World CROSSCOMPILEDIR=/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin                               

Then i got the following error after processing.
.......................

/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/`echo gcc|sed "s%.*/%%"` -o bdftopcf -O3 -fno-strict-aliasing -fsigned-char     -L../../exports/lib   bdftopcf.o -lXfont -lfntstubs -lfreetype   -lz -lm   -Wl,-rpath-link,../../exports/lib
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[4]: *** [bdftopcf] Error 1
make[4]: Leaving directory `/home/harsha/XFREE86/build/programs/bdftopcf'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/harsha/XFREE86/build/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/harsha/XFREE86/build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/harsha/XFREE86/build'
make: *** [World] Error 2


I am using gcc-4.1.1 and glibc 2.4 for my tool chain.

Any idea  why XFree86 is not compiling.

Thanks in advance,


Regards,
Harsha

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux