problem building X11.R6.8.2

c.laera at inwind.it c.laera at inwind.it
Fri May 6 08:25:32 PDT 2005


---------- Initial Header -----------

> > I can't find a solution for reference in line:
> > 
> > In function `config_set_snf_format':
> > : undefined reference to `SnfSetFormat'
> 
> What version of freetype do you have installed?  If it is older than
> 2.1.8, try upgrading to 2.1.8 or later.
> 
> Thanks Mike for help;
> After updating I've freetype version 2.1.9 but problem is not solved.
> 
> Thanks
> 
> 
> 
> 

Hi 

Now my old problem is fixed. The only solution that I find is to add following
in my host.def:

#define BuildFonts                 NO
#define BuildFontServer            NO

disabling font and fontserver build.

Now I have new problem:

make[4]: Leaving directory `/home/claera/xserver/compilato/programs/xrandr'
making all in programs/xcursorgen...
make[4]: Entering directory `/home/claera/xserver/compilato/programs/xcursorgen'
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall
-Wpointer-arith -Wundef   -I/usr/local/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       -c -o xcursorgen.o xcursorgen.c
xcursorgen.c:35:17: png.h: No such file or directory
xcursorgen.c:140: error: parse error before "png"
xcursorgen.c: In function `premultiply_data':
xcursorgen.c:144: error: `row_info' undeclared (first use in this function)
xcursorgen.c:144: error: (Each undeclared identifier is reported only once
xcursorgen.c:144: error: for each function it appears in.)
xcursorgen.c:146: error: `data' undeclared (first use in this function)
xcursorgen.c: In function `load_image':
xcursorgen.c:165: error: `png_structp' undeclared (first use in this function)
xcursorgen.c:165: error: parse error before "png"
xcursorgen.c:166: error: `png_infop' undeclared (first use in this function)
xcursorgen.c:167: error: `png_bytepp' undeclared (first use in this function)
xcursorgen.c:170: error: `png_uint_32' undeclared (first use in this function)
xcursorgen.c:170: error: parse error before "width"
xcursorgen.c:174: error: `png' undeclared (first use in this function)
xcursorgen.c:174: warning: implicit declaration of function `png_create_read_struct'
xcursorgen.c:174: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this
function)
xcursorgen.c:178: error: `info' undeclared (first use in this function)
xcursorgen.c:178: warning: implicit declaration of function `png_create_info_struct'
xcursorgen.c:181: warning: implicit declaration of function
`png_destroy_read_struct'
xcursorgen.c:185: warning: implicit declaration of function `setjmp'
xcursorgen.c:210: warning: implicit declaration of function `png_init_io'
xcursorgen.c:211: warning: implicit declaration of function `png_read_info'
xcursorgen.c:212: warning: implicit declaration of function `png_get_IHDR'
xcursorgen.c:212: error: `width' undeclared (first use in this function)
xcursorgen.c:212: error: `height' undeclared (first use in this function)
xcursorgen.c:217: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this
function)
xcursorgen.c:218: warning: implicit declaration of function `png_set_expand'
xcursorgen.c:220: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this
function)
xcursorgen.c:223: warning: implicit declaration of function `png_get_valid'
xcursorgen.c:223: error: `PNG_INFO_tRNS' undeclared (first use in this function)
xcursorgen.c:227: warning: implicit declaration of function `png_set_strip_16'
xcursorgen.c:230: warning: implicit declaration of function `png_set_packing'
xcursorgen.c:232: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in
this function)
xcursorgen.c:233: warning: implicit declaration of function `png_set_gray_to_rgb'
xcursorgen.c:235: error: `PNG_INTERLACE_NONE' undeclared (first use in this
function)
xcursorgen.c:236: warning: implicit declaration of function
`png_set_interlace_handling'
xcursorgen.c:238: warning: implicit declaration of function `png_set_bgr'
xcursorgen.c:239: warning: implicit declaration of function `png_set_filler'
xcursorgen.c:239: error: `PNG_FILLER_AFTER' undeclared (first use in this function)
xcursorgen.c:241: warning: implicit declaration of function
`png_set_read_user_transform_fn'
xcursorgen.c:243: warning: implicit declaration of function `png_read_update_info'
xcursorgen.c:252: error: `rows' undeclared (first use in this function)
xcursorgen.c:252: error: `png_bytep' undeclared (first use in this function)
xcursorgen.c:257: warning: implicit declaration of function `png_read_image'
xcursorgen.c:258: warning: implicit declaration of function `png_read_end'
make[4]: *** [xcursorgen.o] Error 1
make[4]: Leaving directory `/home/claera/xserver/compilato/programs/xcursorgen'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/claera/xserver/compilato/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/claera/xserver/compilato'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/claera/xserver/compilato'
make: *** [World] Error 2

I've libpng on my linux-debian system


Thanks



____________________________________________________________
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
Scaricalo su INTERNET GRATIS 6X http://www.libero.it





More information about the xorg mailing list