I have a problem.

Compile mono for mony opensuse versions, never use the build in one. to restricted.
But now am trying to compile gdilibplus so i can compile mono 3.2.5
Only gdilibplus is failing to compile and not seeing what am doing wrong.

the libgdiplus is comeing from the GIT repro. git clone https://github.com/mono/libgdiplus.git


---
Configuration summary

   * Installation prefix = /home/<user>/bin/mono3.2.5
   * Cairo = 1.6.4 (internal)
   * Text = cairo
   * EXIF tags = yes
   * Codecs supported:

      - TIFF: yes
      - JPEG: yes
      - GIF: yes
      - PNG: yes

      NOTE: if any of the above say 'no' you may install the
            corresponding development packages for them, rerun
            autogen.sh to include them in the build.

---
Now type `make' to compile


---------------------------------------------------


                     ^
In file included from gifcodec.c:38:0:
/usr/include/gif_lib.h:129:14: note: previous declaration of 'EGifOpen' was here
 GifFileType *EGifOpen(void *userPtr, OutputFunc writeFunc, int *Error);
              ^
gifcodec.c: In function 'AddExtensionBlockMono':
gifcodec.c:125:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  ep->Bytes = (char *)GdipAlloc(ep->ByteCount);
            ^
gifcodec.c:132:21: error: 'SavedImage' has no member named 'Function'
   ep->Function = New->Function;
                     ^
gifcodec.c: In function 'DGifSlurpMono':
gifcodec.c:235:45: error: 'SavedImage' has no member named 'Function'
if (DGifGetExtension(GifFile, &temp_save.Function, &ExtData) == GIF_ERROR) {
                                             ^
gifcodec.c:248:15: error: 'SavedImage' has no member named 'Function'
      temp_save.Function = 0;
               ^
gifcodec.c: In function 'gdip_load_gif_image':
gifcodec.c:307:3: error: too few arguments to function 'DGifOpen'
   gif = DGifOpen(stream, &gdip_gif_fileinputfunc);
   ^
In file included from gifcodec.c:38:0:
/usr/include/gif_lib.h:181:14: note: declared here
GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error); /* new one (TVT) */
              ^
gifcodec.c:309:3: error: too few arguments to function 'DGifOpen'
   gif = DGifOpen (stream, &gdip_gif_inputfunc);
   ^
In file included from gifcodec.c:38:0:
/usr/include/gif_lib.h:181:14: note: declared here
GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error); /* new one (TVT) */
              ^
gifcodec.c: In function 'gdip_save_gif_image':
gifcodec.c:664:3: error: too few arguments to function 'EGifOpenFileName'
   fp = EGifOpenFileName (stream, 0);
   ^
In file included from gifcodec.c:38:0:
/usr/include/gif_lib.h:126:14: note: declared here
 GifFileType *EGifOpenFileName(const char *GifFileName,
              ^
gifcodec.c:705:5: warning: implicit declaration of function 'MakeMapObject' [-Wimplicit-function-declaration]
     cmap = MakeMapObject(cmap_size, 0);
     ^
gifcodec.c:705:10: warning: assignment makes pointer from integer without a cast [enabled by default]
     cmap = MakeMapObject(cmap_size, 0);
          ^
gifcodec.c:796:11: warning: assignment makes pointer from integer without a cast [enabled by default]
     cmap  = MakeMapObject (cmap_size, 0);
           ^
gifcodec.c:827:5: warning: implicit declaration of function 'QuantizeBuffer' [-Wimplicit-function-declaration] if (QuantizeBuffer(bitmap_data->width, bitmap_data->height, &cmap_size,
     ^
gifcodec.c:833:4: warning: implicit declaration of function 'BitSize' [-Wimplicit-function-declaration]
    cmap->BitsPerPixel = BitSize (cmap_size);
    ^
gifcodec.c:851:7: warning: implicit declaration of function 'EGifPutExtensionFirst' [-Wimplicit-function-declaration] EGifPutExtensionFirst(fp, APPLICATION_EXT_FUNC_CODE, 11, "NETSCAPE2.0");
       ^
gifcodec.c:852:7: warning: implicit declaration of function 'EGifPutExtensionLast' [-Wimplicit-function-declaration]
       EGifPutExtensionLast(fp, APPLICATION_EXT_FUNC_CODE, 3, Buffer);
       ^
gifcodec.c:904:4: warning: implicit declaration of function 'FreeMapObject' [-Wimplicit-function-declaration]
    FreeMapObject (cmap);
    ^
make[2]: *** [gifcodec.lo] Error 1
make[2]: Leaving directory `/home/rrgrid/source/libgdiplus/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rrgrid/source/libgdiplus'
make: *** [all] Error 2



_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to