I've got a problem when compiling libdft in Windows XP.
在Windows XP中编译libdft时,我遇到了一个问题。
I use cygwin terminal to compile it and I have installed everything in devel and I have modified the Makefile to avoid the OS check.
我使用cygwin终端来编译它,我已经在devel中安装了所有东西,我已经修改了Makefile以避免OS检查。
But when I try the make command it returns the error:
但当我尝试make命令时,它会返回错误:
libdft_api.h:36:25: fatal error:sys/syscall.h:No such file or directory
libdft_api。h:36:25:致命错误:sys /系统调用。h:没有这样的文件或目录
I tried to find syscall.h but it doesn't exist as below.
我试图找到syscall。但是它不像下面这样存在。
Administrator@simon-4b7c3fa57 /cygdrive/c/libdft_linux-i386/src
$ cygcheck -l cygwin | grep syscall.h
1 个解决方案
#1
0
I'm having a similar problem. From what I've gathered from Google, syscall.h
is a system file specific to the architecture of your machine. Cygwin doesn't emulate a Linux machine its only some tools and APIs to create a look and feel of one, so that's why the file doesn't exist. For example: In a full Linux OS it could be found in /usr/include/i386-linux-gnu/sys/
我也有类似的问题。从我从谷歌收集的,syscall。h是特定于计算机体系结构的系统文件。Cygwin没有模仿Linux机器,它只有一些工具和api来创建一种外观和感觉,这就是为什么文件不存在的原因。例如:在完整的Linux操作系统中,它可以在/usr/include/i386- Linux -gnu/sys/中找到
You'll need to use a similar file found in windows somewhere or try and compile your code in a Linux VM.
您将需要使用在windows某处找到的类似文件,或者尝试在Linux VM中编译代码。
#1
0
I'm having a similar problem. From what I've gathered from Google, syscall.h
is a system file specific to the architecture of your machine. Cygwin doesn't emulate a Linux machine its only some tools and APIs to create a look and feel of one, so that's why the file doesn't exist. For example: In a full Linux OS it could be found in /usr/include/i386-linux-gnu/sys/
我也有类似的问题。从我从谷歌收集的,syscall。h是特定于计算机体系结构的系统文件。Cygwin没有模仿Linux机器,它只有一些工具和api来创建一种外观和感觉,这就是为什么文件不存在的原因。例如:在完整的Linux操作系统中,它可以在/usr/include/i386- Linux -gnu/sys/中找到
You'll need to use a similar file found in windows somewhere or try and compile your code in a Linux VM.
您将需要使用在windows某处找到的类似文件,或者尝试在Linux VM中编译代码。