LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2006, 03:10 PM   #1
ironfistchamp
Member
 
Registered: Jan 2006
Distribution: Ubuntu 5.10
Posts: 33

Rep: Reputation: 15
wineX CVS compile errors


I have downloaded wineX CVS and when I got to compile it using the wineinstall script i get these errors.

"../include/basetsd.h:148:3: error: #error Unknown CPU architecture!
In file included from ../include/windef.h:16,
from ../include/wine/unicode.h:10,
from casemap.c:4:
../include/winnt.h:1035:2: error: #error You need to define a CONTEXT for your CPU
In file included from ../include/windef.h:16,
from ../include/wine/unicode.h:10,
from casemap.c:4:
../include/winnt.h:1038: error: syntax error before ‘*’ token
../include/winnt.h:1038: warning: type defaults to ‘int’ in declaration of ‘PCONTEXT’
../include/winnt.h:1038: warning: data definition has no type or storage class
../include/winnt.h:2073: error: syntax error before ‘PCONTEXT’
../include/winnt.h:2073: warning: no semicolon at end of struct or union
../include/winnt.h:2074: warning: type defaults to ‘int’ in declaration of ‘EXCEPTION_POINTERS’
../include/winnt.h:2074: warning: type defaults to ‘int’ in declaration of ‘PEXCEPTION_POINTERS’
../include/winnt.h:2074: warning: data definition has no type or storage class
../include/winnt.h:2086: error: syntax error before ‘PCONTEXT’
../include/winnt.h:2098: error: syntax error before ‘ExceptionInfo’
../include/winnt.h:2101: error: syntax error before ‘epointers’
In file included from ../include/winnls.h:5,
from ../include/wine/unicode.h:11,
from casemap.c:4:
../include/winbase.h:121: error: syntax error before ‘LPCONTEXT’
../include/winbase.h:121: warning: type defaults to ‘int’ in declaration of ‘LPCONTEXT’
../include/winbase.h:121: warning: data definition has no type or storage class
../include/winbase.h:123: error: syntax error before ‘LPEXCEPTION_POINTERS’
../include/winbase.h:123: warning: type defaults to ‘int’ in declaration of ‘LPEXCEPTION_POINTERS’
../include/winbase.h:123: warning: data definition has no type or storage class
../include/winbase.h:1366: error: syntax error before ‘CONTEXT’
../include/winbase.h:1503: warning: type defaults to ‘int’ in declaration of ‘CONTEXT’
../include/winbase.h:1503: error: syntax error before ‘*’ token
make[1]: *** [casemap.o] Error 1
make[1]: Leaving directory `/home/daniel/winex/unicode'
make: *** [unicode/libwine_unicode.so] Error 2

Compilation failed, aborting install."


Can anyone help me fix these errors?

Thanks in advance

Ironfistchamp
 
Old 01-07-2006, 07:36 PM   #2
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Try a regular:

./configure

make

make install

instead of the script.

I didn't see your distro mentioned, it may be helpful.
 
Old 01-07-2006, 08:00 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Someone was telling me the other day that the Cedega CVS had been broken for a while, dunno how true it is though. I do know hoever, that if you/your distro is using gcc4 then it won't compile no matter whether the source is broken or not.
 
Old 01-07-2006, 10:00 PM   #4
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Quote:
Originally Posted by cs-cam
Someone was telling me the other day that the Cedega CVS had been broken for a while, dunno how true it is though. I do know hoever, that if you/your distro is using gcc4 then it won't compile no matter whether the source is broken or not.

I believe I'm using winex-cvs version 12/17/2005,
and yes it's best to stay away from the cutting-edge
when running this off the wall stuff.
I'm still on gcc-3.3.4 and kernel 2.4.x
 
Old 01-08-2006, 08:48 AM   #5
ironfistchamp
Member
 
Registered: Jan 2006
Distribution: Ubuntu 5.10
Posts: 33

Original Poster
Rep: Reputation: 15
Im using SuSE 10.0 with a 64bit CPU (will that be the problem). Why won't it work with gcc4?

I also tried using the wineCVS scipt that you can use to get winex and I tried the bleeding edge and the older versions with the same problem.

Thanks Ironfistchamp
 
Old 01-08-2006, 06:45 PM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
It won't work because gcc4 is anal about some stuff that gcc3 didn't really care about. It means it enforces good coding practices but some stuff won't build under it, cvscedega being one of those things.
 
Old 01-09-2006, 11:17 AM   #7
ironfistchamp
Member
 
Registered: Jan 2006
Distribution: Ubuntu 5.10
Posts: 33

Original Poster
Rep: Reputation: 15
Hm OK thanks I shall make sure I've got gcc3 and try again.

Thanks

Ironfistchamp
 
Old 01-09-2006, 01:17 PM   #8
ironfistchamp
Member
 
Registered: Jan 2006
Distribution: Ubuntu 5.10
Posts: 33

Original Poster
Rep: Reputation: 15
I tru#ied again and now I get this error instead.

" gcc -MMD -c -I. -I. -I../include -I../include -g -O2 -Wall -fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o casemap.o casemap.c
/bin/sh: gcc: command not found
make[1]: *** [casemap.o] Error 127
make[1]: Leaving directory `/home/daniel/winex/unicode'
make: *** [unicode/libwine_unicode.so] Error 2

Compilation failed, aborting install. "

Help?

Thanks

Ironfistchamp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cedega CVS compile errors trawler Linux - Software 6 11-01-2005 06:36 AM
Errors Installing winex using cvs script slacard Linux - Software 1 10-25-2004 09:51 PM
cvs winex compile problem gonus Linux - Software 0 08-03-2004 07:23 PM
MDK9.3 / winex 3.3.1 CVS --- compile problem pete_bogg Mandriva 3 04-22-2004 01:45 PM
WineX CVS compile problem Vipes Linux - Software 2 12-03-2003 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration