[Mplayer-users] Problem compiling GUI .50-pre2

Arpi arpi at thot.banki.hu
Fri Oct 5 01:56:32 CEST 2001


Hi,

install libpng (and maybe png-dev)

> Just running ./configure --enable-gui, and I get this error:
> 
> gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
> -Iloader -Ilibvo  -I/usr/local/include -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -o mplayer mplayer.o
> mp_msg.o open.o parse_es.o ac3-iec958.o find_sub.o aviprint.o dec_audio.o
> dec_video.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o
> demux_mpg.o demux_mov.o demuxer.o stream.o codec-cfg.o subreader.o
> linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o xa/rle8.o
> lirc_mp.o cfgparser.o mixer.o dvdauth.o spudec.o  dll_init.o   -Lmp3lib
> -lMP3 -Llibac3 -lac3 -lasound  -lm -ltermcap -Lloader -lloader
> -Lloader/DirectShow -lDS_Filter -lstdc++ -Llibavcodec -lavcodec -Llibmpeg2
> -lmpeg2 -Llibao2 -lao2 -Llibvo -lvo  -L/usr/X11R6/lib -L/usr/local/lib  
> -L/usr/lib -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm  -lpng
> -lz  -lnsl    -Lencore -lencore -Lopendivx -ldecore -LGui -lgui -L/usr/lib
> -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext
> -lX11 -lm -L/usr/lib -lglib -ldl -lpthread
> Gui/libgui.a(png.o): In function `pngLoadRawF':
> png.o(.text+0x4c): undefined reference to `png_create_read_struct'
> png.o(.text+0xa3): undefined reference to `png_read_info'
> png.o(.text+0xd2): undefined reference to `png_get_IHDR'
> png.o(.text+0xfe): undefined reference to `png_get_rowbytes'
> png.o(.text+0x155): undefined reference to `png_get_rowbytes'
> png.o(.text+0x175): undefined reference to `png_read_image'
> png.o(.text+0x1a0): undefined reference to `png_get_PLTE'
> png.o(.text+0x211): undefined reference to `png_read_end'
> png.o(.text+0x228): undefined reference to `png_destroy_read_struct'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
> 
> Compiles fine without --enable-gui. Anybody have any clues?
> 
> _______________________________________________
> Mplayer-users mailing list
> Mplayer-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mplayer-users
> 
> 


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list