Re: vdr-plugin-iptv-2.2.1 fails on compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 16.05.2016 um 15:02 schrieb Marko Mäkelä:
> On Mon, May 16, 2016 at 02:35:28PM +0200, Joerg Bornkessel wrote:
>> Hallo,
>>
>> i get following errors on try to compile vdr-plugin-iptv-2.2.1
>>

> Did you try to add spaces around the errstr parameter, like this:
> 
>      esyslog("[%s,%d]: " errstr ": %s", __FILE__, __LINE__,        \
> 
done, this brings me a step forward, but it fails then with

<snipp>
...
i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer
-std=c++11 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include
-DUSE_PLUGINMISSING -DUSE_MAINMENUHOOKS -DUSE_MENUSELECTION -c
-DPLUGIN_NAME_I18N='"iptv"'  -o pidscanner.o pidscanner.c
In file included from config.h:12:0,
                 from device.c:8:
device.c: In destructor ‘virtual cIptvDevice::~cIptvDevice()’:
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:62:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pIptvSectionM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:62:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pIptvSectionM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:62:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pIptvSectionM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:63:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pSidScannerM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:63:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pSidScannerM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:63:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pSidScannerM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:64:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pPidScannerM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:64:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pPidScannerM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:64:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pPidScannerM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:65:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pIptvStreamerM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:65:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pIptvStreamerM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:65:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pIptvStreamerM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:66:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pExtProtocolM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:66:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pExtProtocolM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:66:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pExtProtocolM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:67:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pFileProtocolM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:67:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pFileProtocolM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:67:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pFileProtocolM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:68:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pHttpProtocolM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:68:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pHttpProtocolM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:68:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pHttpProtocolM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:69:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pCurlProtocolM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:69:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pCurlProtocolM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:69:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pCurlProtocolM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:70:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pUdpProtocolM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:70:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pUdpProtocolM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:70:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(pUdpProtocolM);
   ^
common.h:54:20: error: ‘typeof’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                    ^
device.c:71:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(tsBufferM);
   ^
common.h:54:23: error: ‘tmp’ was not declared in this scope
         typeof(*ptr) *tmp = ptr;  \
                       ^
device.c:71:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(tsBufferM);
   ^
common.h:56:19: error: type ‘<type error>’ argument given to ‘delete’,
expected pointer
         delete(tmp);              \
                   ^
device.c:71:3: note: in expansion of macro ‘DELETE_POINTER’
   DELETE_POINTER(tsBufferM);
   ^
Makefile:90: recipe for target 'device.o' failed
make: *** [device.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: media-plugins/vdr-iptv-2.2.1::gentoo failed (compile phase):
</snapp>

i think this comes from the, up from gcc-4.9, -std=gnu11 as default C
standard.


__________________________________
> vdr mailing list
> vdr@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux