Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TVHeadend] Issue with cross-compiling 3.9~gitb2d015 #1247

Closed
m4tt075 opened this issue Sep 19, 2014 · 1 comment
Closed

[TVHeadend] Issue with cross-compiling 3.9~gitb2d015 #1247

m4tt075 opened this issue Sep 19, 2014 · 1 comment

Comments

@m4tt075
Copy link
Contributor

m4tt075 commented Sep 19, 2014

Hi guys,

Have been trying to cross-compile the latest tvh backend for my Syno NAS with the spksrc package in a Debian i386 VirtualBox. I have adapted the makefiles. The compilation seems to work but breaks after a couple of minutes. Here the output (of a re-compilation actually):

cd spk/tvheadend/ && env make
make[1]: Entering directory /home/walter/spksrc/spk/tvheadend' ===> Processing dependencies of tvheadend make[2]: Entering directory/home/walter/spksrc/cross/busybox'
make[2]: Für das Ziel »default« ist nichts zu tun.
make[2]: Leaving directory /home/walter/spksrc/cross/busybox' make[2]: Entering directory/home/walter/spksrc/cross/tvheadend'
===> Patching for tvheadend
patch -p0 < patches/atomic32.patch
patching file configure
Hunk #1 succeeded at 118 (offset 64 lines).
patching file src/atomic.h
patch -p0 < patches/iov-max.patch
patching file src/dvr/dvr_db.c
Hunk #1 FAILED at 958.
1 out of 1 hunk FAILED -- saving rejects to file src/dvr/dvr_db.c.rej
make[2]: Leaving directory /home/walter/spksrc/cross/tvheadend' make[1]: Leaving directory/home/walter/spksrc/spk/tvheadend'

Not sure what the problem is (likely just me sitting in front of the keyboard), but any advice appreciated...

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Sep 22, 2014

With the later version of tvheadend, it looks like changes have been made to the file src/dvr/dvr_db.c: it is different from what is expected by the patch file iov-max.patch, so the patch can't be applied.

Either the patch is no longer needed, and you can remove it, or, the patch is still needed, but in a different location in the file.

@Dr-Bean Dr-Bean closed this as completed Oct 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants