LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling gyachi on x86_64?? (https://www.linuxquestions.org/questions/linux-software-2/compiling-gyachi-on-x86_64-a-496446/)

Hungry ghost 10-28-2006 04:33 PM

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.

quanta 03-01-2011 09:19 PM

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).

Hungry ghost 03-01-2011 09:48 PM

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.


All times are GMT -5. The time now is 01:36 AM.