Bug #3255
Unable to compile v4.0.7 or latest git
100%
Description
Hi, I'm trying to build v4.0.7 but the compile is not successfull on Debian x86_64:
# git checkout v4.0.7 # ./configure --disable-avahi --enable-bundle --disable-libav --disable-dbus_1 --release # make ... omitted ... CC src/descrambler/tvhcsa.o CC src/descrambler/cwc.o CC src/descrambler/capmt.o CC src/descrambler/constcw.o CC src/descrambler/ffdecsa/ffdecsa_interface.o CC src/descrambler/libaesdec/libaesdec.o make: *** No rule to make target `/root/tvheadend/tvheadend/docs/docresources/configstreamprofiles.png', needed by `/root/tvheadend/tvheadend/build.linux/bundle.c'. Stop.
Also the latest git doesn't compile:
# git checkout HEAD # git reset --hard HEAD is now at 087627a intl: transifex update # ./configure --disable-avahi --enable-bundle --disable-libav --disable-dbus_1 --release # make ... omitted ... CC src/huffman.o CC src/filebundle.o CC src/config.o src/config.c: In function ‘config_class_dscp_list’: src/config.c:1858: error: ‘IPTOS_CLASS_CS0’ undeclared (first use in this function) src/config.c:1858: error: (Each undeclared identifier is reported only once src/config.c:1858: error: for each function it appears in.) src/config.c:1859: error: ‘IPTOS_CLASS_CS1’ undeclared (first use in this function) src/config.c:1863: error: ‘IPTOS_CLASS_CS2’ undeclared (first use in this function) src/config.c:1867: error: ‘IPTOS_CLASS_CS3’ undeclared (first use in this function) src/config.c:1871: error: ‘IPTOS_CLASS_CS4’ undeclared (first use in this function) src/config.c:1875: error: ‘IPTOS_CLASS_CS5’ undeclared (first use in this function) src/config.c:1877: error: ‘IPTOS_CLASS_CS6’ undeclared (first use in this function) src/config.c:1878: error: ‘IPTOS_CLASS_CS7’ undeclared (first use in this function) make: *** [/root/tvheadend/tvheadend/build.linux/src/config.o] Error 1
Please, can you fix it?
Files
History
Updated by Jaroslav Kysela about 9 years ago
For 4.0.7 - use fresh clone - you probably mix something.
For latest - show me /usr/include/netinet/ip.h in your system .
Updated by virtual dj about 9 years ago
For 4.0.7 - use fresh clone - you probably mix something.
Yes, sorry about that. It works.
I always forgive to clean the directory because I think git reset --hard
restores everything, but it does not. My fault!
For latest - show me /usr/include/netinet/ip.h in your system .
I've attached it.
Remember that I'm using a Debian GNU/Linux 6.0 VM (to build for the QNAP NAS), so I may be using old libraries/headers for this reason.
Updated by Jaroslav Kysela about 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|10ba670c1f0a3381029732beec5bc9857bc488f2.