Re: Compilation failure

[email protected] (Piotr Kopszak) Mon, 19 Jan 2004 11:13:57 +0100
Newsgroups gmane.comp.web.ming.general
Message-ID <20040119101357.GA2019@mpdebian>
--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dnia Fri, Jan 16, 2004 at 10:55:09AM -0500, Pan(i) David Marceau by=C5=82=
(a) =C5=82askaw(a) napisa=C4=87:

> Being that you're using debian, do the following:
> 1)go to the directory where you cvs co ming
> 2)emacs -nw
> 3)alt-x shell
> 4)make
> All the results and all the errors will show up in this buffer.
> 5)ctrl-x ctrl-w
> This asks where to save this buffer's contents.
> Call it mingbuild.txt
> 6)ctrl-x ctrl-c
> This exits emacs.
>=20
> >From there, you should be able to send the results=20
> to this mailing list.
>=20
> BTW I use emacs as my programmer's editor.  What are you using as your
> programmer's editor in debian?  (vi?)
>=20
> Don't give up.
>=20
> Nazdroya,(cheers,)
> David Marceau

It's funny but I am using emacs for almost everything I do and vi only
occasionally now. But  I'm not a programmer, so  I hope you'll forgive
me my ignorance :) Anyway, here  are the files I have edited according
to instructions in INSTALL file (maybe that's wrong, but I didn't know
exactly how to  edit them) and the outcome of  my compilation. I would
be very grateful for any help.=20

Piotr

--=20
   Piotr Kopszak, Ph.D.         =20
   Polish Art Gallery, National Museum in Warsaw   =20
   ----------------------------->    http://kopszak.mnw.art.pl/=20




--BOKacYhQ+x31HxR3
Content-Type: text/x-chdr; charset=us-ascii
Content-Disposition: attachment; filename="ming_config.h"

#define USE_ZLIB 1
#define USE_GIF 0
#define USE_PNG 1

#if USE_GIF
#undef USE_ZLIB
#define USE_ZLIB 1
#endif

#if USE_PNG
#undef USE_ZLIB
#define USE_ZLIB 1
#endif

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="config.make"

# set to your choice of png and / or gif formats
EXTRA_OBJS = pngdbl.o

# zlib required for both image formats and for compressed swf6
LIBS = -lz -lungif -lpng12

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mingbuild.txt"

kopszak@mpdebian ~/kosz/ming/ming >make
make -C src dynamic
make[1]: Entering directory `/mnt/old/kosz/ming/ming/src'
gcc -g -Wall -I.      -c -o blocklist.o blocklist.c
gcc -g -Wall -I.      -c -o displaylist.o displaylist.c
gcc -g -Wall -I.      -c -o fill.o fill.c
gcc -g -Wall -I.      -c -o font_util.o font_util.c
gcc -g -Wall -I.      -c -o ming.o ming.c
gcc -g -Wall -I.      -c -o movie.o movie.c
gcc -g -Wall -I.      -c -o movieclip.o movieclip.c
gcc -g -Wall -I.      -c -o position.o position.c
gcc -g -Wall -I.      -c -o shape_cubic.o shape_cubic.c
gcc -g -Wall -I.      -c -o shape_util.o shape_util.c
gcc -g -Wall -I.      -c -o text_util.o text_util.c
cd blocks && make
make[2]: Entering directory `/mnt/old/kosz/ming/ming/src/blocks'
gcc -g -Wall -I. -I..    -c -o action.o action.c
gcc -g -Wall -I. -I..    -c -o bitmap.o bitmap.c
gcc -g -Wall -I. -I..    -c -o block.o block.c
gcc -g -Wall -I. -I..    -c -o browserfont.o browserfont.c
gcc -g -Wall -I. -I..    -c -o button.o button.c
gcc -g -Wall -I. -I..    -c -o character.o character.c
gcc -g -Wall -I. -I..    -c -o cxform.o cxform.c
gcc -g -Wall -I. -I..    -c -o dbl.o dbl.c
gcc -g -Wall -I. -I..    -c -o error.o error.c
gcc -g -Wall -I. -I..    -c -o fillstyle.o fillstyle.c
gcc -g -Wall -I. -I..    -c -o font.o font.c
gcc -g -Wall -I. -I..    -c -o fontinfo.o fontinfo.c
gcc -g -Wall -I. -I..    -c -o gradient.o gradient.c
gcc -g -Wall -I. -I..    -c -o imports.o imports.c
gcc -g -Wall -I. -I..    -c -o input.o input.c
gcc -g -Wall -I. -I..    -c -o jpeg.o jpeg.c
gcc -g -Wall -I. -I..    -c -o linestyle.o linestyle.c
gcc -g -Wall -I. -I..    -c -o matrix.o matrix.c
gcc -g -Wall -I. -I..    -c -o method.o method.c
gcc -g -Wall -I. -I..    -c -o morph.o morph.c
gcc -g -Wall -I. -I..    -c -o mp3.o mp3.c
gcc -g -Wall -I. -I..    -c -o output.o output.c
gcc -g -Wall -I. -I..    -c -o outputblock.o outputblock.c
gcc -g -Wall -I. -I..    -c -o placeobject.o placeobject.c
gcc -g -Wall -I. -I..    -c -o rect.o rect.c
gcc -g -Wall -I. -I..    -c -o shape.o shape.c
gcc -g -Wall -I. -I..    -c -o sound.o sound.c
gcc -g -Wall -I. -I..    -c -o soundinstance.o soundinstance.c
gcc -g -Wall -I. -I..    -c -o soundstream.o soundstream.c
gcc -g -Wall -I. -I..    -c -o sprite.o sprite.c
gcc -g -Wall -I. -I..    -c -o text.o text.c
gcc -g -Wall -I. -I..    -c -o textfield.o textfield.c
gcc -g -Wall -I. -I..    -c -o utf8.o utf8.c
gcc -g -Wall -I. -I..    -c -o videostream.o videostream.c
gcc -g -Wall -I. -I..    -c -o pngdbl.o pngdbl.c
pngdbl.c:7:17: png.h: No such file or directory
pngdbl.c:17: error: parse error before "png_uint_32"
pngdbl.c:17: warning: no semicolon at end of struct or union
pngdbl.c:18: warning: type defaults to `int' in declaration of `height'
pngdbl.c:18: warning: data definition has no type or storage class
pngdbl.c:23: error: parse error before "palette"
pngdbl.c:23: warning: type defaults to `int' in declaration of `palette'
pngdbl.c:23: warning: data definition has no type or storage class
pngdbl.c:25: error: parse error before '}' token
pngdbl.c:30: error: parse error before "openPngFromFile"
pngdbl.c:31: warning: return type defaults to `int'
pngdbl.c: In function `openPngFromFile':
pngdbl.c:32: error: `png_structp' undeclared (first use in this function)
pngdbl.c:32: error: (Each undeclared identifier is reported only once
pngdbl.c:32: error: for each function it appears in.)
pngdbl.c:32: error: parse error before "result"
pngdbl.c:35: warning: return makes integer from pointer without a cast
pngdbl.c:36: warning: implicit declaration of function `png_check_sig'
pngdbl.c:37: warning: return makes integer from pointer without a cast
pngdbl.c:38: error: `result' undeclared (first use in this function)
pngdbl.c:38: warning: implicit declaration of function `png_create_read_struct'
pngdbl.c:38: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
pngdbl.c:40: warning: return makes integer from pointer without a cast
pngdbl.c:41: warning: implicit declaration of function `png_init_io'
pngdbl.c: At top level:
pngdbl.c:45: error: parse error before "png"
pngdbl.c: In function `pngReadFunc':
pngdbl.c:46: error: `png' undeclared (first use in this function)
pngdbl.c:47: error: `buf' undeclared (first use in this function)
pngdbl.c:47: error: `len' undeclared (first use in this function)
pngdbl.c: At top level:
pngdbl.c:50: error: parse error before "openPngFromInput"
pngdbl.c:51: warning: return type defaults to `int'
pngdbl.c: In function `openPngFromInput':
pngdbl.c:52: error: `png_structp' undeclared (first use in this function)
pngdbl.c:52: error: parse error before "result"
pngdbl.c:55: warning: return makes integer from pointer without a cast
pngdbl.c:57: warning: return makes integer from pointer without a cast
pngdbl.c:58: error: `result' undeclared (first use in this function)
pngdbl.c:58: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
pngdbl.c:60: warning: return makes integer from pointer without a cast
pngdbl.c:61: warning: implicit declaration of function `png_set_read_fn'
pngdbl.c:61: error: `png_rw_ptr' undeclared (first use in this function)
pngdbl.c:61: error: parse error before "pngReadFunc"
pngdbl.c: At top level:
pngdbl.c:67: error: parameter `png' has incomplete type
pngdbl.c: In function `alignedcopy':
pngdbl.c:79: warning: implicit declaration of function `memcpy'
pngdbl.c: At top level:
pngdbl.c:85: error: parse error before "png_ptr"
pngdbl.c: In function `readPNG':
pngdbl.c:87: error: storage size of `png' isn't known
pngdbl.c:90: error: `png_infop' undeclared (first use in this function)
pngdbl.c:90: error: parse error before "info_ptr"
pngdbl.c:91: error: `png_bytep' undeclared (first use in this function)
pngdbl.c:91: error: `row_pointers' undeclared (first use in this function)
pngdbl.c:96: error: `info_ptr' undeclared (first use in this function)
pngdbl.c:96: warning: implicit declaration of function `png_create_info_struct'
pngdbl.c:96: error: `png_ptr' undeclared (first use in this function)
pngdbl.c:100: warning: implicit declaration of function `png_destroy_read_struct'
pngdbl.c:100: error: `png_infopp' undeclared (first use in this function)
pngdbl.c:104: error: `end_info' undeclared (first use in this function)
pngdbl.c:112: warning: implicit declaration of function `setjmp'
pngdbl.c:118: warning: implicit declaration of function `png_set_sig_bytes'
pngdbl.c:119: warning: implicit declaration of function `png_read_info'
pngdbl.c:121: warning: implicit declaration of function `png_get_IHDR'
pngdbl.c:132: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
pngdbl.c:137: warning: implicit declaration of function `png_get_PLTE'
pngdbl.c:145: warning: implicit declaration of function `png_set_packing'
pngdbl.c:147: warning: implicit declaration of function `png_get_valid'
pngdbl.c:147: error: `PNG_INFO_tRNS' undeclared (first use in this function)
pngdbl.c:148: warning: implicit declaration of function `png_set_expand'
pngdbl.c:155: warning: implicit declaration of function `png_set_strip_16'
pngdbl.c:158: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function)
pngdbl.c:163: warning: implicit declaration of function `png_set_gray_to_rgb'
pngdbl.c:166: error: `PNG_COLOR_TYPE_RGB' undeclared (first use in this function)
pngdbl.c:171: warning: implicit declaration of function `png_set_filler'
pngdbl.c:171: error: `PNG_FILLER_AFTER' undeclared (first use in this function)
pngdbl.c:176: warning: implicit declaration of function `png_read_update_info'
pngdbl.c:182: error: `result' undeclared (first use in this function)
pngdbl.c:185: warning: implicit declaration of function `png_get_channels'
pngdbl.c:188: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function)
pngdbl.c:200: error: `png_color' undeclared (first use in this function)
pngdbl.c:200: error: parse error before ')' token
pngdbl.c:209: error: parse error before ')' token
pngdbl.c:210: warning: implicit declaration of function `png_get_rowbytes'
pngdbl.c:217: warning: implicit declaration of function `png_read_image'
pngdbl.c:219: error: `PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
pngdbl.c:87: warning: unused variable `png'
pngdbl.c: In function `newSWFDBLBitmapData_fromPngFile':
pngdbl.c:294: error: `png_structp' undeclared (first use in this function)
pngdbl.c:294: error: parse error before "png_ptr"
pngdbl.c:301: error: `png_ptr' undeclared (first use in this function)
pngdbl.c: In function `newSWFDBLBitmapData_fromPngInput':
pngdbl.c:315: error: `png_structp' undeclared (first use in this function)
pngdbl.c:315: error: parse error before "png_ptr"
pngdbl.c:319: error: `png_ptr' undeclared (first use in this function)
pngdbl.c: At top level:
pngdbl.c:46: warning: `pngReadFunc' defined but not used
make[2]: *** [pngdbl.o] Error 1
make[2]: Leaving directory `/mnt/old/kosz/ming/ming/src/blocks'
make[1]: *** [dynamic] Error 2
make[1]: Leaving directory `/mnt/old/kosz/ming/ming/src'
make: *** [dynamic] Error 2
kopszak@mpdebian ~/kosz/ming/ming >
--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ming-fun mailing list
[email protected]
http://www.opaque.net/mailman/listinfo/ming-fun

--BOKacYhQ+x31HxR3--