[MPlayer-cygwin] svn 21398 - (1) tries to call libcddb, (2) Win32 GUI does not build
John Brown
johnbrown105 at hotmail.com
Thu Nov 30 15:02:30 CET 2006
I am having various problems compiling svn 21398.
System: gcc-4.1.1, MSYS 1.0.11, Windows XP SP2.
1) MPlayer tries to call cddb functions, but I don't have libcddb.
./configure --prefix=/mingw --enable-static --enable-debug=3 --enable-menu
--cod
ecsdir=codecs > bugreport/configure.txt 2>&1
make -C osdep
make[1]: Entering directory `/c/progra~1/multimedia/mplayer/svn/osdep'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/progra~1/multimedia/mplayer/svn/osdep'
gcc -o mplayer.exe mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o
cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o
playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o
unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a
libao2/libao2.a input/libinput.a vidix/libvidix.a libmenu/libmenu.a
libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a
stream/stream.a libswscale/libswscale.a libvo/libosd.a
libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a
libpostproc/libpostproc.a loader/libloader.a mp3lib/libMP3.a liba52/liba52.a
libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a
libass/libass.a osdep/libosdep.a -lopengl32 -lgdi32 -L/mingw/lib -lcaca
-lwinmm -lgdi32 -lgdi32 -lwinmm -liconv -lpng -lz -ljpeg -lungif
-L/mingw/lib -ldvdnav libdvdcss/libdvdcss.a -lcdio_cdda -lcdio
-lcdio_paranoia -lwinmm -L/mingw/lib -lfreetype -lz -lfontconfig -lexpat
-lfreetype -lz -llzo -lmad -lspeex -I/mingw/include -L/mingw/lib -ltheora
-logg -ladvapi32 -lole32 /mingw/lib/live/liveMedia/libliveMedia.a
/mingw/lib/live/groupsock/libgroupsock.a
/mingw/lib/live/UsageEnvironment/libUsageEnvironment.a
/mingw/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
-lstdc++ -lws2_32 -static -lm
stream/stream.a(stream_cdda.o): In function `open_cdda':
c:/progra~1/multimedia/mplayer/svn/stream/stream_cdda.c:130: undefined
reference to `cdd_identify'
c:/progra~1/multimedia/mplayer/svn/stream/stream_cdda.c:131: undefined
reference to `cddb_resolve'
c:/progra~1/multimedia/mplayer/svn/stream/stream_cdda.c:133: undefined
reference to `cddb_parse_xmcd'
collect2: ld returned 1 exit status
make: *** [mplayer.exe] Error 1
For now, I comment out the "#ifdef MPLAYER_NETWORK ... #endif" and I can
build MPlayer without the Win32 GUI. libcddb latest release and CVS do not
compile on MingW/MSYS.
2) Win32 GUI does not compile.
./configure --prefix=/mingw --enable-static --enable-debug=3 --enable-menu
--ena
ble-gui --codecsdir=codecs > bugreport/configure.txt 2>&1
make[1]: Entering directory `/c/progra~1/multimedia/mplayer/svn/Gui'
gcc -c -I../loader -I./wm -I./skin -I. -I.. -Wdeclaration-after-statement -W
-Wall -Wno-unused-parameter -O2 -march=prescott -mtune=prescott -g3
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-I/mingw/include/ -I/mingw/include -I/mingw/include/dvdnav
-I/mingw/include/freetype2 -I/mingw/include
-I/mingw/lib/live/liveMedia/include
-I/mingw/lib/live/UsageEnvironment/include
-I/mingw/lib/live/BasicUsageEnvironment/include
-I/mingw/lib/live/groupsock/include -o win32/dialogs.o win32/dialogs.c
win32/dialogs.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
win32/dialogs.c: In function 'guiLoadSubtitle':
win32/dialogs.c:56: error: 'subdata' undeclared (first use in this function)
win32/dialogs.c:56: error: (Each undeclared identifier is reported only once
win32/dialogs.c:56: error: for each function it appears in.)
win32/dialogs.c:59: warning: implicit declaration of function 'sub_free'
win32/dialogs.c:61: error: 'vo_sub' undeclared (first use in this function)
win32/dialogs.c:62: error: 'vo_osd_list' undeclared (first use in this
function)
win32/dialogs.c:65: error: 'mp_osd_obj_t' undeclared (first use in this
function)
win32/dialogs.c:65: error: 'osd' undeclared (first use in this function)
win32/dialogs.c:68: error: 'OSDTYPE_SUBTITLE' undeclared (first use in this
function)
win32/dialogs.c:71: error: 'OSDFLAG_VISIBLE' undeclared (first use in this
function)
win32/dialogs.c:83: warning: implicit declaration of function
'sub_read_file'
make[1]: *** [win32/dialogs.o] Error 1
make[1]: Leaving directory `/c/progra~1/multimedia/mplayer/svn/Gui'
make: *** [Gui/libgui.a] Error 2
_________________________________________________________________
View Athletes Collections with Live Search
http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01
More information about the MPlayer-cygwin
mailing list