Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HI all, I'm trying to compile/install gyachi 1.0.5 on my x86_64 bits system (P4 64 bits, ubuntu 6.10) but when I run 'make', I get the following error:
Code:
In file included from wine/winbase.h:5,
from afl.c:24:
wine/winnt.h:625:2: error: #error You need to define a CONTEXT for your CPU
In file included from wine/winbase.h:5,
from afl.c:24:
wine/winnt.h:628: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
wine/winnt.h:754:2: error: #error You need to define DEFINE_REGS_ENTRYPOINT macros for your CPU
wine/winnt.h:765:3: error: #error You must define GET_IP for this CPU
wine/winnt.h:1021: error: expected specifier-qualifier-list before ‘PCONTEXT’
wine/winnt.h:1034: error: expected declaration specifiers or ‘...’ before ‘PCONTEXT’
In file included from afl.c:24:
wine/winbase.h:544: warning: ‘packed’ attribute ignored for field of type ‘CHAR[8]’
In file included from afl.c:24:
wine/winbase.h:1342: error: expected declaration specifiers or ‘...’ before ‘CONTEXT’
wine/winbase.h:1481: warning: type defaults to ‘int’ in declaration of ‘CONTEXT’
wine/winbase.h:1481: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
afl.c: In function ‘ACM_GetStream’:
afl.c:46: warning: cast to pointer from integer of different size
afl.c: In function ‘acmDriverAddA’:
afl.c:73: warning: cast from pointer to integer of different size
afl.c: In function ‘acmDriverEnum’:
afl.c:134: warning: cast from pointer to integer of different size
afl.c: In function ‘acmDriverID’:
afl.c:157: warning: cast from pointer to integer of different size
afl.c: In function ‘acmDriverOpen’:
afl.c:232: warning: cast from pointer to integer of different size
afl.c: In function ‘MSACM_UnregisterDriver’:
afl.c:303: warning: cast from pointer to integer of different size
afl.c: In function ‘MSACM_GetDriverID’:
afl.c:342: warning: cast to pointer from integer of different size
afl.c: In function ‘MSACM_GetDriver’:
afl.c:350: warning: cast to pointer from integer of different size
afl.c: In function ‘MSACM_GetObj’:
afl.c:358: warning: cast to pointer from integer of different size
afl.c: In function ‘acmStreamOpen’:
afl.c:414: warning: cast from pointer to integer of different size
afl.c:426: warning: cast from pointer to integer of different size
afl.c:464: warning: cast from pointer to integer of different size
afl.c:471: warning: cast from pointer to integer of different size
afl.c:493: warning: cast from pointer to integer of different size
afl.c: In function ‘acmStreamClose’:
afl.c:517: warning: cast from pointer to integer of different size
afl.c: In function ‘acmStreamConvert’:
afl.c:564: warning: cast from pointer to integer of different size
afl.c:564: warning: cast from pointer to integer of different size
afl.c: In function ‘acmStreamPrepareHeader’:
afl.c:612: warning: cast from pointer to integer of different size
afl.c:612: warning: cast from pointer to integer of different size
afl.c: In function ‘acmStreamReset’:
afl.c:650: warning: cast from pointer to integer of different size
afl.c: In function ‘acmStreamSize’:
afl.c:693: warning: cast from pointer to integer of different size
afl.c:693: warning: cast from pointer to integer of different size
afl.c: In function ‘acmStreamUnprepareHeader’:
afl.c:744: warning: cast from pointer to integer of different size
afl.c:744: warning: cast from pointer to integer of different size
make[2]: *** [afl.o] Error 1
make[2]: se sale del directorio `/home/vicente/gyachi/gyachi-1.0.5/gyvoice'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/vicente/gyachi/gyachi-1.0.5'
make: *** [all] Error 2
So, what's wrong?? I checked the winnt.h file but I don't know how to define the values the compilation requires. I'm new compiling software on 64 bits systems; what's the way to compile stuff on 64 bits??
wine/winnt.h:625:2: error: #error You need to define a CONTEXT for your CPU
wine/winnt.h:754:2: error: #error You need to define DEFINE_REGS_ENTRYPOINT macros for your CPU
wine/winnt.h:765:3: error: #error You must define GET_IP for this CPU
It seems that when you run the ./configure script, you had enabled some options which was only works on i386 (maybe --enable-loader).
Well, now I'm on Debian 32 bit, so this is no longer a problem. I've read about people using gyachi on 64 bit systems without issues (except for the voice part, I think), so I guess the problem has been fixed.
Anyway, thanks for the tip, I'll try it if I happen to compile gyachi on my Arch x86_64 install.
Last edited by Hungry ghost; 03-01-2011 at 09:49 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.