Hi,

Am 13.08.2010 12:50, schrieb IOhannes zmölnig:
> hi all!
>
> i'm involving myself in the Debian packaging of gmerlin-avdecoder, and
> have stumbled across a problem with in_dvd.c, which defines
> initialization and cleanup code.
> the code is protected by ifdef __GNUC__ and __ELF__ (both are true when
> building Debian packages) and DVDREAD_VERSION>= 905 (i have 907 with my
> libdvdread_4.1.3-10)
>
> the so protected code calls DVDFinish() and DVDInit();
> unfortunately none of these functions can is found neither in the
> libdvdread header files nor in the library, and so the build fails with:
> <snip>
> ../lib/.libs/libgmerlin_avdec.so: undefined reference to `DVDInit'
> ../lib/.libs/libgmerlin_avdec.so: undefined reference to `DVDFinish'
> </snip>
>
> any ideas what's going wrong?

No, the only thing I know is that libdvdread's versioning is quite a mess
(and the fork by the MPlayer people didn't improve it).

I added a check for DVDInit and DVDFInish to configure, so compilation should
work now. The function calls are only important if one processes opens more
than one DVD (in which case you need more than one DVD drive).

Burkhard

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to