Kodi Community Forum
Linux not able to compile due to library mising for AESSinkOSS - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux not able to compile due to library mising for AESSinkOSS (/showthread.php?tid=293411)



not able to compile due to library mising for AESSinkOSS - PsyFlux - 2016-10-09

Hey kodi fans,

since one year and I think it was from a jump from version 15 to 16, I'm able to compile the kodi sources where I'm playing with it since Dharma. I was searching from time to time here and through google but I cant figure out what to do. I'm getting always the same compile error:

Sinks/AESinkOSS.cpp:482:36: error: ‘AE_FMT_AC3’ was not declared in this scope
info.m_dataFormats.push_back(AE_FMT_AC3);

which tells me that I'm missing library with specific header file or have broken dependency on my computer. I've tried it at another debian/testing machine (clean install) and I'm getting the same troubles. Can anyone point me few steps to solve this issue?

Few facts that I've collected:
Target is debian/testing system with Kernel 4.7.0-1-amd64
All packages from README.linux are installed.
./bootstrap
./configure runs without errors

Config.log: http://pastebin.com/Nz0pSpYJ
make log: http://pastebin.com/1dyPZwTi

I'd appreciate your help and your time. Thanks a lot in advance.

Electronic handshakes


RE: not able to compile due to library mising for AESSinkOSS - stefansaraev - 2016-10-09

most likely you have some oss4-* packages installed.

do you have /etc/oss.conf and what's its content ?

EDIT: do apt-get --purge remove oss4-dev oss4-bsae


RE: not able to compile due to library mising for AESSinkOSS - fritsch - 2016-10-09

I will fix that compilation error though :-) nobody uses OSS: https://github.com/xbmc/xbmc/pull/10670


RE: not able to compile due to library mising for AESSinkOSS - stefansaraev - 2016-10-09

thanks @fritsch

I think oss sink should be *bsd specific, and only alsa allowed (and compiled in) on linux. but that for v18 after cmake move Wink


RE: not able to compile due to library mising for AESSinkOSS - fritsch - 2016-10-09

In theory it's usable on linux too.


RE: not able to compile due to library mising for AESSinkOSS - PsyFlux - 2016-10-10

Hej, thanks a lot for such fast response :-)

I was thinking in way of adding missed parts instead of removing some.

The /etc/oss.conf was not there but I've purged the oss4-dev package and the compile progress was ok.

Electronic handshakes


RE: not able to compile due to library mising for AESSinkOSS - stefansaraev - 2016-10-10

yep. on debian (and perhaps ubuntu, too!) oss4-dev replaces /usr/include/linux/soundcard.h (part of linux-libc-dev) with it's own header, where SNDCTL_SYSINFO and SNDCTL_CARDINFO are defined.

AESinkOSS should be *bsd specific, on linux it may have side effects (even if it compiled just fine) at runtime when doing native build and oss4-dev is installed...