recording.c: In member function ‘bool cRecording::GetDvdChaptersFromDvd(int) const’: recording.c:822: error: ‘dvd_reader_t’ was not declared in this scope recording.c:822: error: ‘dvd’ was not declared in this scope recording.c:823: error: ‘ifo_handle_t’ was not declared in this scope recording.c:823: error: ‘ifo_file’ was not declared in this scope recording.c:824: error: ‘tt_srpt_t’ was not declared in this scope recording.c:824: error: ‘tt_srpt’ was not declared in this scope recording.c:825: error: ‘vts_file’ was not declared in this scope recording.c:826: error: ‘pgc_t’ was not declared in this scope recording.c:826: error: ‘cur_pgc’ was not declared in this scope recording.c:828: error: ‘DVDOpen’ was not declared in this scope recording.c:835: error: ‘ifoOpen’ was not declared in this scope recording.c:838: error: ‘DVDClose’ was not declared in this scope recording.c:854: error: ‘DVDClose’ was not declared in this scope recording.c:863: error: ‘vts_ptt_srpt_t’ was not declared in this scope recording.c:863: error: ‘vts_ptt_srpt’ was not declared in this scope recording.c:886: error: ‘pgc_program_map_t’ was not declared in this scope recording.c:886: error: ‘chap_cell’ was not declared in this scope recording.c:887: error: ‘cell_playback_t’ was not declared in this scope recording.c:887: error: ‘cell_pb’ was not declared in this scope recording.c:905: error: ‘dvd_time_t’ was not declared in this scope recording.c:905: error: expected primary-expression before ‘)’ token recording.c:907: error: request for member ‘frame_u’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:912: error: request for member ‘hour’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:912: error: request for member ‘hour’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:913: error: request for member ‘minute’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:913: error: request for member ‘minute’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:914: error: request for member ‘second’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:914: error: request for member ‘second’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:916: error: request for member ‘frame_u’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:916: error: request for member ‘frame_u’ in ‘time’, which is of non-class type ‘time_t ()(time_t*)throw ()’ recording.c:943: error: ‘ifoClose’ was not declared in this scope Shingoshi
Created attachment 153773 [details] All in one file.
Again, please provide the full first error message (including the command) as well as emerge --info in the Description or a comment, and not in a huge attachment.
Created attachment 153797 [details] emerge --info This is a large file on it's own.
recording.c:30:31: error: dvdnav/dvd_reader.h: No such file or directory recording.c:31:30: error: dvdnav/ifo_types.h: No such file or directory recording.c:32:29: error: dvdnav/ifo_read.h: No such file or directory
It looks like enabling DVDARCHIVE and DVDCHAPJUMP requires to pull in media-libs/libdvdnav as additional dependency. Btw. hd_brummy is right, the real interesting part of the log you get when first setting MAKEOPTS to -j1 and then paste the g++ line of recording.c and all messages following it. Could you check if it works, if you emerge libdvdnav before.
Fixed by adding: dvdarchive? ( dvdchapjump? ( media-libs/libdvdnav ) ) Here it works now.
(In reply to comment #6) > Fixed by adding: > dvdarchive? ( dvdchapjump? ( media-libs/libdvdnav ) ) > > Here it works now. > (In reply to comment #6) > Fixed by adding: > dvdarchive? ( dvdchapjump? ( media-libs/libdvdnav ) ) > > Here it works now. > (In reply to comment #6) > Fixed by adding: > dvdarchive? ( dvdchapjump? ( media-libs/libdvdnav ) ) > > Here it works now. > This is my current version: libdvdnav-4.1.1_p997-r1 Shingoshi
Would you please tell me which version you used to resolve this, as I have a version installed which is no longer in portage. If I remove it, and it doesn't work with another version, I won't be able to get that version back, and I will also have broken dependencies connected to the missing libs. Thank you, Shingoshi
(In reply to comment #8) > Would you please tell me which version you used to resolve this, as I have a > version installed which is no longer in portage. If I remove it, and it I used libdvdnav-0.1.10. This is the only version currently available.
After a recent upgrade of libdvdnav, i get the same errors when trying to recompile media-video/vdr-1.6.0_p2-r3. The version of media-libs/libdvdnav is 4.1.3_p1168
(In reply to comment #10) > After a recent upgrade of libdvdnav, i get the same errors when trying to > recompile media-video/vdr-1.6.0_p2-r3. The version of media-libs/libdvdnav is > 4.1.3_p1168 > for first help, if you dont use DMH archive, disable the dvdarchive and dvdchapjump use-flag will take a closer look for changes in latest libdvdnav on weekend...
I masked the packages : =media-libs/libdvdnav-4.1.3_p1168 =media-libs/libdvdread-4.1.3_p1168 The media-video/vdr-1.6.0_p2-r3 compiles fine then also with dvdarchive and dvdchapjump usefiles Cheers
*** Bug 330685 has been marked as a duplicate of this bug. ***
Created attachment 240911 [details] Buildlog for media-video/vdr-1.6.0_p2-r3
This bug i still active in media-video/vdr-1.6.0_p2-r3
I can confirm that I had to emerge "=media-libs/libdvdnav-0.1.10" and "=media-libs/libdvdread-0.9.7" because 4.1.3 versions of these ebuild do not provide with requested files by vdr (1.6.0_p2-r3)
The bug gets triggered when at least these use-flags are set: USE="dvdarchive dvdchapjump liemikuutio" I guess the attached patch should fix the bug.
Created attachment 246294 [details, diff] Use new dvdnav and dvdread header This patch may fix this issue.
added vdr-1.6.0_p2-r4, changed libdvdnav to libdvdread, Readme pretend to libdvdread, we didn't have to the commit time a usable version of libdvdread in the tree, thats while we changed it to libdvdnav ( dirty fix ) it compiles on my system with the latets stable libdvdread, plz check this for work in your system for usable, i dont use vdr-1.6.x anymore.
no reply, ... looks like it works now, plz, reopen if the problem still present