libcdio-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-help] unknown type name 'ULONG'


From: Kyle Schwarz
Subject: Re: [Libcdio-help] unknown type name 'ULONG'
Date: Sat, 11 Feb 2012 13:58:46 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0

On 2/10/2012 11:33 AM, Rocky Bernstein wrote:

It is probably libcdio 0.83's problem.

Recently there has been some terrific work done specifically to address
compilation on MSWindows  -- specifically for both MinGW and native
visual C++. This is currently on git in the pbatard branch of the git
repository.

So my recommendation is to try that.


    Best regards,
      Kyle Schwarz

Tried the latest git and I still run into the same error.

With the pbatard branch I get a different error:
make[3]: Entering directory `/home/kyle/software/ffmpeg/packages/libcdio/source/libcdio-pbatard/lib/driver' /bin/bash ../../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver -I../../include -I../../include/ -D_FILE_OFFSET_BITS=64 -D_OFF_T_DEFINED -D_OFF_T_ -D_off_t=off64_t -Doff_t=off64_t -I/home/kyle/software/ffmpeg/packages/libiconv/libiconv-1.14-win32/include -g -O2 -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -MT _cdio_generic.lo -MD -MP -MF .deps/_cdio_generic.Tpo -c -o _cdio_generic.lo _cdio_generic.c libtool: compile: i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/driver -I../../include -I../../include/ -D_FILE_OFFSET_BITS=64 -D_OFF_T_DEFINED -D_OFF_T_ -D_off_t=off64_t -Doff_t=off64_t -I/home/kyle/software/ffmpeg/packages/libiconv/libiconv-1.14-win32/include -g -O2 -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -MT _cdio_generic.lo -MD -MP -MF .deps/_cdio_generic.Tpo -c _cdio_generic.c -o _cdio_generic.o
In file included from _cdio_generic.c:27:0:
/home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/stdio.h:448:30: error: unknown type name '_off64_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/stdio.h:449:28: error: unknown type name 'off64_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/stdio.h:464:3: error: unknown type name 'off64_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/stdio.h:465:3: error: unknown type name '_off64_t' In file included from /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unistd.h:10:0,
                 from _cdio_generic.c:33:
/home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/io.h:194:3: error: unknown type name '_off64_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/io.h:194:27: error: unknown type name '_off64_t'
In file included from _cdio_generic.c:33:0:
/home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unistd.h:43:20: error: unknown type name 'off32_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unistd.h:44:22: error: unknown type name 'off64_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unistd.h:45:28: error: unknown type name 'off32_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unistd.h:46:30: error: unknown type name 'off64_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/unistd.h:48:38: error: unknown type name 'off32_t' In file included from /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h:58:0,
                 from _cdio_generic.c:40:
/home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/_mingw_stat64.h:27:5: error: unknown type name 'off64_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/_mingw_stat64.h:42:5: error: unknown type name 'off64_t' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/_mingw_stat64.h:71:5: error: unknown type name 'off64_t'
In file included from _cdio_generic.c:40:0:
/home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h: In function '_fstat64i32': /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h:90:21: error: 'off64_t' undeclared (first use in this function) /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h:90:21: note: each undeclared identifier is reported only once for each function it appears in /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h:90:29: error: expected ';' before 'st' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h: In function '_stat64i32': /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h:116:21: error: 'off64_t' undeclared (first use in this function) /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h:116:29: error: expected ';' before 'st' /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h: In function 'fstat': /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h:217:19: error: 'off64_t' undeclared (first use in this function) /home/kyle/software/mingw-w64/4.6.2/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/include/sys/stat.h:217:27: error: expected ';' before 'st'
In file included from ../../include/cdio/cdio.h:65:0,
                 from cdio_private.h:29,
                 from _cdio_generic.c:50:
../../include/cdio/read.h: At top level:
../../include/cdio/read.h:55:3: error: unknown type name 'off64_t'
../../include/cdio/read.h:55:42: error: unknown type name 'off64_t'
In file included from cdio_private.h:49:0,
                 from _cdio_generic.c:50:
generic.h:125:3: error: unknown type name 'off64_t'
generic.h:125:42: error: unknown type name 'off64_t'
In file included from _cdio_generic.c:50:0:
cdio_private.h:325:5: error: expected specifier-qualifier-list before 'off64_t'
cdio_private.h:450:5: error: unknown type name 'off64_t'
In file included from _cdio_stdio.h:25:0,
                 from _cdio_generic.c:51:
_cdio_stream.h:38:51: error: unknown type name 'off64_t'
_cdio_stream.h:41:17: error: expected declaration specifiers or '...' before '*' token
_cdio_stream.h:52:5: error: unknown type name 'cdio_data_seek_t'
_cdio_stream.h:53:5: error: unknown type name 'cdio_data_stat_t'
_cdio_stream.h:68:3: error: unknown type name 'off64_t'
_cdio_stream.h:69:38: error: unknown type name 'off64_t'
_cdio_stream.h:110:49: error: unknown type name 'off64_t'
_cdio_stream.h:117:3: error: unknown type name 'off64_t'
_cdio_generic.c: In function 'cdio_generic_read_form1_sector':
_cdio_generic.c:159:3: warning: implicit declaration of function 'cdio_generic_lseek' [-Wimplicit-function-declaration] _cdio_generic.c:159:3: warning: nested extern declaration of 'cdio_generic_lseek' [-Wnested-externs]
_cdio_generic.c: At top level:
_cdio_generic.c:169:1: error: unknown type name 'off64_t'
_cdio_generic.c:170:38: error: unknown type name 'off64_t'
_cdio_generic.c: In function 'get_discmode_cd_generic':
_cdio_generic.c:351:20: error: 'cdio_funcs_t' has no member named 'read_toc'
_cdio_generic.c: In function 'get_first_track_num_generic':
_cdio_generic.c:424:20: error: 'cdio_funcs_t' has no member named 'read_toc'
_cdio_generic.c: In function 'get_num_tracks_generic':
_cdio_generic.c:439:20: error: 'cdio_funcs_t' has no member named 'read_toc'
_cdio_generic.c: In function 'read_cdtext_generic':
_cdio_generic.c:457:56: error: 'cdio_funcs_t' has no member named 'run_mmc_cmd' _cdio_generic.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [_cdio_generic.lo] Error 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]