Project

General

Profile

Actions

Bug #710

closed

0.2.0-beta6 does not compile

Added by Anonymous over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Bug
Target version:
Start date:
09/12/2011
Due date:
% Done:

0%

Estimated time:

Description

I tested to use burn with current VDR-1.7.21.
make plugins gives the following error message:

/usr/src/linux/include/linux/types.h:13:2: Warnung: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" 
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DPLUGIN_NAME='"burn"' -DPLUGIN_NAME_I18N='"burn"' -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DTMPDIR='"/filme/tmp"' -DDVDDEV='"/dev/dvd"' -DISODIR='"/filme/dvd"' -I/usr/src/linux/include -I../../../include -I. -I/usr/include -o common.o common.c
In Datei, eingefuegt von /usr/src/linux/include/linux/dvb/frontend.h:29,
                 von ../../../include/vdr/dvbdevice.h:14,
                 von ../../../include/vdr/menuitems.h:14,
                 von ../../../include/vdr/plugin.h:14,
                 von burn.h:12,
                 von common.c:8:
/usr/src/linux/include/linux/types.h:13:2: Warnung: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" 
common.c: In function >>std::string vdr_burn::get_recording_osd_line(const cRecording*, int)<<:
common.c:181: Fehler: >>Length<< is not a member of >>cIndexFile<<
make[1]: *** [common.o] Fehler 1
make[1]: Leaving directory `/usr/local/video/vdr-1.7.21/PLUGINS/src/burn-0.2.0-beta6'

Actions #1

Updated by FireFly over 12 years ago

  • Status changed from New to Resolved

This error appears since VDR 1.7.20. Until a new version of burn is released please fix it by replacing the function Length() by GetLength() in common.c so that afterwards line 181 reads:

int length = cIndexFile::GetLength(recording_->FileName(), recording_->IsPesRecording());

Actions #2

Updated by idefix6 over 12 years ago

Thanks a lot, that fixed the problem.

Actions #3

Updated by OleS over 12 years ago

Burn won't compile for me (yaVDR 0.4 pre1 with VDR 1.7.21) either.
After making the suggested change in common.c I get:

common.c: In function ‘std::string vdr_burn::get_recording_datetime(const cRecording*, char)’:
common.c:145:10: error: no matching function for call to ‘cRecording::Title(char, bool, int, bool) const’
/usr/include/vdr/include/vdr/recording.h:122:15: note: candidate is: const char* cRecording::Title(char, bool, int) const
make[1]: *** [common.o] Error 1
make[1]: Leaving Directory '/usr/local/src/burn-0.2.0-beta6'
make: *** [common-build-arch] Error 2

Actions #4

Updated by FireFly over 12 years ago

This is caused by a change of the limikuutio patch 1.31 for VDR 1.7.21. I have fixed it here already a couple of days but beta7 is not yet ready for release. In the meantime you can fix it yourself by deleting

#ifdef LIEMIKUUTIO // hatred... HATRED!!!
                                                                         , true

#endif

in common.c lines 143-145

Actions #5

Updated by OleS over 12 years ago

Been there, done that. Now my VDR's burning again, yay!

Actions #6

Updated by FireFly over 12 years ago

  • Status changed from Resolved to Closed

fixed in 0.2.0-beta7

Actions

Also available in: Atom PDF