problem building X11.R6.8.2
Mike A. Harris
mharris at www.linux.org.uk
Sun May 8 00:58:10 PDT 2005
c.laera at inwind.it wrote:
> 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
[SNIP]
> 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
In order to compile anything, you not only need the libraries it is
going to try to link to, but you also need the development headers
and .so symlinks for all of the libraries it links to. This is done
by installing the -devel packages for all libraries that are used.
HTH
More information about the xorg
mailing list