LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-28-2006, 04:33 PM   #1
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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.
 
Old 03-01-2011, 09:19 PM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
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.
Old 03-01-2011, 09:48 PM   #3
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Original Poster
Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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.
 
  


Reply

Tags
gyachi, x8664



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
compiling kernel 2.6.16-1.2080_FC5-x86_64 fbarsoba Linux - Software 1 05-18-2006 10:01 PM
Compiling Linux kernel for x86_64 khaleel5000 Linux - Kernel 4 04-25-2006 12:29 AM
Compiling x86_64 kernel michaelsanford Linux - General 4 04-28-2005 10:59 AM
Problems compiling gift for x86_64 mmc SUSE / openSUSE 0 01-13-2005 04:20 PM
Compiling Samba in Fedora x86_64 dwmorton Linux - Newbie 2 05-04-2004 10:13 PM

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

All times are GMT -5. The time now is 01:00 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