[MPlayer-users] compile error (with gui)

Arpi arpi at thot.banki.hu
Sun Oct 21 19:23:01 CEST 2001


Hi,

include the whole output of make (after make distclean!), and config.h
config.mak files.

> Hello,
> 
> I'm new in this list, so sorry if i ask stupid or old questions.
> First I have to say that mplayer is my favorite player (for dvd 
> too). Great Work!!
> I use the newest Debian (sid) with kernel 2.4.12 and XFree86 4.1.0.1.
> When I try to compile mplayer with gui support (--with-new-gui) it
> always fails with the following error message:
> 
> gcc -c -O6 -march=i686 -mcpu=i686 -ffast-math -fexpensive-optimizations -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fomit-frame-pointer  -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -Wall -malign-double -I. -I../event -I../wm -I../skin -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DDEBUG -o widgets.o widgets.c
> In file included from widgets.c:18:
> psignal.h:45: warning: #warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too?
> In file included from widgets.c:55:
> gtk/mb.h: In function `create_MessageBox':
> gtk/mb.h:111: warning: assignment from incompatible pointer type
> gtk/mb.h:112: warning: passing arg 1 of `gtk_pixmap_new' from incompatible pointer type
> gtk/mb.h:113: warning: assignment from incompatible pointer type
> gtk/mb.h:114: warning: passing arg 1 of `gtk_pixmap_new' from incompatible pointer type
> gtk/mb.h:36: warning: unused variable `pixmap1'
> In file included from widgets.c:56:
> gtk/about.h: In function `create_About':
> gtk/about.h:83: warning: assignment from incompatible pointer type
> gtk/about.h:84: warning: passing arg 1 of `gtk_pixmap_new' from incompatible pointer type
> widgets.c: In function `gtkDone':
> widgets.c:104: warning: unused variable `status'
> gcc -O6 -march=i686 -mcpu=i686 -ffast-math -fexpensive-optimizations -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fomit-frame-pointer  -Ilibmpdemux -Iloader -Ilibvo  -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -o mplayer mplayer.o -Llibmpdemux -lmpdemux cpudetect.o postproc/swscale.o postproc/postprocess.o mp_msg.o ac3-iec958.o find_sub.o dec_audio.o dec_video.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 spudec.o dll_init.o   -Lmp3lib -lMP3 -Llibac3 -lac3   -lm -ltermcap -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++  -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 -Llibvo -lvo  -L/usr/X11R6/lib -L/usr/local/lib -lGL -lggi -L/usr/lib -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -lXxf86vm -lvgagl -lvga -lpng -lz  -lnsl -laa -lvorbis -lm -lXinerama -ldvdread -Lencore -lencore -ldivxdecore opendivx/p!
!
> ostprocess.o -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 
> mplayer.o: In function `exit_player':
> mplayer.o(.text+0x1f7): undefined reference to `mplDone'
> mplayer.o: In function `main':
> mplayer.o(.text+0xcde): undefined reference to `EventHandling'
> mplayer.o(.text+0x1e77): undefined reference to `mplResizeToMovieSize'
> mplayer.o(.text+0x1e8d): undefined reference to `moviewidth'
> mplayer.o(.text+0x1e9a): undefined reference to `movieheight'
> mplayer.o(.text+0x2a88): undefined reference to `EventHandling'
> mplayer.o(.text+0x2c34): undefined reference to `EventHandling'
> mplayer.o(.text+0x2cca): undefined reference to `EventHandling'
> mplayer.o(.text+0x34c3): undefined reference to `EventHandling'
> mplayer.o: In function `uninit_player':
> mplayer.o(.text+0x47d5): undefined reference to `mplDone'
> mplayer.o(.data+0x113c): undefined reference to `skinName'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
> 
> Standard compiling works fine (it always did). 
> Does anyone had this error too? What did I make wrong? Any idea 
> or solution?
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 
> 


A'rpi / Astral & ESP-team

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



More information about the MPlayer-users mailing list