|
From: | Rocky Bernstein |
Subject: | Re: [Libcdio-help] Build error on mingw with 0.90 |
Date: | Wed, 5 Dec 2012 14:39:06 -0500 |
Looks like I will have to hold off using 0.90 anyway since mplayer can't detect it yet. Mplayer's configure needs cdda.h & paranoia.h but they are no longer there.On 12/5/2012 12:06, Rocky Bernstein wrote:
On Wed, Dec 5, 2012 at 11:37 AM, Josh <address@hidden> wrote:
On 12/5/2012 09:56, Rocky Bernstein wrote:
On Wed, Dec 5, 2012 at 4:23 AM, Josh <address@hidden> wrote:
I am trying to compile with mingw & gcc 4.6.3 and get the following error, can anyone tell me how to fix it?
CC ds.lo
CC freebsd.lo
CC freebsd_cam.lo
CC freebsd_ioctl.lo
CC gnu_linux.lo
CC bincue.lo
CC cdrdao.lo
CC image_common.lo
CC nrg.lo
CC logging.lo
CC mmc.lo
CC mmc_hl_cmds.lo
CC mmc_ll_cmds.lo
CC mmc_util.lo
CC aspi32.lo
CC win32_ioctl.lo
CC win32.lo
MSWindows/win32.c: In function 'cdio_open_am_win32':
MSWindows/win32.c:983:9: error: 'cdio_funcs_t' has no member named '_lseeki64'
Looks like something in your environment turns lseek into a C preprocessor variable.
On line 983 try adding this:
#undef lseek
So these lines:
_funcs.get_track_preemphasis = get_track_preemphasis_generic,
_funcs.lseek = NULL;
Become:
_funcs.get_track_preemphasis = get_track_preemphasis_generic,
#undef lseek
_funcs.lseek = NULL;
make[3]: *** [win32.lo] Error 1
make[3]: Leaving directory `/mingw/src/libcdio-0.90/lib/driver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mingw/src/libcdio-0.90/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mingw/src/libcdio-0.90'
make: *** [all] Error 2
_______________________________________________
Libcdio-help mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/libcdio-help
_______________________________________________ Libcdio-help mailing list address@hidden https://lists.gnu.org/mailman/listinfo/libcdio-helpThat appears to have worked but 0.83 compiles without any modifications even though it has that same line of code.
A lot has changed from 0.83 to 0.90.
I'm using the mingw from mingw.org on Windows/msys and applied a patch for large file support ( http://oss.netfarm.it/mplayer/misc/mingwrt_file64.diff ) also used to compile 0.83. The patch for lfs is necessary or mplayer can't seek files/dvds larger than 2GB.
That patch has this
+#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 +#define lseek _lseeki64 +#endif + So perhaps this is the code that is causing the problem.
_______________________________________________
Libcdio-help mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/libcdio-help
_______________________________________________ Libcdio-help mailing list address@hidden https://lists.gnu.org/mailman/listinfo/libcdio-help
_______________________________________________
Libcdio-help mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/libcdio-help
[Prev in Thread] | Current Thread | [Next in Thread] |