Project

General

Profile

Actions

Bug #2213

open

Mit cxxtools-2.3rc1 + tntnet-2.3rc1 kommt beim kompilieren von vdr-live

Added by Anonymous over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/15/2015
Due date:
% Done:

0%

Estimated time:

Description

ich versuche gerade vdr-live-0.3.0 unter Fedora22 zu kompiliern, das schlägt natürlich fehl,
da die neue tntnet version 2.3rc1 kein tntnet-config mehr mitbringt. Stattdessen bringt die
neue Version .pc Dateien mit.

Fehlermeldung:
/bin/sh: tntnet-config: command not found

tntnet-2.3rc1:
/usr/lib64/pkgconfig/tntnet.pc
/usr/lib64/pkgconfig/tntnet_sdk.pc

vdr-live Makefile:
  1. Determine tntnet and cxxtools versions:
    TNTVERSION = $(shell tntnet-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."000"} /^...$$/ { print $$1."00"} /^....$$/ { print $$1."0" } /^.....$$/ { print $$1 }')
    CXXTOOLVER = $(shell cxxtools-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."000"} /^...$$/ { print $$1."00"} /^....$$/ { print $$1."0" } /^.....$$/ { print $$1 }')
    CXXFLAGS += $(shell tntnet-config --cxxflags)
    LIBS += $(shell tntnet-config --libs)
    Bei folgender Änderung im Makefile
  1. Determine tntnet and cxxtools versions:
    -TNTVERSION = $(shell tntnet-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."000"} /^...$$/ { print $$1."00"} /^....$$/ { print $$1."0" } /^.....$$/ { print $$1 }')
    -CXXTOOLVER = $(shell cxxtools-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."000"} /^...$$/ { print $$1."00"} /^....$$/ { print $$1."0" } /^.....$$/ { print $$1 }')
    +TNTVERSION = $(shell pkg-config --modversion tntnet)
    +CXXTOOLVER = $(shell pkg-config --modversion cxxtools)

-CXXFLAGS += $(shell tntnet-config --cxxflags)
-LIBS += $(shell tntnet-config --libs)
+CXXFLAGS += $(shell pkg-config --cflags-only-I tntnet)
+LIBS += $(shell pkg-config --libs --static tntnet)

kommt beim Kompilieren folgende Fehlermeldung:

+ make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' -j3 all
<command-line>:0:12: error: invalid suffix "rc1" on floating constant
tntfeatures.h:20:28: note: in expansion of macro 'CXXTOOLVER'
#define TNT_LOG_SERINFO (CXXTOOLVER >= 22000)
^
tntconfig.cpp:7:5: note: in expansion of macro 'TNT_LOG_SERINFO'
#if TNT_LOG_SERINFO
^
<command-line>:0:12: error: invalid suffix "rc1" on floating constant
tntfeatures.h:23:32: note: in expansion of macro 'TNTVERSION'
#define TNT_MAPURL_NAMED_ARGS (TNTVERSION >= 22000)
^
tntconfig.cpp:40:5: note: in expansion of macro 'TNT_MAPURL_NAMED_ARGS'
#if TNT_MAPURL_NAMED_ARGS
^
<command-line>:0:12: error: invalid suffix "rc1" on floating constant
tntfeatures.h:23:32: note: in expansion of macro 'TNTVERSION'
#define TNT_MAPURL_NAMED_ARGS (TNTVERSION >= 22000)
^
tntconfig.cpp:46:5: note: in expansion of macro 'TNT_MAPURL_NAMED_ARGS'
#if TNT_MAPURL_NAMED_ARGS
^
<command-line>:0:12: error: invalid suffix "rc1" on floating constant
tntfeatures.h:20:28: note: in expansion of macro 'CXXTOOLVER'
#define TNT_LOG_SERINFO (CXXTOOLVER >= 22000)
^
tntconfig.cpp:58:5: note: in expansion of macro 'TNT_LOG_SERINFO'
#if TNT_LOG_SERINFO
^
<command-line>:0:12: error: invalid suffix "rc1" on floating constant
tntfeatures.h:26:31: note: in expansion of macro 'TNTVERSION'
#define TNT_GLOBAL_TNTCONFIG (TNTVERSION >= 22000)
^
tntconfig.cpp:204:5: note: in expansion of macro 'TNT_GLOBAL_TNTCONFIG'
#if TNT_GLOBAL_TNTCONFIG
^
<command-line>:0:12: error: invalid suffix "rc1" on floating constant
tntfeatures.h:17:33: note: in expansion of macro 'CXXTOOLVER'
#define TNT_IPV6_V6ONLY (CXXTOOLVER >= 21000)
^
setup.cpp:180:5: note: in expansion of macro 'TNT_IPV6_V6ONLY'
#if TNT_IPV6_V6ONLY
^
./buildutil/version-util gen_version_suffix.h || ./buildutil/version-util -F gen_version_suffix.h
gen_version_suffix.h does not exist! creating a new one.
g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"live"' -DTNTVERSION=2.3rc1 -DCXXTOOLVER=2.3rc1 -DHAVE_LIBPCRECPP live.cpp
g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"live"' -DTNTVERSION=2.3rc1 -DCXXTOOLVER=2.3rc1 -DHAVE_LIBPCRECPP thread.cpp
g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"live"' -DTNTVERSION=2.3rc1 -DCXXTOOLVER=2.3rc1 -DHAVE_LIBPCRECPP tntconfig.cpp
<command-line>:0:12: error: invalid suffix "rc1" on floating constant
tntfeatures.h:20:28: note: in expansion of macro 'CXXTOOLVER'
#define TNT_LOG_SERINFO (CXXTOOLVER >= 22000)
^
tntconfig.cpp:7:5: note: in expansion of macro 'TNT_LOG_SERINFO'
#if TNT_LOG_SERINFO
^
tntconfig.cpp:11:30: fatal error: cxxtools/loginit.h: No such file or directory

was muss den für die Versionsermittelung im Makefile geändert werden ?

No data to display

Actions

Also available in: Atom PDF