Unable to build trunk since rev 35342
#1
Since revision 35342 I have been unable to build the trunk on my Apple TV running Ubuntu Hardy. The error is caused by a change to the file xbmc/cores/AudioRenderers/ALSADirectSound.cpp where line 350 has been changed from

'snd_pcm_sframes_t avail = snd_pcm_avail_update(m_pPlayHandle);'

to

'snd_pcm_sframes_t avail = snd_pcm_avail(m_pPlayHandle);'

Look here: http://trac.xbmc.org/changeset/35342/tru...tSound.cpp

Which results in the following error:

ALSADirectSound.cpp: In member function ‘virtual bool CALSADirectSound:Tongueause()’:
ALSADirectSound.cpp:350: error: ‘snd_pcm_avail’ was not declared in this scope
make[1]: *** [ALSADirectSound.o] Error 1
make[1]: Leaving directory `/home/atv/dev/trunk-2010-11-23/xbmc/cores/AudioRenderers'
make: *** [xbmc/cores/AudioRenderers/audiorenderers.a] Error 2

Oh, what to do, what to do? -- the Linux noob asks politely...
Reply
#2
EDIT: I reread your post and my comment was idiotic. I changed it back and the compilation of the module went right through. Debian PPC on a Mac Mini.
Reply
#3
I am having the exact same problem on Debian Lenny. Any help in resolving the issue would be greatly appreciated.

Edit: Revision: 35503
Reply
#4
felplacerad Wrote:I am having the exact same problem on Debian Lenny. Any help in resolving the issue would be greatly appreciated.

Edit: Revision: 35503

See my reply above. I reversed the change made to the source code and the compilation finished without any further errors. I tried to play a video from YouTube and the whole thing crashed. Unknown if related to this issue or not. I am running Debian Lenny PPC with debian-multimedia.org loaded as a repo.
Reply
#5
EasternPA Wrote:See my reply above. I reversed the change made to the source code and the compilation finished without any further errors. I tried to play a video from YouTube and the whole thing crashed. Unknown if related to this issue or not. I am running Debian Lenny PPC with debian-multimedia.org loaded as a repo.

I checked out a previous version and will give that a whirl as soon as it's done configuring.

On another note, would you mind explaining to me exactly how you got the debian-multimedia repo working?

I've installed the keyring, added the repo to my sources (and updated):
Quote:deb http://www.backports.org/debian lenny-backports main contrib non-free

But I cant really comperehend what APT wants me to do:
Quote:sudo aptitude install xbmc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
libavcodec52 libavformat52 libmysqlclient16 xbmc-bin
The following NEW packages will be installed:
libass4{a} libavutil50{a} libdirac-encoder0{a} libfaac0{a} libmng1{a} libmp3lame0{a} liboil0.3{a} libopencore-amrnb0{a} libopencore-amrwb0{a} libopenjpeg2{a}
libpostproc51{a} libqt3-mt{a} libschroedinger-1.0-0{a} libswscale0{a} libx264-104{a} libxvidcore4{a} python-qt3{a} python-sip4{a} ttf-liberation{a} xbmc xbmc-data{a}
xbmc-skin-confluence{a}
0 packages upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.1MB of archives. After unpacking 98.1MB will be used.
The following packages have unmet dependencies:
libmysqlclient16: Depends: mysql-common (>= 5.1.49-1~bpo50+1) but 5.0.51a-24+lenny4 is installed.
libavcodec52: Depends: libgsm1 (>= 1.0.13) but it is not installable
Depends: libtheora0 (>= 1.0) but it is not installable
Depends: libva1 which is a virtual package.
Depends: libvpx0 (>= 0.9.0-5) which is a virtual package.
xbmc-bin: Depends: libasound2 (> 1.0.18) but 1.0.16-2 is installed.
Depends: libcdio10 which is a virtual package.
Depends: libfaad2 which is a virtual package.
Depends: libfontconfig1 (>= 2.8.0) but 2.6.0-3 is installed.
Depends: libfribidi0 (>= 0.19.2) but 0.10.9-1 is installed.
Depends: libglew1.5 (>= 1.5.4) but 1.5.0dfsg1-3 is installed.
Depends: libjpeg62 (>= 6b1) but 6b-14 is installed.
Depends: libpcre3 (>= 7.7) but 7.6-2.1 is installed.
Depends: libpulse0 (>= 0.9.21) but 0.9.10-3+lenny2+b1 is installed.
Depends: libpython2.6 (>= 2.6) which is a virtual package.
Depends: libsdl-image1.2 (>= 1.2.10) but 1.2.6-3 is installed.
Depends: libsqlite3-0 (>= 3.7.3) but 3.5.9-6 is installed.
Depends: libssl0.9.8 (>= 0.9.8m-1) but 0.9.8g-15+lenny9 is installed.
Depends: libstdc++6 (>= 4.4.0) but 4.3.2-1.1 is installed.
libavformat52: Depends: librtmp0 (>= 2.3) which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
libavcodec52 [Not Installed]
libavformat52 [Not Installed]
libmysqlclient16 [Not Installed]
xbmc [Not Installed]
xbmc-bin [Not Installed]
xbmc-data [Not Installed]
xbmc-skin-confluence [Not Installed]

Score is -9827

Accept this solution? [Y/n/q/?]

If I continue (Y) nothing is installed.

Any ideas?
Reply
#6
First, my sources line looks like this

Code:
deb http://www.debian-multimedia.org stable main non-free

Also, once you pull down the svn version of xbmc, check out the README.ubuntu for the suggested apt-get install command. There are two or three that cannot be found with lenny, one being fp-command or something like that. Just try to execute the suggested command and see which packages are not found. Again, all my efforts resulted in an install and successful dashboard display, but I haven't played any videos yet and YouTube is a confirmed crash.

Lenny PPC on a G4 Mac Mini
Reply
#7
fixed in svn
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to build trunk since rev 353420