[MPlayer-advusers] Compilation failure with --enable-menu in current r22301

Andrew Savchenko Bircoph at list.ru
Wed Feb 21 16:01:51 CET 2007


When I try to compile r22301 with menu support, if failed with the 
following error:

./configure --enable-menu && make
...
cc  -I. -I.. -Wdeclaration-after-statement -O4 -march=athlon -mtune=athlon -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb -I/usr/X11R6/include -I/usr/include/  -I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -D_REENTRANT   -I/usr/include -I/usr/include/dvdnav -I/usr/include/cdda -I/usr/include/freetype2 -I/usr/include -I/usr/lib/live/liveMedia/include                   -I/usr/lib/live/UsageEnvironment/include                   -I/usr/lib/live/BasicUsageEnvironment/include                   -I/usr/lib/live/groupsock/include   -c -o menu_param.o menu_param.c
menu_param.c: In function 'entry_set_text':
menu_param.c:82: error: too few arguments to function 'm_property_print'
menu_param.c: In function 'read_cmd':
menu_param.c:230: error: too few arguments to function 'm_property_do'
menu_param.c:236: error: too few arguments to function 'm_property_do'
menu_param.c:242: error: too few arguments to function 'm_property_do'
menu_param.c:245: error: too few arguments to function 'm_property_do'
make[1]: *** [menu_param.o] Error 1
make[1]: Leaving directory `/home/andrew/src/mplayer/libmenu'

Without --enable-menu compilation is ok.

Regression test shows that error was introduced into r22298.
Patch probably should be reverted, as it brokes compilation: new argument 
in m_property_* functions was not added everywhere in the code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20070221/3737cb65/attachment.pgp>


More information about the MPlayer-advusers mailing list