chenyunecjtu / coreavc-for-linux

Automatically exported from code.google.com/p/coreavc-for-linux
GNU General Public License v2.0
0 stars 1 forks source link

Compile error #113

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
on 64 bit linux
and wine version : wine-1.3.24
last svn version

Compilation error 
make[1]: Entering directory `/home/fbn/dev/coreavc-for-linux/loader'
winegcc -D__MINGW32__ -O2 -Icompat -Idshow -Wdisabled-optimization 
-Wno-pointer-sign -Wdeclaration-after-statement -I. -Wall -Wno-switch 
-Wpointer-arith -Wredundant-decls -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFILE_SOURCE -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-DUSE_SHARED_MEM -o ../objs-winelib/DS_Filter.o -c dshow/DS_Filter.c
In file included from dshow/guids.h:10:0,
                 from dshow/iunk.h:9,
                 from dshow/interfaces.h:10,
                 from dshow/inputpin.h:4,
                 from dshow/DS_Filter.h:4,
                 from dshow/DS_Filter.c:7:
./com.h:53:43: warning: ‘__stdcall__’ attribute ignored
./com.h:54:35: warning: ‘__stdcall__’ attribute ignored
./com.h:55:36: warning: ‘__stdcall__’ attribute ignored
./com.h:65:43: warning: ‘__stdcall__’ attribute ignored
./com.h:66:35: warning: ‘__stdcall__’ attribute ignored
./com.h:67:36: warning: ‘__stdcall__’ attribute ignored
./com.h:68:71: warning: ‘__stdcall__’ attribute ignored
In file included from dshow/guids.h:10:0,
                 from dshow/iunk.h:9,
                 from dshow/interfaces.h:10,
                 from dshow/inputpin.h:4,
                 from dshow/DS_Filter.h:4,
                 from dshow/DS_Filter.c:7:
./com.h:83:9: warning: ‘__stdcall__’ attribute ignored
./com.h:84:1: warning: ‘__stdcall__’ attribute ignored
./com.h:85:1: warning: ‘__stdcall__’ attribute ignored
In file included from ./wine/module.h:10:0,
                 from dshow/guids.h:14,
                 from dshow/iunk.h:9,
                 from dshow/interfaces.h:10,
                 from dshow/inputpin.h:4,
                 from dshow/DS_Filter.h:4,
                 from dshow/DS_Filter.c:7:
./wine/windef.h:103:0: warning: "__stdcall" redefined
<command-line>:0:0: note: this is the location of the previous definition
./wine/windef.h:104:0: warning: "__cdecl" redefined
<command-line>:0:0: note: this is the location of the previous definition
In file included from ./wine/pe_image.h:4:0,
                 from ./wine/module.h:11,
                 from dshow/guids.h:14,
                 from dshow/iunk.h:9,
                 from dshow/interfaces.h:10,
                 from dshow/inputpin.h:4,
                 from dshow/DS_Filter.h:4,
                 from dshow/DS_Filter.c:7:
./wine/winnt.h:623:2: error: #error You need to define a CONTEXT for your CPU
./wine/winnt.h:626:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘*’ token
./wine/winnt.h:750:2: error: #error You need to define DEFINE_REGS_ENTRYPOINT 
macros for your CPU
./wine/winnt.h:761:3: error: #error You must define GET_IP for this CPU
./wine/winnt.h:1015:3: error: expected specifier-qualifier-list before 
‘PCONTEXT’
./wine/winnt.h:1028:37: error: expected declaration specifiers or ‘...’ 
before ‘PCONTEXT’
In file included from ./wine/pe_image.h:5:0,
                 from ./wine/module.h:11,
                 from dshow/guids.h:14,
                 from dshow/iunk.h:9,
                 from dshow/interfaces.h:10,
                 from dshow/inputpin.h:4,
                 from dshow/DS_Filter.h:4,
                 from dshow/DS_Filter.c:7:
./wine/winbase.h:1338:48: error: expected declaration specifiers or ‘...’ 
before ‘CONTEXT’
./wine/winbase.h:1477:54: warning: type defaults to ‘int’ in declaration of 
‘CONTEXT’
./wine/winbase.h:1477:62: error: expected ‘;’, ‘,’ or ‘)’ before 
‘*’ token
In file included from dshow/inputpin.h:4:0,
                 from dshow/DS_Filter.h:4,
                 from dshow/DS_Filter.c:7:
dshow/interfaces.h:44:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:44:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:44:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:49:22: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:51:21: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:52:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:54:23: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:63:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:63:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:63:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:67:27: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:70:20: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:71:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:72:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:74:23: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:75:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:77:18: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:78:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:80:21: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:82:18: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:85:25: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:86:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:87:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:88:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:92:20: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:100:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:100:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:100:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:106:22: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:109:21: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:111:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:114:23: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:122:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:122:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:122:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:125:21: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:126:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:129:18: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:132:17: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:138:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:140:11: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:144:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:146:9: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:148:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:150:11: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:155:11: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:157:11: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:162:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:164:8: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:169:23: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:175:22: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:184:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:184:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:184:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:187:21: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:188:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:189:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:191:9: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:195:7: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:197:23: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:199:24: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:201:19: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:204:18: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:207:7: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:210:26: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:212:27: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:221:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:221:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:221:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:226:24: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:229:24: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:231:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:233:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:239:19: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:242:23: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:251:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:251:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:251:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:254:23: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:257:18: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:259:21: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:261:17: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:265:19: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:266:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:274:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:274:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:274:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:276:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:277:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:278:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:279:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:280:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:281:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:282:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:283:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:284:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:285:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:286:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:294:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:294:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:294:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:296:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:297:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:298:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:299:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:300:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:301:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:302:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:303:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:315:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:315:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:315:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:317:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:318:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:319:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:320:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:321:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:322:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:323:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:324:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:325:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:326:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:327:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:328:5: warning: ‘__stdcall__’ attribute ignored
dshow/interfaces.h:329:5: warning: ‘__stdcall__’ attribute ignored
In file included from dshow/DS_Filter.h:5:0,
                 from dshow/DS_Filter.c:7:
dshow/outputpin.h:16:1: warning: ‘__stdcall__’ attribute ignored
In file included from dshow/DS_Filter.c:15:0:
dshow/filterprop.h:11:5: warning: ‘__stdcall__’ attribute ignored
dshow/filterprop.h:11:5: warning: ‘__stdcall__’ attribute ignored
dshow/filterprop.h:11:5: warning: ‘__stdcall__’ attribute ignored
dshow/filterprop.h:13:5: warning: ‘__stdcall__’ attribute ignored
dshow/DS_Filter.c:18:1: warning: ‘__stdcall__’ attribute ignored
dshow/DS_Filter.c:32:1: warning: ‘__stdcall__’ attribute ignored
dshow/DS_Filter.c:33:1: warning: ‘__stdcall__’ attribute ignored
dshow/DS_Filter.c:100:1: warning: ‘__stdcall__’ attribute ignored
dshow/DS_Filter.c: In function ‘DS_Filter_CopySample’:
dshow/DS_Filter.c:138:5: warning: passing argument 2 of 
‘pSample->vt->GetTime’ from incompatible pointer type
dshow/DS_Filter.c:138:5: note: expected ‘REFERENCE_TIME *’ but argument is 
of type ‘uint64_t *’
dshow/DS_Filter.c: In function ‘GetProductVersion’:
dshow/DS_Filter.c:161:11: warning: cast to pointer from integer of different 
size
winegcc: x86_64-pc-linux-gnu-gcc failed
make[1]: *** [../objs-winelib/DS_Filter.o] Error 2
make[1]: Leaving directory `/home/fbn/dev/coreavc-for-linux/loader'
make: *** [loader] Error 2

Original issue reported on code.google.com by ftai...@gmail.com on 30 Jul 2011 at 10:41

GoogleCodeExporter commented 8 years ago
Same issue here.

Original comment by biergaiz...@gmail.com on 20 Aug 2013 at 10:06