i ve built the source successfully... copy the png.h file to the xcursorgen direcory... in the xcursorgen.c file change #include <png.h> to #include "png.h" now can anyone tell me how do i specify the target as MIPS.... in which file do i have to specify that i am gonna use the xc/config/cf/mips.cf ---------- Forwarded Message ---------- Subject: xfree86 For MIPS Date: Wednesday 13 October 2004 3:21 pm From: jithin <jithin@xxxxxxxxxxxxx> To: xfree86@xxxxxxxxxxx hi, i was trying to compile the Xfree86 4.4.0 to use with a MIPS based board. i have already build the tool chain for MIPS as target with gcc-3.2.1 binutils-2.15 gdb-6.2 newlib-1.12.0 i tried to make it with make World but i got the following error.. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -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 `/xfree86/xfree_tar/xc/programs/xcursorgen' make[3]: *** [all] Error 2 make[3]: Leaving directory `/xfree86/xfree_tar/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/xfree86/xfree_tar/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/xfree86/xfree_tar/xc' make: *** [World] Error 2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ so can u just walk me through the process of configuring and building the Xfree86 4.4.0 source to work for MIPS. Looking forward for immediate your reply. Regards Jithin Girish Design Engg, CG-CoreEl Programmables, B'lore, India. ------------------------------------------------------- _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86