Bug 2293 - Error message during compilation
Summary: Error message during compilation
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high minor
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-16 05:46 UTC by Matthias Meyer-Glitza
Modified: 2005-01-15 11:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Matthias Meyer-Glitza 2005-01-16 05:46:27 UTC
Dear X-Developers!

In the beginning I would like to emphasize, that I am sure the errors ocurring
during compilation are my fault, but I do not see any hint how to solve the
problem properly.

Thanks in advance for your assistance!
Matthias

During compilation I received the error message below. (see Appendix 2)

Since the file in question is availabel at different locations already I could
extend the includepath, but I assume, that this is not the right way.
Besides I do not know which to take.

uname -r : 2.6.8.1-12mdk

Version: latest tar files X11R6.8.1


---------------------------------------------------
Appendix 1

../xc/lib/font/fontfile/zlib.h
../xc/lib/lbxutil/lbx_zlib/lbx_zlib.h
../xc/lib/lbxutil/lbx_zlib/zlib.h
../xc/include/extensions/lbxzlib.h
../xc/extras/freetype2/src/gzip/zlib.h
../xc/extras/freetype2/src/gzip/lbx_zlib.h
../xc/extras/zlib/zlib.h



---------------------------------------------------
Appendix 2

gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic -Wall
-Wpointer-arith -Wundef  -I../../../include/fonts -I../include
-I../../../programs/Xserver/include 	      -I../../../exports/include 
-I../../.. -I../../../exports/include   -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE
-D_SVID_SOURCE 				 -D_GNU_SOURCE 				  -DFUNCPROTO=15 -DNARROWPROTO  
-DFONTDIRATTRIB 	      -DBUILD_SPEEDO -DBUILD_TYPE1 -DBUILD_CID 	     
-DBUILD_FREETYPE 
-DFONT_ENCODINGS_DIRECTORY=\"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\"
              -DX_GZIP_FONT_COMPRESSION     -fPIC fontencc.c
rm -f gunzip.o unshared/gunzip.o
gcc -m32 -c -ansi -pedantic -Wall -Wpointer-arith -Wundef 
-I../../../include/fonts -I../include -I../../../programs/Xserver/include 	    
 -I../../../exports/include  -I../../.. -I../../../exports/include   -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 			
-D_BSD_SOURCE -D_SVID_SOURCE 				 -D_GNU_SOURCE 				  -DFUNCPROTO=15
-DNARROWPROTO   -DFONTDIRATTRIB 	      -DBUILD_SPEEDO -DBUILD_TYPE1
-DBUILD_CID 	      -DBUILD_FREETYPE 
-DFONT_ENCODINGS_DIRECTORY=\"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\"
              -DX_GZIP_FONT_COMPRESSION  	-O2 -fno-strength-reduce
-fno-strict-aliasing   gunzip.c -o unshared/gunzip.o
gunzip.c:9:18: zlib.h: No such file or directory
gunzip.c:12: error: syntax error before "z_stream"
Comment 1 Alexander Gottwald 2005-01-16 06:49:43 UTC
you are missing the zlib development package. Install it and the other
dependencies listed in xc/BUILD. 


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.