[Wine] Re: unable to compile

KGJ WOLFProductions at gmx.de
Tue May 2 09:07:54 CDT 2006


Hi,

CrashedAgain wrote:
> Perhaps there is something wrong with my system???
>
> I just tried to compile wine 0.9.12 & ended up with a bunch of errors
> in the 'make depend && make". Here is the tail end of the output:
>
> bitblt.c:1276: warning: type defaults to `int' in declaration of
> `wine_dbg_log'
> bitblt.c:1276: warning: data definition has no type or storage class
> bitblt.c:1283: error: redefinition of `__dbcl'
> bitblt.c:1276: error: `__dbcl' previously defined here
> bitblt.c:1283: error: syntax error before string constant
> bitblt.c:1283: warning: type defaults to `int' in declaration of
> `wine_dbg_log'
> bitblt.c:1283: warning: data definition has no type or storage class
> bitblt.c:1295: error: redefinition of `__dbcl'
> bitblt.c:1283: error: `__dbcl' previously defined here
> bitblt.c:1295: error: syntax error before string constant
> bitblt.c:1295: warning: type defaults to `int' in declaration of
> `wine_dbg_log'
> bitblt.c:1295: warning: data definition has no type or storage class
> bitblt.c:1300: warning: type defaults to `int' in declaration of
> `width'
> bitblt.c:1300: error: `width' used prior to declaration
> bitblt.c:1300: error: `visRectDst' undeclared here (not in a function)
> bitblt.c:1300: error: `visRectDst' undeclared here (not in a function)
> bitblt.c:1300: warning: data definition has no type or storage class
> bitblt.c:1301: warning: type defaults to `int' in declaration of
> `height'
> bitblt.c:1301: error: `visRectDst' undeclared here (not in a function)
> bitblt.c:1301: error: `visRectDst' undeclared here (not in a function)
> bitblt.c:1301: warning: data definition has no type or storage class
> bitblt.c:1303: error: syntax error before "if"
> bitblt.c:1312: error: syntax error before '->' token
> bitblt.c:1312: warning: type defaults to `int' in declaration of
> `XSetForeground'
> bitblt.c:1312: warning: data definition has no type or storage class
> bitblt.c:1313: error: syntax error before '->' token
> bitblt.c:1313: warning: type defaults to `int' in declaration of
> `XSetFillStyle'
> bitblt.c:1313: warning: data definition has no type or storage class
> bitblt.c:1315: error: syntax error before '->' token
> bitblt.c:1318: warning: type defaults to `int' in declaration of
> `XFillRectangle'
> bitblt.c:1318: warning: data definition has no type or storage class
> bitblt.c:1319: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1319: error: conflicting types for `wine_tsx11_unlock'
> x11drv.h:73: error: previous declaration of `wine_tsx11_unlock'
> bitblt.c:1319: warning: data definition has no type or storage class
> bitblt.c:1320: error: syntax error before "return"
> bitblt.c:1324: error: syntax error before '->' token
> bitblt.c:1324: warning: type defaults to `int' in declaration of
> `XSetFunction'
> bitblt.c:1324: warning: data definition has no type or storage class
> bitblt.c:1335: error: syntax error before '->' token
> bitblt.c:1335: warning: type defaults to `int' in declaration of
> `XSetFunction'
> bitblt.c:1335: warning: data definition has no type or storage class
> bitblt.c:1336: error: syntax error before '->' token
> bitblt.c:1336: warning: type defaults to `int' in declaration of
> `XSetForeground'
> bitblt.c:1336: warning: data definition has no type or storage class
> bitblt.c:1337: error: syntax error before '->' token
> bitblt.c:1337: warning: type defaults to `int' in declaration of
> `XSetFillStyle'
> bitblt.c:1337: warning: data definition has no type or storage class
> bitblt.c:1339: error: syntax error before '->' token
> bitblt.c:1342: warning: type defaults to `int' in declaration of
> `XFillRectangle'
> bitblt.c:1342: warning: data definition has no type or storage class
> bitblt.c:1343: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1343: warning: data definition has no type or storage class
> bitblt.c:1344: error: syntax error before "return"
> bitblt.c:1350: error: syntax error before '->' token
> bitblt.c:1350: warning: type defaults to `int' in declaration of
> `XSetFunction'
> bitblt.c:1350: warning: data definition has no type or storage class
> bitblt.c:1351: error: syntax error before '->' token
> bitblt.c:1354: warning: type defaults to `int' in declaration of
> `XFillRectangle'
> bitblt.c:1354: warning: data definition has no type or storage class
> bitblt.c:1355: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1355: warning: data definition has no type or storage class
> bitblt.c:1356: error: syntax error before '}' token
> bitblt.c:1363: error: syntax error before '->' token
> bitblt.c:1363: warning: type defaults to `int' in declaration of
> `XSetFunction'
> bitblt.c:1363: warning: data definition has no type or storage class
> bitblt.c:1364: error: syntax error before '->' token
> bitblt.c:1367: warning: type defaults to `int' in declaration of
> `XFillRectangle'
> bitblt.c:1367: warning: data definition has no type or storage class
> bitblt.c:1368: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1368: warning: data definition has no type or storage class
> bitblt.c:1369: error: syntax error before '}' token
> bitblt.c:1376: error: syntax error before '->' token
> bitblt.c:1376: warning: type defaults to `int' in declaration of
> `XSetFunction'
> bitblt.c:1376: warning: data definition has no type or storage class
> bitblt.c:1377: error: syntax error before '->' token
> bitblt.c:1383: warning: type defaults to `int' in declaration of
> `XCopyArea'
> bitblt.c:1383: warning: data definition has no type or storage class
> bitblt.c:1384: error: syntax error before '->' token
> bitblt.c:1385: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1385: warning: data definition has no type or storage class
> bitblt.c:1386: error: syntax error before "return"
> bitblt.c:1392: error: syntax error before '&' token
> bitblt.c:1392: warning: type defaults to `int' in declaration of
> `get_colors'
> bitblt.c:1392: error: conflicting types for `get_colors'
> bitblt.c:539: error: previous declaration of `get_colors'
> bitblt.c:1392: warning: data definition has no type or storage class
> bitblt.c:1393: warning: type defaults to `int' in declaration of
> `wine_tsx11_lock'
> bitblt.c:1393: error: conflicting types for `wine_tsx11_lock'
> x11drv.h:72: error: previous declaration of `wine_tsx11_lock'
> bitblt.c:1393: warning: data definition has no type or storage class
> bitblt.c:1395: error: syntax error before '->' token
> bitblt.c:1395: warning: type defaults to `int' in declaration of
> `XSetBackground'
> bitblt.c:1395: warning: data definition has no type or storage class
> bitblt.c:1396: error: syntax error before '->' token
> bitblt.c:1396: warning: type defaults to `int' in declaration of
> `XSetForeground'
> bitblt.c:1396: warning: data definition has no type or storage class
> bitblt.c:1397: error: syntax error before '->' token
> bitblt.c:1397: warning: type defaults to `int' in declaration of
> `XSetFunction'
> bitblt.c:1397: warning: data definition has no type or storage class
> bitblt.c:1398: error: syntax error before '->' token
> bitblt.c:1404: warning: type defaults to `int' in declaration of
> `XCopyPlane'
> bitblt.c:1404: warning: data definition has no type or storage class
> bitblt.c:1405: error: syntax error before '->' token
> bitblt.c:1406: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1406: warning: data definition has no type or storage class
> bitblt.c:1407: error: syntax error before "return"
> bitblt.c:1413: warning: type defaults to `int' in declaration of
> `wine_tsx11_lock'
> bitblt.c:1413: warning: data definition has no type or storage class
> bitblt.c:1414: error: syntax error before '->' token
> bitblt.c:1414: warning: type defaults to `int' in declaration of
> `XSetFunction'
> bitblt.c:1414: warning: data definition has no type or storage class
> bitblt.c:1415: error: syntax error before '->' token
> bitblt.c:1418: warning: type defaults to `int' in declaration of
> `XFillRectangle'
> bitblt.c:1418: warning: data definition has no type or storage class
> bitblt.c:1419: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1419: warning: data definition has no type or storage class
> bitblt.c:1420: error: syntax error before "return"
> bitblt.c:1429: error: syntax error before '->' token
> bitblt.c:1431: error: syntax error before '->' token
> bitblt.c:1431: warning: type defaults to `int' in declaration of
> `XSetFillStyle'
> bitblt.c:1431: warning: data definition has no type or storage class
> bitblt.c:1433: error: syntax error before '->' token
> bitblt.c:1436: warning: type defaults to `int' in declaration of
> `XFillRectangle'
> bitblt.c:1436: warning: data definition has no type or storage class
> bitblt.c:1437: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1437: warning: data definition has no type or storage class
> bitblt.c:1438: error: syntax error before "return"
> bitblt.c:1441: warning: type defaults to `int' in declaration of
> `wine_tsx11_lock'
> bitblt.c:1441: warning: data definition has no type or storage class
> bitblt.c:1443: warning: type defaults to `int' in declaration of
> `tmpGC'
> bitblt.c:1443: error: redefinition of `tmpGC'
> bitblt.c:1229: error: `tmpGC' previously defined here
> bitblt.c:1443: warning: implicit declaration of function `XCreateGC'
> bitblt.c:1443: error: `physDevDst' undeclared here (not in a function)
> bitblt.c:1443: error: initializer element is not constant
> bitblt.c:1443: warning: data definition has no type or storage class
> bitblt.c:1444: warning: type defaults to `int' in declaration of
> `XSetSubwindowMode'
> bitblt.c:1444: warning: parameter names (without types) in function
> declaration
> bitblt.c:1444: warning: data definition has no type or storage class
> bitblt.c:1445: warning: type defaults to `int' in declaration of
> `XSetGraphicsExposures'
> bitblt.c:1445: warning: parameter names (without types) in function
> declaration
> bitblt.c:1445: warning: data definition has no type or storage class
> bitblt.c:1446: warning: type defaults to `int' in declaration of
> `pixmaps'
> bitblt.c:1446: warning: implicit declaration of function
> `XCreatePixmap'
> bitblt.c:1447: error: `physDevDst' undeclared here (not in a function)
> bitblt.c:1447: error: invalid initializer
> bitblt.c:1447: warning: data definition has no type or storage class
> bitblt.c:1448: error: syntax error before "if"
> bitblt.c:1465: warning: type defaults to `int' in declaration of
> `destUsed'
> bitblt.c:1465: warning: data definition has no type or storage class
> bitblt.c:1467: error: syntax error before "for"
> bitblt.c:1467: warning: type defaults to `int' in declaration of
> `opcode'
> bitblt.c:1467: warning: data definition has no type or storage class
> bitblt.c:1467: error: syntax error before '++' token
> bitblt.c:1470: error: syntax error before '(' token
> bitblt.c:1502: error: syntax error before '->' token
> bitblt.c:1502: warning: type defaults to `int' in declaration of
> `XSetFunction'
> bitblt.c:1502: warning: data definition has no type or storage class
> bitblt.c:1503: error: syntax error before '->' token
> bitblt.c:1505: error: syntax error before '[' token
> bitblt.c:1505: warning: type defaults to `int' in declaration of
> `XFreePixmap'
> bitblt.c:1505: warning: data definition has no type or storage class
> bitblt.c:1508: warning: type defaults to `int' in declaration of
> `XFreeGC'
> bitblt.c:1508: warning: parameter names (without types) in function
> declaration
> bitblt.c:1508: warning: data definition has no type or storage class
> bitblt.c:1509: warning: type defaults to `int' in declaration of
> `wine_tsx11_unlock'
> bitblt.c:1509: warning: data definition has no type or storage class
> bitblt.c:1510: error: syntax error before "return"
> bitblt.c:1517: error: syntax error before '*' token
> bitblt.c: In function `X11DRV_PatBlt':
> bitblt.c:1521: error: `physDev' undeclared (first use in this function)
> bitblt.c:1522: error: `left' undeclared (first use in this function)
> bitblt.c:1522: error: `top' undeclared (first use in this function)
> bitblt.c:1522: error: `rop' undeclared (first use in this function)
> bitblt.c: At top level:
> bitblt.c:1531: error: syntax error before '*' token
> bitblt.c: In function `X11DRV_BitBlt':
> bitblt.c:1539: error: `rop' undeclared (first use in this function)
> bitblt.c:1546: error: `physDevDst' undeclared (first use in this
> function)
> bitblt.c:1547: error: `physDevSrc' undeclared (first use in this
> function)
> bitblt.c:1595: error: `GXcopy' undeclared (first use in this function)
> bitblt.c: At top level:
> bitblt.c:1622: error: syntax error before '*' token
> bitblt.c: In function `X11DRV_StretchBlt':
> bitblt.c:1629: error: `physDevDst' undeclared (first use in this
> function)
> bitblt.c:1630: error: `physDevSrc' undeclared (first use in this
> function)
> bitblt.c:1634: error: `rop' undeclared (first use in this function)
> bitblt.c: At top level:
> bitblt.c:856: warning: `BITBLT_GetSrcAreaStretch' defined but not used
> bitblt.c:906: warning: `BITBLT_GetSrcArea' defined but not used
> bitblt.c:1028: warning: `BITBLT_GetDstArea' defined but not used
> bitblt.c:1080: warning: `BITBLT_PutDstArea' defined but not used
> {standard input}: Assembler messages:
> {standard input}:3403: Error: symbol `__dbcl' is already defined
> {standard input}:3409: Error: symbol `__dbcl' is already defined
> {standard input}:3415: Error: symbol `__dbcl' is already defined
> {standard input}:3571: Error: symbol `tmpGC' is already defined
> make[2]: *** [bitblt.o] Error 1
> make[2]: Leaving directory
> `/home/crashedagain/tmp/wine0912/wine-0.9.12/dlls/x11drv'
> make[1]: *** [x11drv] Error 2
> make[1]: Leaving directory
> `/home/crashedagain/tmp/wine0912/wine-0.9.12/dlls'
> make: *** [dlls] Error 2
> desktop:/home/crashedagain/tmp/wine0912
>
> These look like bugs in the code though, don't they?
Yeah, they look. But I would guess that your system is missing some
libraries or headers needed by wine. Could you post the output of
"./configure" ? I'm not sure if it helps but I would search for
something obvious there (especially in the first part).


Greetings KGJ



More information about the wine-users mailing list