Linux not able to compile due to library mising for AESSinkOSS
#1
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
Reply
#2
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
Reply
#3
I will fix that compilation error though :-) nobody uses OSS: https://github.com/xbmc/xbmc/pull/10670
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
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
Reply
#5
In theory it's usable on linux too.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
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
Reply
#7
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...
Reply

Logout Mark Read Team Forum Stats Members Help
not able to compile due to library mising for AESSinkOSS0