LinuxQuestions.org
Register a domain and help support LQ
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, 05:33 PM   #1
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 1,020

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
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, 10:19 PM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
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, 10:48 PM   #3
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 1,020

Original Poster
Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
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 10:49 PM.
 
  


Reply

Tags
gyachi, x8664


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


All times are GMT -5. The time now is 10:53 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration