xcursorgen links to libpng, so you need to have libpng installed
for the header files.

                        Mark.

On 23 Oct 2003, jassi  brar wrote:

> Hi all,
  i m trying to crosscompile XFree86(TinyX). Everything works fine but ... when 
compilation enters the xc/programs/xcursorgen dir it says png.h found nowhere!!! along 
with many errors.
 png.h is nowhere present in XFree86 source tree ...not even in the whole filesystem 
;)  
  Any help wud be greatly appreciated.
Thanx,
Jassi


.............. About 1MB of text ...... then.............
...........
make[4]: Entering directory 
`/home/jassi/project/XFree86/cvs/modules/CVS/xc/programs/xcursorgen'
/opt/host/armv4l/bin/armv4l-unknown-linux-gcc -pipe -O2 -g -fsigned-char     -I../.. 
-I../../exports/include   -Dlinux -D__arm32__ -D__arm__ -D_POSIX_SOURCE -D_BSD_SOURCE 
-D_GNU_SOURCE -DX_LOCALE  -DFUNCPROTO=15 -DNARROWPROTO       -c -o xcursorgen.o 
xcursorgen.c
xcursorgen.c:35: png.h: No such file or directory
xcursorgen.c:140: parse error before `png'
xcursorgen.c: In function `premultiply_data':
xcursorgen.c:144: `row_info' undeclared (first use in this function)
xcursorgen.c:144: (Each undeclared identifier is reported only once
xcursorgen.c:144: for each function it appears in.)
xcursorgen.c:146: `data' undeclared (first use in this function)
xcursorgen.c: In function `load_image':
xcursorgen.c:165: `png_structp' undeclared (first use in this function)
xcursorgen.c:165: parse error before `png'
xcursorgen.c:166: `png_infop' undeclared (first use in this function)
xcursorgen.c:167: `png_bytepp' undeclared (first use in this function)
xcursorgen.c:170: `png_uint_32' undeclared (first use in this function)
xcursorgen.c:170: parse error before `width'
xcursorgen.c:174: `png' undeclared (first use in this function)
xcursorgen.c:174: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
xcursorgen.c:178: `info' undeclared (first use in this function)
xcursorgen.c:212: `width' undeclared (first use in this function)
xcursorgen.c:212: `height' undeclared (first use in this function)
xcursorgen.c:217: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
xcursorgen.c:220: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function)
xcursorgen.c:223: `PNG_INFO_tRNS' undeclared (first use in this function)
xcursorgen.c:232: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function)
xcursorgen.c:235: `PNG_INTERLACE_NONE' undeclared (first use in this function)
xcursorgen.c:239: `PNG_FILLER_AFTER' undeclared (first use in this function)
xcursorgen.c:252: `rows' undeclared (first use in this function)
xcursorgen.c:252: `png_bytep' undeclared (first use in this function)
make[4]: *** [xcursorgen.o] Error 1
make[4]: Leaving directory 
`/home/jassi/project/XFree86/cvs/modules/CVS/xc/programs/xcursorgen'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/jassi/project/XFree86/cvs/modules/CVS/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jassi/project/XFree86/cvs/modules/CVS/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/jassi/project/XFree86/cvs/modules/CVS/xc'
make: *** [World] Error 2

###########  Can i do without this binary?  ###########

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to