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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-28-2006, 04:33 PM
|
#1
|
|
Member
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, LMDE
Posts: 821
Rep: 
|
Compiling gyachi on x86_64??
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??
Thanks in advance.
|
|
|
|
03-01-2011, 09:19 PM
|
#2
|
|
Member
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724
Rep:
|
Code:
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).
|
|
|
1 members found this post helpful.
|
03-01-2011, 09:48 PM
|
#3
|
|
Member
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, LMDE
Posts: 821
Original Poster
Rep: 
|
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 odiseo77; 03-01-2011 at 09:49 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:34 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.
|
Latest Threads
LQ News
|
|