have a compile problem

Net Llama! netllama
Mon May 17 11:34:40 PDT 2004


On Wed, 10 Jul 2002, Keith Antoine wrote:
> Ok, I said that I would do Avifile first but something happened so as botht
> it and Mjpegtools compiled at last. I did a 'autogen.sh' , the result said
> not to use Automake 1.6 which I was. I downloaded 1.5 and did a make clean
> 'bingo' it worked and so did Mjpegtools. However Linuxvideostudio and MPLayer
> have make problems still. Seeing that they are relatively small errors I am
> including both here. I will see if ImageMagick now compiles later on.
>
> studio:
>  -L/usr/X11R6/lib -lXv -lpng -ljpeg
> /usr/lib/libpng.a(png.o): In function `png_reset_crc':
> png.o(.text+0x180): undefined reference to `crc32'
> /usr/lib/libpng.a(png.o): In function `png_calculate_crc':
> png.o(.text+0x1e6): undefined reference to `crc32'
> /usr/lib/libpng.a(png.o): In function `png_reset_zstream':
> png.o(.text+0x953): undefined reference to `inflateReset'
> /usr/lib/libpng.a(pngwrite.o): In function `png_write_flush':
> pngwrite.o(.text+0xc12): undefined reference to `deflate'
> /usr/lib/libpng.a(pngwrite.o): In function `png_write_destroy':
> pngwrite.o(.text+0xda1): undefined reference to `deflateEnd'
> /usr/lib/libpng.a(pngwutil.o): In function `png_text_compress':
> pngwutil.o(.text+0x28a): undefined reference to `deflate'
> pngwutil.o(.text+0x3aa): undefined reference to `deflate'
> /usr/lib/libpng.a(pngwutil.o): In function `png_write_compressed_data_out':
> pngwutil.o(.text+0x5b9): undefined reference to `deflateReset'
> /usr/lib/libpng.a(pngwutil.o): In function `png_write_IHDR':
> pngwutil.o(.text+0x8c8): undefined reference to `deflateInit2_'
> /usr/lib/libpng.a(pngwutil.o): In function `png_write_finish_row':
> pngwutil.o(.text+0x2117): undefined reference to `deflate'
> pngwutil.o(.text+0x21b6): undefined reference to `deflateReset'
> /usr/lib/libpng.a(pngwutil.o): In function `png_write_filtered_row':
> pngwutil.o(.text+0x3071): undefined reference to `deflate'
> make[2]: *** [stv] Error 1
> make[2]: Leaving directory `/build/linuxvideostudio-0.1.5/src'

Perhaps you need to use a newer version of libpng?  What was your
configure line?

> Mplayer:
>  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread     -Lvidix -lvidix
> libmpdemux/libmpdemux.a(demux_ogg.o): In function `demux_ogg_read_packet':
> demux_ogg.o(.text+0x5e): undefined reference to `vorbis_packet_blocksize'
> make: *** [mplayer] Error 1

Do you need/want ogg/vorbis support for Mplayer?  That's what is causing
this mess, and it might just be easier to ax it.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com




More information about the Linux-users mailing list