Advertisement
andoru

DosBox make error

Mar 19th, 2014
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.28 KB | None
  1. $ make
  2. make all-recursive
  3. make[1]: Entering directory `/home/andoru/downloads/dosbox-0.74'
  4. Making all in src
  5. make[2]: Entering directory `/home/andoru/downloads/dosbox-0.74/src'
  6. Making all in cpu
  7. make[3]: Entering directory `/home/andoru/downloads/dosbox-0.74/src/cpu'
  8. Making all in core_full
  9. make[4]: Entering directory `/home/andoru/downloads/dosbox-0.74/src/cpu/core_full'
  10. make[4]: Nothing to be done for `all'.
  11. make[4]: Leaving directory `/home/andoru/downloads/dosbox-0.74/src/cpu/core_full'
  12. Making all in core_normal
  13. make[4]: Entering directory `/home/andoru/downloads/dosbox-0.74/src/cpu/core_normal'
  14. make[4]: Nothing to be done for `all'.
  15. make[4]: Leaving directory `/home/andoru/downloads/dosbox-0.74/src/cpu/core_normal'
  16. Making all in core_dyn_x86
  17. make[4]: Entering directory `/home/andoru/downloads/dosbox-0.74/src/cpu/core_dyn_x86'
  18. make[4]: Nothing to be done for `all'.
  19. make[4]: Leaving directory `/home/andoru/downloads/dosbox-0.74/src/cpu/core_dyn_x86'
  20. Making all in core_dynrec
  21. make[4]: Entering directory `/home/andoru/downloads/dosbox-0.74/src/cpu/core_dynrec'
  22. make[4]: Nothing to be done for `all'.
  23. make[4]: Leaving directory `/home/andoru/downloads/dosbox-0.74/src/cpu/core_dynrec'
  24. make[4]: Entering directory `/home/andoru/downloads/dosbox-0.74/src/cpu'
  25. g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -MT callback.o -MD -MP -MF .deps/callback.Tpo -c -o callback.o callback.cpp
  26. mv -f .deps/callback.Tpo .deps/callback.Po
  27. g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -MT cpu.o -MD -MP -MF .deps/cpu.Tpo -c -o cpu.o cpu.cpp
  28. In file included from ../../include/programs.h:28:0,
  29. from cpu.cpp:29:
  30. ../../include/dos_inc.h: In member function ‘void DOS_MCB::SetFileName(const char*)’:
  31. ../../include/dos_inc.h:543:78: error: expected primary-expression before ‘,’ token
  32. void SetFileName(char const * const _name) { MEM_BlockWrite(pt+offsetof(sMCB,filename),_name,8); }
  33. ^
  34. ../../include/dos_inc.h:543:79: error: ‘filename’ was not declared in this scope
  35. void SetFileName(char const * const _name) { MEM_BlockWrite(pt+offsetof(sMCB,filename),_name,8); }
  36. ^
  37. ../../include/dos_inc.h:543:87: error: ‘offsetof’ was not declared in this scope
  38. void SetFileName(char const * const _name) { MEM_BlockWrite(pt+offsetof(sMCB,filename),_name,8); }
  39. ^
  40. ../../include/dos_inc.h: In member function ‘void DOS_MCB::GetFileName(char*)’:
  41. ../../include/dos_inc.h:544:71: error: expected primary-expression before ‘,’ token
  42. void GetFileName(char * const _name) { MEM_BlockRead(pt+offsetof(sMCB,filename),_name,8);_name[8]=0;}
  43. ^
  44. ../../include/dos_inc.h:544:72: error: ‘filename’ was not declared in this scope
  45. void GetFileName(char * const _name) { MEM_BlockRead(pt+offsetof(sMCB,filename),_name,8);_name[8]=0;}
  46. ^
  47. ../../include/dos_inc.h:544:80: error: ‘offsetof’ was not declared in this scope
  48. void GetFileName(char * const _name) { MEM_BlockRead(pt+offsetof(sMCB,filename),_name,8);_name[8]=0;}
  49. ^
  50. cpu.cpp: In member function ‘void TaskStateSegment::Get_SSx_ESPx(Bitu, Bitu&, Bitu&)’:
  51. cpu.cpp:294:37: error: expected primary-expression before ‘,’ token
  52. PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
  53. ^
  54. cpu.cpp:294:38: error: ‘esp0’ was not declared in this scope
  55. PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
  56. ^
  57. cpu.cpp:294:42: error: ‘offsetof’ was not declared in this scope
  58. PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
  59. ^
  60. cpu.cpp:298:37: error: expected primary-expression before ‘,’ token
  61. PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
  62. ^
  63. cpu.cpp:298:38: error: ‘sp0’ was not declared in this scope
  64. PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
  65. ^
  66. cpu.cpp:298:41: error: ‘offsetof’ was not declared in this scope
  67. PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
  68. ^
  69. cpu.cpp: In function ‘bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)’:
  70. cpu.cpp:362:49: error: expected primary-expression before ‘,’ token
  71. new_cr3=mem_readd(new_tss.base+offsetof(TSS_32,cr3));
  72. ^
  73. cpu.cpp:362:50: error: ‘cr3’ was not declared in this scope
  74. new_cr3=mem_readd(new_tss.base+offsetof(TSS_32,cr3));
  75. ^
  76. cpu.cpp:362:53: error: ‘offsetof’ was not declared in this scope
  77. new_cr3=mem_readd(new_tss.base+offsetof(TSS_32,cr3));
  78. ^
  79. cpu.cpp:363:49: error: expected primary-expression before ‘,’ token
  80. new_eip=mem_readd(new_tss.base+offsetof(TSS_32,eip));
  81. ^
  82. cpu.cpp:363:50: error: ‘eip’ was not declared in this scope
  83. new_eip=mem_readd(new_tss.base+offsetof(TSS_32,eip));
  84. ^
  85. cpu.cpp:364:52: error: expected primary-expression before ‘,’ token
  86. new_eflags=mem_readd(new_tss.base+offsetof(TSS_32,eflags));
  87. ^
  88. cpu.cpp:364:53: error: ‘eflags’ was not declared in this scope
  89. new_eflags=mem_readd(new_tss.base+offsetof(TSS_32,eflags));
  90. ^
  91. cpu.cpp:365:49: error: expected primary-expression before ‘,’ token
  92. new_eax=mem_readd(new_tss.base+offsetof(TSS_32,eax));
  93. ^
  94. cpu.cpp:365:50: error: ‘eax’ was not declared in this scope
  95. new_eax=mem_readd(new_tss.base+offsetof(TSS_32,eax));
  96. ^
  97. cpu.cpp:366:49: error: expected primary-expression before ‘,’ token
  98. new_ecx=mem_readd(new_tss.base+offsetof(TSS_32,ecx));
  99. ^
  100. cpu.cpp:366:50: error: ‘ecx’ was not declared in this scope
  101. new_ecx=mem_readd(new_tss.base+offsetof(TSS_32,ecx));
  102. ^
  103. cpu.cpp:367:49: error: expected primary-expression before ‘,’ token
  104. new_edx=mem_readd(new_tss.base+offsetof(TSS_32,edx));
  105. ^
  106. cpu.cpp:367:50: error: ‘edx’ was not declared in this scope
  107. new_edx=mem_readd(new_tss.base+offsetof(TSS_32,edx));
  108. ^
  109. cpu.cpp:368:49: error: expected primary-expression before ‘,’ token
  110. new_ebx=mem_readd(new_tss.base+offsetof(TSS_32,ebx));
  111. ^
  112. cpu.cpp:368:50: error: ‘ebx’ was not declared in this scope
  113. new_ebx=mem_readd(new_tss.base+offsetof(TSS_32,ebx));
  114. ^
  115. cpu.cpp:369:49: error: expected primary-expression before ‘,’ token
  116. new_esp=mem_readd(new_tss.base+offsetof(TSS_32,esp));
  117. ^
  118. cpu.cpp:369:50: error: ‘esp’ was not declared in this scope
  119. new_esp=mem_readd(new_tss.base+offsetof(TSS_32,esp));
  120. ^
  121. cpu.cpp:370:49: error: expected primary-expression before ‘,’ token
  122. new_ebp=mem_readd(new_tss.base+offsetof(TSS_32,ebp));
  123. ^
  124. cpu.cpp:370:50: error: ‘ebp’ was not declared in this scope
  125. new_ebp=mem_readd(new_tss.base+offsetof(TSS_32,ebp));
  126. ^
  127. cpu.cpp:371:49: error: expected primary-expression before ‘,’ token
  128. new_edi=mem_readd(new_tss.base+offsetof(TSS_32,edi));
  129. ^
  130. cpu.cpp:371:50: error: ‘edi’ was not declared in this scope
  131. new_edi=mem_readd(new_tss.base+offsetof(TSS_32,edi));
  132. ^
  133. cpu.cpp:372:49: error: expected primary-expression before ‘,’ token
  134. new_esi=mem_readd(new_tss.base+offsetof(TSS_32,esi));
  135. ^
  136. cpu.cpp:372:50: error: ‘esi’ was not declared in this scope
  137. new_esi=mem_readd(new_tss.base+offsetof(TSS_32,esi));
  138. ^
  139. cpu.cpp:374:48: error: expected primary-expression before ‘,’ token
  140. new_es=mem_readw(new_tss.base+offsetof(TSS_32,es));
  141. ^
  142. cpu.cpp:375:48: error: expected primary-expression before ‘,’ token
  143. new_cs=mem_readw(new_tss.base+offsetof(TSS_32,cs));
  144. ^
  145. cpu.cpp:376:48: error: expected primary-expression before ‘,’ token
  146. new_ss=mem_readw(new_tss.base+offsetof(TSS_32,ss));
  147. ^
  148. cpu.cpp:377:48: error: expected primary-expression before ‘,’ token
  149. new_ds=mem_readw(new_tss.base+offsetof(TSS_32,ds));
  150. ^
  151. cpu.cpp:378:48: error: expected primary-expression before ‘,’ token
  152. new_fs=mem_readw(new_tss.base+offsetof(TSS_32,fs));
  153. ^
  154. cpu.cpp:379:48: error: expected primary-expression before ‘,’ token
  155. new_gs=mem_readw(new_tss.base+offsetof(TSS_32,gs));
  156. ^
  157. cpu.cpp:380:49: error: expected primary-expression before ‘,’ token
  158. new_ldt=mem_readw(new_tss.base+offsetof(TSS_32,ldt));
  159. ^
  160. cpu.cpp:380:50: error: ‘ldt’ was not declared in this scope
  161. new_ldt=mem_readw(new_tss.base+offsetof(TSS_32,ldt));
  162. ^
  163. cpu.cpp:403:42: error: expected primary-expression before ‘,’ token
  164. mem_writed(cpu_tss.base+offsetof(TSS_32,eflags),old_flags);
  165. ^
  166. cpu.cpp:403:43: error: ‘eflags’ was not declared in this scope
  167. mem_writed(cpu_tss.base+offsetof(TSS_32,eflags),old_flags);
  168. ^
  169. cpu.cpp:403:49: error: ‘offsetof’ was not declared in this scope
  170. mem_writed(cpu_tss.base+offsetof(TSS_32,eflags),old_flags);
  171. ^
  172. cpu.cpp:404:42: error: expected primary-expression before ‘,’ token
  173. mem_writed(cpu_tss.base+offsetof(TSS_32,eip),old_eip);
  174. ^
  175. cpu.cpp:404:43: error: ‘eip’ was not declared in this scope
  176. mem_writed(cpu_tss.base+offsetof(TSS_32,eip),old_eip);
  177. ^
  178. cpu.cpp:406:42: error: expected primary-expression before ‘,’ token
  179. mem_writed(cpu_tss.base+offsetof(TSS_32,eax),reg_eax);
  180. ^
  181. cpu.cpp:406:43: error: ‘eax’ was not declared in this scope
  182. mem_writed(cpu_tss.base+offsetof(TSS_32,eax),reg_eax);
  183. ^
  184. cpu.cpp:407:42: error: expected primary-expression before ‘,’ token
  185. mem_writed(cpu_tss.base+offsetof(TSS_32,ecx),reg_ecx);
  186. ^
  187. cpu.cpp:407:43: error: ‘ecx’ was not declared in this scope
  188. mem_writed(cpu_tss.base+offsetof(TSS_32,ecx),reg_ecx);
  189. ^
  190. cpu.cpp:408:42: error: expected primary-expression before ‘,’ token
  191. mem_writed(cpu_tss.base+offsetof(TSS_32,edx),reg_edx);
  192. ^
  193. cpu.cpp:408:43: error: ‘edx’ was not declared in this scope
  194. mem_writed(cpu_tss.base+offsetof(TSS_32,edx),reg_edx);
  195. ^
  196. cpu.cpp:409:42: error: expected primary-expression before ‘,’ token
  197. mem_writed(cpu_tss.base+offsetof(TSS_32,ebx),reg_ebx);
  198. ^
  199. cpu.cpp:409:43: error: ‘ebx’ was not declared in this scope
  200. mem_writed(cpu_tss.base+offsetof(TSS_32,ebx),reg_ebx);
  201. ^
  202. cpu.cpp:410:42: error: expected primary-expression before ‘,’ token
  203. mem_writed(cpu_tss.base+offsetof(TSS_32,esp),reg_esp);
  204. ^
  205. cpu.cpp:410:43: error: ‘esp’ was not declared in this scope
  206. mem_writed(cpu_tss.base+offsetof(TSS_32,esp),reg_esp);
  207. ^
  208. cpu.cpp:411:42: error: expected primary-expression before ‘,’ token
  209. mem_writed(cpu_tss.base+offsetof(TSS_32,ebp),reg_ebp);
  210. ^
  211. cpu.cpp:411:43: error: ‘ebp’ was not declared in this scope
  212. mem_writed(cpu_tss.base+offsetof(TSS_32,ebp),reg_ebp);
  213. ^
  214. cpu.cpp:412:42: error: expected primary-expression before ‘,’ token
  215. mem_writed(cpu_tss.base+offsetof(TSS_32,esi),reg_esi);
  216. ^
  217. cpu.cpp:412:43: error: ‘esi’ was not declared in this scope
  218. mem_writed(cpu_tss.base+offsetof(TSS_32,esi),reg_esi);
  219. ^
  220. cpu.cpp:413:42: error: expected primary-expression before ‘,’ token
  221. mem_writed(cpu_tss.base+offsetof(TSS_32,edi),reg_edi);
  222. ^
  223. cpu.cpp:413:43: error: ‘edi’ was not declared in this scope
  224. mem_writed(cpu_tss.base+offsetof(TSS_32,edi),reg_edi);
  225. ^
  226. cpu.cpp:415:42: error: expected primary-expression before ‘,’ token
  227. mem_writed(cpu_tss.base+offsetof(TSS_32,es),SegValue(es));
  228. ^
  229. cpu.cpp:416:42: error: expected primary-expression before ‘,’ token
  230. mem_writed(cpu_tss.base+offsetof(TSS_32,cs),SegValue(cs));
  231. ^
  232. cpu.cpp:417:42: error: expected primary-expression before ‘,’ token
  233. mem_writed(cpu_tss.base+offsetof(TSS_32,ss),SegValue(ss));
  234. ^
  235. cpu.cpp:418:42: error: expected primary-expression before ‘,’ token
  236. mem_writed(cpu_tss.base+offsetof(TSS_32,ds),SegValue(ds));
  237. ^
  238. cpu.cpp:419:42: error: expected primary-expression before ‘,’ token
  239. mem_writed(cpu_tss.base+offsetof(TSS_32,fs),SegValue(fs));
  240. ^
  241. cpu.cpp:420:42: error: expected primary-expression before ‘,’ token
  242. mem_writed(cpu_tss.base+offsetof(TSS_32,gs),SegValue(gs));
  243. ^
  244. cpu.cpp:428:43: error: expected primary-expression before ‘,’ token
  245. mem_writed(new_tss.base+offsetof(TSS_32,back),cpu_tss.selector);
  246. ^
  247. cpu.cpp:428:44: error: ‘back’ was not declared in this scope
  248. mem_writed(new_tss.base+offsetof(TSS_32,back),cpu_tss.selector);
  249. ^
  250. cpu.cpp:428:48: error: ‘offsetof’ was not declared in this scope
  251. mem_writed(new_tss.base+offsetof(TSS_32,back),cpu_tss.selector);
  252. ^
  253. cpu.cpp:430:43: error: expected primary-expression before ‘,’ token
  254. mem_writew(new_tss.base+offsetof(TSS_16,back),cpu_tss.selector);
  255. ^
  256. cpu.cpp:430:44: error: ‘back’ was not declared in this scope
  257. mem_writew(new_tss.base+offsetof(TSS_16,back),cpu_tss.selector);
  258. ^
  259. cpu.cpp:430:48: error: ‘offsetof’ was not declared in this scope
  260. mem_writew(new_tss.base+offsetof(TSS_16,back),cpu_tss.selector);
  261. ^
  262. make[4]: *** [cpu.o] Error 1
  263. make[4]: Leaving directory `/home/andoru/downloads/dosbox-0.74/src/cpu'
  264. make[3]: *** [all-recursive] Error 1
  265. make[3]: Leaving directory `/home/andoru/downloads/dosbox-0.74/src/cpu'
  266. make[2]: *** [all-recursive] Error 1
  267. make[2]: Leaving directory `/home/andoru/downloads/dosbox-0.74/src'
  268. make[1]: *** [all-recursive] Error 1
  269. make[1]: Leaving directory `/home/andoru/downloads/dosbox-0.74'
  270. make: *** [all] Error 2
Advertisement
RAW Paste Data Copied
Advertisement