[MPlayer-users] OS/X demux_mov.c compile failure
Steven M. Schultz
sms at 2BSD.COM
Tue Nov 4 18:20:49 CET 2003
Hi -
The mov demuxer changes do not get along well at all with OS/X
(10.3 if that makes a different).
Haven't seen this many errors in a long time when trying to compile
a single module - wow ;)
If it's not supposed to build on OS/X it'd be nice if it were ifdef'd
out or something.
Here's the script session in hopes it'll be helpful.
Cheers,
Steven Schultz
Script started on Tue Nov 4 09:14:55 2003
[DHCP-250:local/src/MPlayer-cvs] sms% gmake
gmake -C libmpdemux
cc -c -O4 -mcpu=7450 -mtune=7450 -faltivec -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -Wl,-bind_at_load -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../loader -o demux_mov.o demux_mov.c
In file included from demux_mov.c:35:
../loader/qtx/qtxsdk/components.h: In function `dump_CodecDecompressParams':
../loader/qtx/qtxsdk/components.h:724: warning: initialization from incompatible pointer type
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:18,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:8,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:20,
from demux_mov.c:38:
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h: At top level:
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:224: error: conflicting types for `OSErr'
../loader/qtx/qtxsdk/components.h:10: error: previous declaration of `OSErr'
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:241: error: conflicting types for `OSType'
../loader/qtx/qtxsdk/components.h:11: error: previous declaration of `OSType'
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:440: error: redefinition of `struct Point'
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:446: error: redefinition of `struct Rect'
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:85,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:20,
from demux_mov.c:38:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:111: error: redefinition of `struct ComponentDescription'
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:120: error: redefinition of `struct ResourceSpec'
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:125: error: redefinition of `struct ComponentResource'
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:173: error: redefinition of `struct ComponentParameters'
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:180: error: redefinition of `struct ComponentRecord'
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:185: error: redefinition of `struct ComponentInstanceRecord'
In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h:42,
from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:30,
from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
from /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:20,
from demux_mov.c:38:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:54: error: conflicting types for `srcCopy'
../loader/qtx/qtxsdk/components.h:270: error: previous declaration of `srcCopy'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:55: error: conflicting types for `srcOr'
../loader/qtx/qtxsdk/components.h:271: error: previous declaration of `srcOr'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:56: error: conflicting types for `srcXor'
../loader/qtx/qtxsdk/components.h:272: error: previous declaration of `srcXor'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:57: error: conflicting types for `srcBic'
../loader/qtx/qtxsdk/components.h:273: error: previous declaration of `srcBic'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:58: error: conflicting types for `notSrcCopy'
../loader/qtx/qtxsdk/components.h:274: error: previous declaration of `notSrcCopy'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:59: error: conflicting types for `notSrcOr'
../loader/qtx/qtxsdk/components.h:275: error: previous declaration of `notSrcOr'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:60: error: conflicting types for `notSrcXor'
../loader/qtx/qtxsdk/components.h:276: error: previous declaration of `notSrcXor'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:61: error: conflicting types for `notSrcBic'
../loader/qtx/qtxsdk/components.h:277: error: previous declaration of `notSrcBic'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:62: error: conflicting types for `patCopy'
../loader/qtx/qtxsdk/components.h:278: error: previous declaration of `patCopy'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:63: error: conflicting types for `patOr'
../loader/qtx/qtxsdk/components.h:279: error: previous declaration of `patOr'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:64: error: conflicting types for `patXor'
../loader/qtx/qtxsdk/components.h:280: error: previous declaration of `patXor'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:65: error: conflicting types for `patBic'
../loader/qtx/qtxsdk/components.h:281: error: previous declaration of `patBic'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:66: error: conflicting types for `notPatCopy'
../loader/qtx/qtxsdk/components.h:282: error: previous declaration of `notPatCopy'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:67: error: conflicting types for `notPatOr'
../loader/qtx/qtxsdk/components.h:283: error: previous declaration of `notPatOr'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:68: error: conflicting types for `notPatXor'
../loader/qtx/qtxsdk/components.h:284: error: previous declaration of `notPatXor'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:69: error: conflicting types for `notPatBic'
../loader/qtx/qtxsdk/components.h:285: error: previous declaration of `notPatBic'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:70: error: conflicting types for `grayishTextOr'
../loader/qtx/qtxsdk/components.h:286: error: previous declaration of `grayishTextOr'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:71: error: conflicting types for `hilitetransfermode'
../loader/qtx/qtxsdk/components.h:287: error: previous declaration of `hilitetransfermode'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:72: error: conflicting types for `hilite'
../loader/qtx/qtxsdk/components.h:288: error: previous declaration of `hilite'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:73: error: conflicting types for `blend'
../loader/qtx/qtxsdk/components.h:289: error: previous declaration of `blend'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:74: error: conflicting types for `addPin'
../loader/qtx/qtxsdk/components.h:290: error: previous declaration of `addPin'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:75: error: conflicting types for `addOver'
../loader/qtx/qtxsdk/components.h:291: error: previous declaration of `addOver'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:76: error: conflicting types for `subPin'
../loader/qtx/qtxsdk/components.h:292: error: previous declaration of `subPin'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:77: error: conflicting types for `addMax'
../loader/qtx/qtxsdk/components.h:293: error: previous declaration of `addMax'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:78: error: conflicting types for `adMax'
../loader/qtx/qtxsdk/components.h:294: error: previous declaration of `adMax'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:79: error: conflicting types for `subOver'
../loader/qtx/qtxsdk/components.h:295: error: previous declaration of `subOver'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:80: error: conflicting types for `adMin'
../loader/qtx/qtxsdk/components.h:296: error: previous declaration of `adMin'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:81: error: conflicting types for `ditherCopy'
../loader/qtx/qtxsdk/components.h:297: error: previous declaration of `ditherCopy'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:83: error: conflicting types for `transparent'
../loader/qtx/qtxsdk/components.h:299: error: previous declaration of `transparent'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:83: confused by earlier errors, bailing out
{standard input}:2212:FATAL:.abort detected. Assembly stopping.
gmake[1]: *** [demux_mov.o] Error 1
gmake: *** [libmpdemux/libmpdemux.a] Error 2
[DHCP-250:local/src/MPlayer-cvs] sms% exit
Script done on Tue Nov 4 09:15:02 2003
More information about the MPlayer-users
mailing list