Unix Cygwin';制作';命令
我正在尝试使用Unix shell进行编译。我在Windows上运行Cygwin。库状态的安装说明:Unix Cygwin';制作';命令,unix,makefile,cygwin,Unix,Makefile,Cygwin,我正在尝试使用Unix shell进行编译。我在Windows上运行Cygwin。库状态的安装说明: cd'到包含包的源代码和类型的目录 /configure'为您的系统配置软件包。如果你是 在旧版本的SystemV上使用csh',您可能需要键入 sh./configure'改为阻止csh'尝试执行 configure'本身 运行“配置”需要一段时间。在运行时,它会打印一些 告知正在检查哪些功能的消息 键入“make”编译包 因此,我将包含库源代码的文件夹放在我的Cygwin目录中,cd’ed
cd'到包含包的源代码和类型的目录
/configure'为您的系统配置软件包。如果你是
在旧版本的SystemV上使用csh',您可能需要键入
sh./configure'改为阻止csh'尝试执行
configure'本身
运行“配置”需要一段时间。在运行时,它会打印一些
告知正在检查哪些功能的消息$ make
make all-recursive
make[1]: Entering directory `/liblo-0.26'
Making all in src
make[2]: Entering directory `/liblo-0.26/src'
Making all in .
make[3]: Entering directory `/liblo-0.26/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -
Wall -I.. -g -O2 -MT liblo_la-address.lo -MD -MP -MF .deps/liblo_la-address.Tpo
-c -o liblo_la-address.lo `test -f 'address.c' || echo './'`address.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-a
ddress.lo -MD -MP -MF .deps/liblo_la-address.Tpo -c address.c -DDLL_EXPORT -DPI
C -o .libs/liblo_la-address.o
In file included from lo_types_internal.h:33,
from address.c:37:
../lo/lo_osc_types.h:32:20: stdint.h: No such file or directory
In file included from address.c:37:
lo_types_internal.h:89: field `addr' has incomplete type
lo_types_internal.h:98: confused by earlier errors, bailing out
make[3]: *** [liblo_la-address.lo] Error 1
make[3]: Leaving directory `/liblo-0.26/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/liblo-0.26/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/liblo-0.26'
make: *** [all] Error 2
我做错了什么?很高兴提供更多信息-但我对Unix shell不熟悉(您可能知道…错误在于未找到头文件
stdint.h
stdint.h
是一个新的头文件,在C99(1999年发布的C标准版本)中进行了标准化。可能是您的UNIX没有它。但cygwin应该是最新的,并且拥有它
cygwin安装是否安装了C库头文件?这不是shell问题。您的系统缺少标准的C include文件
stdint.h
。他的Unix不是Unix,而是Windows(他使用的是Cygwin)。我修改了我的问题。谢谢你指出这一点。如何查找头文件是否已安装?find/usr/include/-name'stdint.h'
将搜索您。。。(请注意,您调用的是实际的UNIXfind
,而不是Windows。)