Jump to content

Error in Make running WineCVS.sh [solved]


Recommended Posts

Hi Everyone,

 

I am trying to install CedegaCVS using the WineCVS from Linux-Gamers site and I have search all over for the fix but after trying everything I have found I still get the same error. Here is the error code:

 

Compiling ...

 

--------- Error log - file /root/.WineCVS/sources/cvscedega/ErrorLog : ---------

ts_xlib.c:1175: warning: return type defaults to `int'

ts_xlib.c: In function `TSXOpenIM':

ts_xlib.c:1176: error: `XIM' undeclared (first use in this function)

ts_xlib.c:1176: error: syntax error before "r"

ts_xlib.c:1178: error: `r' undeclared (first use in this function)

ts_xlib.c:1178: warning: implicit declaration of function `XOpenIM'

ts_xlib.c:1178: error: `a0' undeclared (first use in this function)

ts_xlib.c:1178: error: `a1' undeclared (first use in this function)

ts_xlib.c:1178: error: `a2' undeclared (first use in this function)

ts_xlib.c:1178: error: `a3' undeclared (first use in this function)

ts_xlib.c: At top level:

ts_xlib.c:1183: error: syntax error before "TSXCheckIfEvent"

ts_xlib.c:1183: error: syntax error before '*' token

ts_xlib.c:1183: warning: type defaults to `int' in declaration of `TSXCheckIfEve

nt'

ts_xlib.c:1183: error: `TSXCheckIfEvent' declared as function returning a functi

on

ts_xlib.c:1183: warning: type defaults to `int' in declaration of `XPointer'

ts_xlib.c:1183: error: syntax error before "a3"

ts_xlib.c:1186: warning: type defaults to `int' in declaration of `wine_tsx11_lo

ck'

ts_xlib.c:1186: error: 'wine_tsx11_lock' redeclared as different kind of symbol

../include/ts_xlib.h:19: error: previous declaration of 'wine_tsx11_lock' was he

re

ts_xlib.c:1186: error: 'wine_tsx11_lock' redeclared as different kind of symbol

../include/ts_xlib.h:19: error: previous declaration of 'wine_tsx11_lock' was he

re

ts_xlib.c:1186: warning: data definition has no type or storage class

ts_xlib.c:1187: warning: type defaults to `int' in declaration of `r'

ts_xlib.c:1187: warning: implicit declaration of function `XCheckIfEvent'

ts_xlib.c:1187: error: `a0' undeclared here (not in a function)

ts_xlib.c:1187: error: `a1' undeclared here (not in a function)

ts_xlib.c:1187: error: `a2' undeclared here (not in a function)

ts_xlib.c:1187: error: `a3' undeclared here (not in a function)

ts_xlib.c:1187: error: initializer element is not constant

ts_xlib.c:1187: warning: data definition has no type or storage class

ts_xlib.c:1188: warning: type defaults to `int' in declaration of `wine_tsx11_un

lock'

ts_xlib.c:1188: error: 'wine_tsx11_unlock' redeclared as different kind of symbo

l

../include/ts_xlib.h:20: error: previous declaration of 'wine_tsx11_unlock' was

here

ts_xlib.c:1188: error: 'wine_tsx11_unlock' redeclared as different kind of symbo

l

../include/ts_xlib.h:20: error: previous declaration of 'wine_tsx11_unlock' was

here

ts_xlib.c:1188: warning: data definition has no type or storage class

ts_xlib.c:1189: error: syntax error before "return"

ts_xlib.c:1192: error: syntax error before '*' token

ts_xlib.c:1192: error: syntax error before '*' token

ts_xlib.c: In function `TSXSynchronize':

ts_xlib.c:1194: error: syntax error before '*' token

ts_xlib.c:1196: warning: implicit declaration of function `XSynchronize'

ts_xlib.c:1196: warning: assignment makes pointer from integer without a cast

ts_xlib.c: At top level:

ts_xlib.c:1201: error: syntax error before '*' token

ts_xlib.c:1203: error: syntax error before '*' token

make[1]: *** [ts_xlib.o] Error 1

make[1]: Leaving directory `/root/.WineCVS/sources/cvscedega/winex/tsx11'

make: *** [tsx11/libwine_tsx11.so] Error 2

 

Error in Make

 

Try fixing the error based on the output above, and

run the script again, without paramaters (Eg: WineCVS.sh)

 

--------- End Error log - file /root/.WineCVS/sources/cvscedega/ErrorLog : ---------

 

I am running Mandrake 10.1 using the 2.6 kernel running on AMD XP 2800+ with 512mb OCZ ram and MSI GF4 Ti4200 vid card. All the dependencies are installed I believe as the Make Depend part of the script finds no errors - any ideas would be great - I am really perplexed as installed with no issues on 2.4 Kernel with 9.2 Mandrake - just upgraded about a month ago -

 

Thanks Everyone, :thanks:

 

TheSonic1 :wall:

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Its Fixed,

 

Error was the xorg-x11-devel packages were not installed - tried to update using GUI software package updater and gave me an error unsatisfied devel (freelib) error - ran URPMI xorg-x11-devel and then ran script with restart option selected and it completed successfully. Just incase anyone has the same issue. :drum:

Link to comment
Share on other sites

  • 2 weeks later...
Guest legacyc

i am compleatly new to linux and i have the same problem, would you please walk me through how you do that?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...