make depend
这是我在命令行中使用 > 命令后的错误
In file included from rtl.c:37:0:
../../include/winternl.h:991:11: error: duplicate member ‘s’
rtl.c: In function ‘RtlInterlockedFlushSList’:
rtl.c:976:29: warning: unused variable ‘newHeader’ [-Wunused-variable]
rtl.c:976:18: warning: unused variable ‘oldHeader’ [-Wunused-variable]
rtl.c: In function ‘RtlInterlockedPushEntrySList’:
rtl.c:999:29: warning: unused variable ‘newHeader’ [-Wunused-variable]
rtl.c:999:18: warning: unused variable ‘oldHeader’ [-Wunused-variable]
rtl.c: In function ‘RtlInterlockedPopEntrySList’:
rtl.c:1022:18: warning: unused variable ‘entry’ [-Wunused-variable]
rtl.c:1021:29: warning: unused variable ‘newHeader’ [-Wunused-variable]
rtl.c:1021:18: warning: unused variable ‘oldHeader’ [-Wunused-variable]
rtl.c: In function ‘RtlInterlockedPushListSList’:
rtl.c:1060:29: warning: unused variable ‘newHeader’ [-Wunused-variable]
rtl.c:1060:18: warning: unused variable ‘oldHeader’ [-Wunused-variable]
make[2]: *** [rtl.o] Error 1
make[2]: Leaving directory `/root/Downloads/wine-1.1.27/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/root/Downloads/wine-1.1.27/dlls'
make: *** [dlls] Error 2
答案1
在 Ubuntu 中安装软件包的最佳方式是:
sudo apt-get install [package name]
安装 wine 包:
sudo add-apt-repository ppa:ubuntu-wine/ppa -y
sudo apt-get update
sudo apt-get install wine