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