Mailing List archive

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

[vdr] Compiling DXR3 plugin on Fedora Core 3



Hi Christian,
I am having problems compiling the 0.2.3-pre2 plugin on Fedora Core 3 with
vdr 1.3.18.

I get the following error:
[root@localhost vdr-1.3.18]# make plugins
make[1]: Entering directory
`/home/ahornby/vdr/vdr-1.3.18/PLUGINS/src/dxr3-0.2.3-pre2'
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"'
-DSOCKET_CHMOD=0660 -D_GNU_SOURCE -I../../../include
-I../../../../DVB/include -I/usr/include/ffmpeg -I/usr/include
dxr3multichannelaudio.c
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"'
-DSOCKET_CHMOD=0660 -D_GNU_SOURCE -I../../../include
-I../../../../DVB/include -I/usr/include/ffmpeg -I/usr/include
dxr3sysclock.c
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"'
-DSOCKET_CHMOD=0660 -D_GNU_SOURCE -I../../../include
-I../../../../DVB/include -I/usr/include/ffmpeg -I/usr/include
dxr3colormanager.c
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"'
-DSOCKET_CHMOD=0660 -D_GNU_SOURCE -I../../../include
-I../../../../DVB/include -I/usr/include/ffmpeg -I/usr/include
dxr3syncbuffer.c
dxr3syncbuffer.c: In constructor `cDxr3SyncBuffer::cDxr3SyncBuffer(int,
int, cDxr3Interface&)':
dxr3syncbuffer.c:110: error: ISO C++ forbids initialization in array new
make[1]: *** [dxr3syncbuffer.o] Error 1

The offending line seems to be:
m_pBuffer = new cFixedLengthFrame[frameCount](frameLength);

Any idea on how to fix this / rewrite this to be valid ISO C++ code so it
compiles?

Happy to supply any more details you need. If I am doing something dumb
please point it out :-) I've had a troll through the mailing list posts
and can't seem to find this problem previously reported.

Thanks for all your work to develop the dxr3 plugin - its appreciated.

Thanks a lot.

Regards Anthony




Home | Main Index | Thread Index