On 12/5/2012 09:56, Rocky Bernstein wrote:
On Wed, Dec 5, 2012 at 4:23 AM, Josh <[email protected]
<mailto:[email protected]>> 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
[email protected] <mailto:[email protected]>
https://lists.gnu.org/mailman/listinfo/libcdio-help
_______________________________________________
Libcdio-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/libcdio-help
That appears to have worked but 0.83 compiles without any
modifications even though it has that same line of code. 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.
_______________________________________________
Libcdio-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/libcdio-help