Re: xfree86 For MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi,
I was trying to compile the Xfree86 4.4.0 to use with a MIPS based
board.Have already built the tool chain for MIPS as target with
> gcc-3.2.1
> binutils-2.15
> gdb-6.2
> newlib-1.12.0
>
> When I  tried to make it with make World Ii got the following error..

> xcursorgen.c:35:17: png.h: No such file or directory
Log File attached.Can anyone explain me why this is so...?
Please send  me a copy of this file.
Regards
visala

> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> -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


_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux