Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222985 - media-video/vdr-1.6.0_p1 : recording.c:30:31: error: dvdnav/dvd_reader.h: No such file or directory
Summary: media-video/vdr-1.6.0_p1 : recording.c:30:31: error: dvdnav/dvd_reader.h: No ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
: 330685 (view as bug list)
Depends on: 335428
Blocks:
  Show dependency tree
 
Reported: 2008-05-20 17:02 UTC by Xavian-Anderson Macpherson
Modified: 2010-12-01 19:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
All in one file. (vdr-1.6.0_p1-x86_64-config+build-logs_emergeinfo_environment-2008.05.20_10:04:41,186.02 KB, text/plain)
2008-05-20 17:05 UTC, Xavian-Anderson Macpherson
Details
emerge --info (shingoshi_emergeinfo-20080519_22:35:27,30.59 KB, text/plain)
2008-05-20 21:43 UTC, Xavian-Anderson Macpherson
Details
Buildlog for media-video/vdr-1.6.0_p2-r3 (build.log,39.69 KB, text/plain)
2010-08-01 09:58 UTC, Rene Hertell
Details
Use new dvdnav and dvdread header (vdr-1.6.0_p2-dvdnav.patch,499 bytes, patch)
2010-09-06 18:47 UTC, Matthias Schwarzott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavian-Anderson Macpherson 2008-05-20 17:02:55 UTC
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
Comment 1 Xavian-Anderson Macpherson 2008-05-20 17:05:20 UTC
Created attachment 153773 [details]
All in one file.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-20 17:20:49 UTC
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.
Comment 3 Xavian-Anderson Macpherson 2008-05-20 21:43:56 UTC
Created attachment 153797 [details]
emerge --info

This is a large file on it's own.
Comment 4 Xavian-Anderson Macpherson 2008-05-20 21:45:34 UTC
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
Comment 5 Matthias Schwarzott gentoo-dev 2008-05-21 05:06:05 UTC
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.
Comment 6 Matthias Schwarzott gentoo-dev 2008-05-21 05:51:03 UTC
Fixed by adding:
dvdarchive? ( dvdchapjump? ( media-libs/libdvdnav ) )

Here it works now.
Comment 7 Xavian-Anderson Macpherson 2008-05-21 21:47:32 UTC
(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
Comment 8 Xavian-Anderson Macpherson 2008-05-21 21:51:40 UTC
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
Comment 9 Matthias Schwarzott gentoo-dev 2008-05-22 07:47:57 UTC
(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.
Comment 10 Rene Hertell 2010-01-01 22:52:52 UTC
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
Comment 11 Joerg Bornkessel (RETIRED) gentoo-dev 2010-01-04 23:17:04 UTC
(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...
Comment 12 Robert Metzler 2010-03-24 23:21:41 UTC
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
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-08-01 09:39:52 UTC
*** Bug 330685 has been marked as a duplicate of this bug. ***
Comment 14 Rene Hertell 2010-08-01 09:58:29 UTC
Created attachment 240911 [details]
Buildlog for media-video/vdr-1.6.0_p2-r3
Comment 15 Rene Hertell 2010-08-01 09:58:56 UTC
This bug i still active in media-video/vdr-1.6.0_p2-r3
Comment 16 El Goretto 2010-09-01 10:20:50 UTC
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)
Comment 17 Matthias Schwarzott gentoo-dev 2010-09-06 18:47:12 UTC
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.
Comment 18 Matthias Schwarzott gentoo-dev 2010-09-06 18:47:50 UTC
Created attachment 246294 [details, diff]
Use new dvdnav and dvdread header

This patch may fix this issue.
Comment 19 Joerg Bornkessel (RETIRED) gentoo-dev 2010-09-08 16:25:59 UTC
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.
Comment 20 Joerg Bornkessel (RETIRED) gentoo-dev 2010-12-01 19:22:43 UTC
no reply, ...

looks like it works now,

plz, reopen if the problem still present