Project

General

Profile

Compile error v4.1.631

Added by Yigi do about 9 years ago

I will compile the version 4.1.631 on a ARM NAS (Zyxel NSA310S with FFP) and get the followed error:

CC src/config.o
src/config.c: In function 'config_class_dscp_list':
src/config.c:1811:19: error: 'IPTOS_CLASS_CS0' undeclared (first use in this function)
src/config.c:1811:19: note: each undeclared identifier is reported only once for each function it appears in
src/config.c:1812:19: error: 'IPTOS_CLASS_CS1' undeclared (first use in this function)
src/config.c:1816:19: error: 'IPTOS_CLASS_CS2' undeclared (first use in this function)
src/config.c:1820:19: error: 'IPTOS_CLASS_CS3' undeclared (first use in this function)
src/config.c:1824:19: error: 'IPTOS_CLASS_CS4' undeclared (first use in this function)
src/config.c:1828:19: error: 'IPTOS_CLASS_CS5' undeclared (first use in this function)
src/config.c:1830:19: error: 'IPTOS_CLASS_CS6' undeclared (first use in this function)
src/config.c:1831:19: error: 'IPTOS_CLASS_CS7' undeclared (first use in this function)
make: *** [/ffp/src/tvheadend/build.linux/src/config.o] Error 1

The configuration:

Checking support/features
checking for cc execinfo.h ... fail
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc -Wunused-result ... ok
checking for cc getloadavg ... fail
checking for cc atomic64 ... fail
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc gmtoff ... ok
checking for cc recvmmsg ... fail
checking for cc sendmmsg ... fail
checking for cc libiconv ... ok
checking for cc libdvben50221 ... fail
checking for py module gzip ... ok
checking for xgettext ... ok
checking for msgmerge ... ok
checking for gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok (detected 1.0.0e)
checking for cc linux/dvb/version.h ... ok
checking for cc libhdhomerun/hdhomerun.h ... fail
checking for pkg zlib ... ok (detected 1.2.5)
checking for pkg liburiparser ... fail (detected <none>)
checking for cc sys/inotify.h ... ok
checking for pkg dbus-1 ... ok (detected 1.6.0)

Compiler:
Using C compiler: cc
Build for arch: armv5tel

Binaries:
Using PYTHON: python
Using GZIP: gzip
Using BZIP2: bzip2

Options:
cwc yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client no
hdhomerun_static no
iptv yes
tsfile yes
dvbscan no
timeshift yes
trace yes
imagecache yes
avahi no
zlib yes
libav no
libffmpeg_static no
libx264_static yes
libx265 no
libx265_static yes
vdpau no
libmfx no
libmfx_static yes
inotify yes
epoll yes
uriparser no
ccache no
tvhcsa yes
bundle no
dvbcsa no
dvben50221 no
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
libsystemd_daemon no
W_unused_result yes
lockowner yes
qsort_r yes
stime yes
gmtoff yes
libiconv yes
py_gzip yes
bin_xgettext yes
bin_msgmerge yes
bin_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
upnp yes
inotify_h yes
mpegts yes
mpegts_dvb yes

Packages:
openssl 1.0.0e
zlib 1.2.5
dbus-1 1.6.0

Installation paths:
Prefix: /ffp
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: ${datadir}/man

Final Binary:
/ffp/src/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
/ffp/share/tvheadend

Thx
yigido


Replies (4)

RE: Compile error v4.1.631 - Added by Yigi do about 9 years ago

Can nobody help me?

RE: Compile error v4.1.631 - Added by Mark Clarkstone about 9 years ago

Yigi do wrote:

Can nobody help me?

I have the same NAS unfortunately I don't use it for Tvheadend but it looks like it's missing some important packages in order to build, you could try an older revision before DSCP/TOS was introduced or try 4.0.x however I suspect you may have other issues might just be easier to run debian in a chroot instead.

It's a shame Zyxel didn't leave the serial headers on the board like the older NSA310 that thing is so hackable & runs Debian Jessie perfectly fine.

Sorry I know this isn't much help but seeing as no one else has replied I thought I would so you don't think you're being ignored.

RE: Compile error v4.1.631 - Added by Yigi do about 9 years ago

Thanks for your reply.

Can you tell me which packages are missing?
I have tested the Debian image from doozan.com, but there are still ethernet problems after reboot...

RE: Compile error v4.1.631 - Added by Yigi do about 9 years ago

The problem is solved. I have updated ip.h and now it's compile fine:)

ip.h (9.59 KB) ip.h
    (1-4/4)