cross-compile xfree86

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

 



Title: cross-compile xfree86

Hi
I am trying to cross compile xfree 4.6.0 for an arm intel processor.
I have done a make world and I am getting an error:missing zlib.h.
The file is in my path.
The error log is shown below
 gunzip.c
gunzip.c:9:18: zlib.h: No such file or directory
gunzip.c:12: error: parse error before "z_stream"
gunzip.c:12: warning: no semicolon at end of struct or union
gunzip.c:17: error: parse error before '}' token
gunzip.c:17: warning: data definition has no type or storage class
gunzip.c: In function `BufFilePushZIP':
gunzip.c:27: error: `x' undeclared (first use in this function)
gunzip.c:27: error: (Each undeclared identifier is reported only once
gunzip.c:27: error: for each function it appears in.)
gunzip.c:29: error: parse error before ')' token
gunzip.c:32: error: `Z_NULL' undeclared (first use in this function)
gunzip.c:44: error: `MAX_WBITS' undeclared (first use in this function)
gunzip.c:45: error: `Z_OK' undeclared (first use in this function)
gunzip.c: In function `BufZipFileClose':
gunzip.c:71: error: `x' undeclared (first use in this function)
gunzip.c:71: error: parse error before ')' token
gunzip.c: In function `BufZipFileFill':
gunzip.c:90: error: `x' undeclared (first use in this function)
gunzip.c:90: error: parse error before ')' token
gunzip.c:100: error: `Z_OK' undeclared (first use in this function)
gunzip.c:102: error: `Z_STREAM_END' undeclared (first use in this function)
gunzip.c:103: error: `Z_DATA_ERROR' undeclared (first use in this function)
gunzip.c:104: error: `Z_ERRNO' undeclared (first use in this function)
gunzip.c:130: error: `Z_NO_FLUSH' undeclared (first use in this function)
gunzip.c: In function `BufCheckZipHeader':
gunzip.c:200: error: `Z_DEFLATED' undeclared (first use in this function)
make[5]: *** [gunzip.o] Error 1
make[5]: Leaving directory `/home/ash/platform/base/xfree4.4/build/lib/font/fontfile'
make[4]: *** [fontfile] Error 2
make[4]: Leaving directory `/home/ash/platform/base/xfree4.4/build/lib/font'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/ash/platform/base/xfree4.4/build/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ash/platform/base/xfree4.4/build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/ash/platform/base/xfree4.4/build'
make: *** [World] Error 2

I have also noticed some warning
../../config/makedepend/makedepend:warning encparse.c,line 51:cannot find include file "zlib.h"
not in zlib.h
not home/ash/platform/arm-linux/arm-linux/include/zlib.h

I have also found out the zlib.h is my build folder under  extras/zlib and also in my home/ash/platform/arm-linux/arm-linux/include/linux/zlib.h
There should something wrong with my path.Is there any way I could correct it please?
I didnot want to mindle too much with the makefile and was also unable to add those path.
Your help is really appreciated
kind regards
ash


[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