[meta-freescale] (xbmc) compile error with imx-3.10.17-1.0.0_ga

Jens Rehsack rehsack at gmail.com
Fri Aug 8 05:39:34 PDT 2014


Hi,

as recommended, we tried to update our linux kernel to 3.10.17 - and we got compile errors in xbmc (and only there):

Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 18
| CPP     xbmc/cores/DllLoader/exports/emu_msvcrt.o
| CPP     xbmc/music/karaoke/GUIDialogKaraokeSongSelector.o
| CPP     xbmc/music/Album.o
| CPP     xbmc/cores/AudioEngine/Sinks/AESinkOSS.o
| In file included from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/fs.h:5:0,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/cdrom.h:13,
|                  from emu_msvcrt.cpp:45:
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory
|  #include <asm/linkage.h>
|                          ^
| compilation terminated.
| make[1]: *** [emu_msvcrt.o] Error 1
| make: *** [xbmc/cores/DllLoader/exports/exports.a] Error 2
| make: *** Waiting for unfinished jobs....
| CPP     xbmc/cores/AudioEngine/Utils/AEConvert.o
| CPP     xbmc/music/karaoke/GUIWindowKaraokeLyrics.o
| CPP     xbmc/music/karaoke/karaokelyrics.o
| CPP     xbmc/music/karaoke/karaokelyricscdg.o
| CPP     xbmc/interfaces/generic/LanguageInvokerThread.o
| CPP     xbmc/music/karaoke/karaokelyricsfactory.o
| In file included from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/uapi/linux/soundcard.h:188:0,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/soundcard.h:28,
|                  from Sinks/AESinkOSS.cpp:25:
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/patchkey.h:19:0: warning: "_PATCHKEY" redefined [enabled by default]
|  #    define _PATCHKEY(id) (0xfd00|id)
|  ^
| In file included from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/patchkey.h:16:0,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/uapi/linux/soundcard.h:188,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/soundcard.h:28,
|                  from Sinks/AESinkOSS.cpp:25:
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/uapi/linux/patchkey.h:30:0: note: this is the location of the previous definition
|  #    define _PATCHKEY(id) ((id<<8)|0x00fd)
|  ^
| In file included from Sinks/AESinkOSS.cpp:25:0:
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/soundcard.h:31:0: warning: "AFMT_S16_NE" redefined [enabled by default]
|  #    define AFMT_S16_NE AFMT_S16_BE
|  ^
| In file included from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/soundcard.h:28:0,
|                  from Sinks/AESinkOSS.cpp:25:
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/uapi/linux/soundcard.h:196:0: note: this is the location of the previous definition
|  #    define AFMT_S16_NE AFMT_S16_LE
|  ^
| CPP     xbmc/music/infoscanner/MusicAlbumInfo.o
| CPP     xbmc/interfaces/info/InfoBool.o
| CPP     xbmc/interfaces/AnnouncementManager.o
| CPP     xbmc/music/dialogs/GUIDialogMusicInfo.o
| CPP     xbmc/input/ButtonTranslator.o
| CPP     xbmc/listproviders/DirectoryProvider.o
| CPP     xbmc/filesystem/VideoDatabaseDirectory/DirectoryNode.o
| CPP     xbmc/interfaces/json-rpc/AddonsOperations.o
| In file included from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/include/linux/posix_types.h:4:0,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/uapi/linux/types.h:13,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/types.h:5,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/uapi/linux/byteorder/little_endian.h:11,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/byteorder/little_endian.h:4,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/include/asm/byteorder.h:21,
|                  from /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/soundcard.h:27,
|                  from Sinks/AESinkOSS.cpp:25:
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/stddef.h:11:2: error: expected identifier before 'false'
|   false = 0,
|   ^
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/stddef.h:11:2: error: expected '}' before 'false'
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/stddef.h:11:2: error: expected unqualified-id before 'false'
| /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/sysroots/mx6qcurie/usr/src/kernel/include/linux/stddef.h:13:1: error: expected declaration before '}' token
|  };
|  ^
| make[1]: *** [Sinks/AESinkOSS.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| CPP     xbmc/interfaces/json-rpc/ApplicationOperations.o
| CPP     xbmc/filesystem/AddonsDirectory.o
| CPP     xbmc/interfaces/info/InfoExpression.o
| CPP     xbmc/music/karaoke/karaokelyricsmanager.o
| CPP     xbmc/interfaces/generic/ScriptInvocationManager.o
| make: *** [xbmc/cores/AudioEngine/audioengine.a] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-release-bsp/wo-ist-das-voegelchen/tmp/work/mx6qcurie-poky-linux-gnueabi/xbmc/13-r1.1/temp/log.do_compile.4461)
ERROR: Task 533 (/home/sno/fsl-release-bsp/sources/meta-stef/recipes-stef/xbmc/xbmc_13.bb, do_compile) failed with exit code '1'

The 3.10.17 BSP is at https://github.com/rehsack/meta-jens/tree/master/recipes-kernel/linux and I'm using layers as shown in https://github.com/rehsack/fsl-community-bsp-platform

I wouldn't point to xbmc, because it would fail on other platforms with modern kernels, too - but a quick look into https://github.com/wolfgar/meta-stef/blob/dora/recipes-stef/xbmc/xbmc.inc might show up something I miss.

Any idea?

-- 
Jens Rehsack
rehsack at gmail.com







More information about the meta-freescale mailing list