Compilation error regarding xine

Ian Monroe ian at monroe.nu
Sun Jul 2 13:26:56 UTC 2006


Could you run xine-config --version and figure out what Xine you are
in-fact running? I just downloaded and checked, 1.1.1 has
#define XINE_META_INFO_TRACK_NUMBER        11

Also double check that the xine-lib package owns your xine.h if its
possible to do that with your distro.

Thanks,
Ian

On 7/2/06, Clarence Dang <dang at kde.org> wrote:
> [resend to right address]
>
> ----------  Forwarded Message  ----------
>
> Subject: Compilation error regarding xine
> Date: Sunday 02 July 2006 23:09
> From: Clarence Dang <dang at kde.org>
> To: amarok-devel at lists.sourceforge.net
>
> trunk/extragear/multimedia/amarok at 557021
>
> probably xine-lib-1.1.1.  xine.h shows:
> ~~~~
>  * $Id: xine.h.in,v 1.122 2004/06/05 16:06:12 jcdutton Exp $
> [...]
> /* xine_get_meta_info */
> #define XINE_META_INFO_TITLE               0
> #define XINE_META_INFO_COMMENT             1
> #define XINE_META_INFO_ARTIST              2
> #define XINE_META_INFO_GENRE               3
> #define XINE_META_INFO_ALBUM               4
> #define XINE_META_INFO_YEAR                5
> #define XINE_META_INFO_VIDEOCODEC          6
> #define XINE_META_INFO_AUDIOCODEC          7
> #define XINE_META_INFO_SYSTEMLAYER         8
> #define XINE_META_INFO_INPUT_PLUGIN        9
> #define XINE_META_INFO_CDINDEX_DISCID      10
>
>
> /*********************************************************************
>  * plugin management / autoplay / mrl browsing                       *
>  *********************************************************************/
> ~~~~
>
> I'd prefer not to update xine if possible out of laziness.
>
> Compilation Errors:
>
> ~~~~
> compiling
>  /home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src/en
> gine/xine/xine-engine.cpp g++ -DHAVE_CONFIG_H -I./amarok/src/engine/xine
> -I/home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src/e
> ngine/xine -I.
> -I/home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src
> -I/home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src/a
> marokcore -I./amarok/src/amarokcore -I/usr/local/include -I/usr/include/kde
> -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
> -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG
> -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -fPIC -DPIC
> -c
>  /home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src/en
> gine/xine/xine-engine.cpp -o ./amarok/src/engine/xine/.libs/xine-engine.o
> -Wp,-MD,./amarok/src/engine/xine/.deps/xine-engine.TUlo
> /home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src/eng
> ine/xine/xine-engine.cpp: In member function 'Engine::SimpleMetaBundle
>  XineEngine::fetchMetaData() const':
> /home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src/eng
> ine/xine/xine-engine.cpp:946: error: 'XINE_META_INFO_TRACK_NUMBER' was not
>  declared in this scope
> /home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src/eng
> ine/xine/xine-engine.cpp: In member function 'virtual bool
>  XineEngine::metaDataForUrl(const KURL&, Engine::SimpleMetaBundle&)':
> /home/kdevel/tuxsvn/branches/KDE/3.5/_built_by_root/multimedia/amarok/src/eng
> ine/xine/xine-engine.cpp:1111: error: 'XINE_META_INFO_TRACK_NUMBER' was not
>  declared in this scope
> Error creating ./amarok/src/engine/xine/xine-engine.lo. Exit status 1.
> ~~~~
>
> Please CC me on replies, otherwise I will never see the message.
>
> Thanks,
> Clarence
>
> -------------------------------------------------------
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>



More information about the Amarok mailing list