• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 35
HOW-TO Compile Tvheadend & HDHomerun on Synology NAS
#31
(2013-02-19, 12:36)schumi2004 Wrote: @wabe

Are you getting the same error as me mentioned here?

undefined reference to `__sync_fetch_and_add_4'

No, still stuck at fulfilling the avahi-client requirement. While trying I have found out that avahi-0.6.31 needs to be patched in order to compile
Update: Managed to build w/o errors using avahi-0.6.30. Haven' t checked if it actually may be installed and run yet though
Reply
#32
Mmmm i tried to compile it from scratch but it doesn't seem to work anymore

DS211> export CC=gcc
DS211> bash configure \
> --host=armle-unknown-linux \
> --target=armle-unknown-linux \
> --build=i686-pc-linux \
> --disable-avahi \
> --release \
> --openssl=/opt/lib \
> --prefix=/opt/tvheadend
Checking support/features
ERROR: No C compiler found
DS211>

DS211> gcc --version
gcc (GCC) 4.2.3
Copyright © 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Any help?
Reply
#33
(2013-03-19, 00:59)schumi2004 Wrote: Mmmm i tried to compile it from scratch but it doesn't seem to work anymore

Any help?

The trunk tvheadend still compiles with gcc4.2.3. The issue is that the configure script cant find gcc and/or build a basic program with it.

Two things to try:

1. set CC to the full path to gcc, like this (for example):
Code:
export CC=/usr/bin/gcc
the path can usually be found by running this command:
Code:
which gcc
Afterwards, try running your configure command again.
2. Try compiling a sample program with gcc and see if it works. You can use this:

Code:
// save as "hello.c" and run this command:
// gcc hello.c
int main() {
  return 0;
}

If it doesn't compile paste the error output in here.
Reply
#34
@acmyo

Thanks for the tips. I'll try them later today.

Edit:
Still no luck

DS211> which gcc
/opt/bin/gcc

DS211> export CC=/opt/bin/gcc
....
> --prefix=/opt/tvheadend
Checking support/features
ERROR: No C compiler found

DS211> vi hello.c

// save as "hello.c" and run this command:
// gcc hello.c
int main() {
return 0;
}
~

DS211> gcc hello.c
DS211>

Edit2: Not sure what happend but my problem has resolved itself.
Edit3: Maybe not, running it for the second time gives me the same message again. Huh
Reply
#35
anyone using this with openelec?
Reply
#36
Any news on compiling a newer tvheadend version using spksrc? tried the whole day but it won't work… :-(
Reply
#37
Hello,

Iám trying to compile tvheadend on my armbased qnap but when i enter the make function i get the following error :

cc1: warnings being treated as errors
src/tvhtime.c: In function 'tvhtime_update':
src/tvhtime.c:100: warning: implicit declaration of function 'llabs'
src/tvhtime.c:100: warning: incompatible implicit declaration of built-in function 'llabs'
Reply
#38
Hi

Here is new spk package for arm-synology of tvheadend witg timeshift & debugging on web UI Smile https://www.box.com/s/30itwuvqrhyxqgqbni86

(2013-04-05, 09:11)teeuwj Wrote: Hello,

Iám trying to compile tvheadend on my armbased qnap but when i enter the make function i get the following error :

cc1: warnings being treated as errors
src/tvhtime.c: In function 'tvhtime_update':
src/tvhtime.c:100: warning: implicit declaration of function 'llabs'
src/tvhtime.c:100: warning: incompatible implicit declaration of built-in function 'llabs'

remove frome Makefile "-Werror"
Reply
#39
Cool aisman:

+ aisman's spk on ds
+ latest hts-pvr on HTPC
------------------------------------------
= timeshift in OE3 (pause and resume)

thank you!
Reply
#40
Anybody working on the intel based version? I am in the dark here. Everything works as a charm on the rapsberry pi (tvheadend 3.3) but it doesn't find channels on the synology (3.2.18) Very annoying. Any tips?
Reply
#41
In your case, it is very easy, you should try to build a new x86-architecture tvheadend from git and see what happens. Here even the toolchain is not needed, any x86 machine with Linux. If necessary, I'll try to build it later.
Reply
#42
Here is tvheadend with timeshift for ppc.
Reply
#43
Thanks a lot aisman, could you please provide a 3.4 stable build for Synology ARM? Smile
Reply
#44
Atom based would be also very much appreciated. Thx.
Reply
#45
(2013-04-28, 13:54)markozupancic Wrote: Atom based would be also very much appreciated. Thx.
I think you may try it. But I dont know is it normally working or not.
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 35

Logout Mark Read Team Forum Stats Members Help
HOW-TO Compile Tvheadend & HDHomerun on Synology NAS1