Wine 编译安装

UBUNTU10.10系统用apt-get安装后参考网上的做法但是中文还是乱码,于是自己编译

gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)

编译过程中出现问题

term.c:33: fatal error: term.h: No such file or directory

由于缺少库

sudo apt-get install libncurses5-dev

解决

问题

../../include/winbase.h:1574: error: expected declaration specifiers or ‘...’ before ‘va_list’
../../include/winbase.h:1575: error: expected declaration specifiers or ‘...’ before ‘va_list’
make[1]: *** [term.o] Error 1
make[1]: Leaving directory `/home/adys/src/wine/dlls/kernel32'
make: *** [dlls/kernel32] Error 2
在源码的wine/dlls/kernel32/term.c的25行左右

你可能感兴趣的:(wine)