On Tue, 2002-10-22 at 04:15, Jeffrey Ross wrote: > I've tried unsuccessfully to compile the image in the CVS repository > (I last retrieved it on 10/21/02) on a RedHat 8.0 system. > > I have tried both the default gcc compiler (3.2) and gcc 2.96 with no > success. I have since upgraded the kernel to 2.4.19 and made symlinks > from /usr/src/linux/include/[linux,net,asm] to /usr/include still with > no success. Dont do this - Linus will shoot you. You should always use the kernel headers associated with glibc (package is kern-headers or something) > The make World appears to complete and then the make install fails, the > (output is attached) (if anybody is interested there is a complete copy of the > build at http://jr.bubble.org/history.out.gz) > > help, what am I doing wrong? > > oh, why am I trying the CVS image? simple I have an Intel 845 graphics > card which RH doesn't support. > > Thanks > > Jeff > > gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -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 Heres your problem you need to install libpng-devel (I am surprised make World worked actually) You may want to check for other missing devel packages > xcursorgen.c:128: parse error before "png" > xcursorgen.c:129: warning: function declaration isn't a prototype > xcursorgen.c: In function `premultiply_data': > xcursorgen.c:132: `row_info' undeclared (first use in this function) > xcursorgen.c:132: (Each undeclared identifier is reported only once > xcursorgen.c:132: for each function it appears in.) > xcursorgen.c:134: `data' undeclared (first use in this function) > xcursorgen.c: In function `load_image': > xcursorgen.c:146: `png_structp' undeclared (first use in this function) > xcursorgen.c:146: parse error before "png" > xcursorgen.c:147: `png_infop' undeclared (first use in this function) > xcursorgen.c:148: `png_bytepp' undeclared (first use in this function) > xcursorgen.c:151: `png_uint_32' undeclared (first use in this function) > xcursorgen.c:151: parse error before "width" > xcursorgen.c:154: `png' undeclared (first use in this function) > xcursorgen.c:154: warning: implicit declaration of function `png_create_read_struct' > xcursorgen.c:154: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function) > xcursorgen.c:158: `info' undeclared (first use in this function) > xcursorgen.c:158: warning: implicit declaration of function `png_create_info_struct' > xcursorgen.c:161: warning: implicit declaration of function `png_destroy_read_struct' > xcursorgen.c:165: warning: implicit declaration of function `setjmp' > xcursorgen.c:167: warning: redundant redeclaration of `png_destroy_read_struct' in same scope > xcursorgen.c:161: warning: previous declaration of `png_destroy_read_struct' > xcursorgen.c:174: warning: redundant redeclaration of `png_destroy_read_struct' in same scope > xcursorgen.c:161: warning: previous declaration of `png_destroy_read_struct' > xcursorgen.c:178: warning: implicit declaration of function `png_init_io' > xcursorgen.c:179: warning: implicit declaration of function `png_read_info' > xcursorgen.c:180: warning: implicit declaration of function `png_get_IHDR' > xcursorgen.c:180: `width' undeclared (first use in this function) > xcursorgen.c:180: `height' undeclared (first use in this function) > xcursorgen.c:185: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function) > xcursorgen.c:186: warning: implicit declaration of function `png_set_expand' > xcursorgen.c:188: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function) > xcursorgen.c:191: warning: implicit declaration of function `png_get_valid' > xcursorgen.c:191: `PNG_INFO_tRNS' undeclared (first use in this function) > xcursorgen.c:195: warning: implicit declaration of function `png_set_strip_16' > xcursorgen.c:198: warning: implicit declaration of function `png_set_packing' > xcursorgen.c:200: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function) > xcursorgen.c:201: warning: implicit declaration of function `png_set_gray_to_rgb' > xcursorgen.c:203: `PNG_INTERLACE_NONE' undeclared (first use in this function) > xcursorgen.c:204: warning: implicit declaration of function `png_set_interlace_handling' > xcursorgen.c:206: warning: implicit declaration of function `png_set_bgr' > xcursorgen.c:207: warning: implicit declaration of function `png_set_filler' > xcursorgen.c:207: `PNG_FILLER_AFTER' undeclared (first use in this function) > xcursorgen.c:209: warning: implicit declaration of function `png_set_read_user_transform_fn' > xcursorgen.c:211: warning: implicit declaration of function `png_read_update_info' > xcursorgen.c:219: `rows' undeclared (first use in this function) > xcursorgen.c:219: `png_bytep' undeclared (first use in this function) > xcursorgen.c:224: warning: implicit declaration of function `png_read_image' > xcursorgen.c:225: warning: implicit declaration of function `png_read_end' > xcursorgen.c:229: warning: redundant redeclaration of `png_destroy_read_struct' in same scope > xcursorgen.c:161: warning: previous declaration of `png_destroy_read_struct' > make[3]: *** [xcursorgen.o] Error 1 > make[3]: Leaving directory `/home/jeff/system/xfree/xc/programs/xcursorgen' > make[2]: *** [install] Error 2 > make[2]: Leaving directory `/home/jeff/system/xfree/xc/programs' > make[1]: *** [install] Error 2 > make[1]: Leaving directory `/home/jeff/system/xfree/xc' > make: *** [install] Error 2 > [root@wisdom2 xc]# > > _______________________________________________ > > Newbie@XFree86.Org > *** To unsubscribe , or change message options, see: > http://XFree86.Org/mailman/listinfo/newbie -- Linux, Gnome what more do you need http://www.redtux.demon.co.uk _______________________________________________ Newbie@XFree86.Org *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie