我正在尝试使用 Unix shell编译一个库。我在 Windows 上运行 Cygwin。库状态的安装说明:
cd' to the directory containing the package's source code and type
./configure' 为您的系统配置软件包。如果您使用csh' on an old version of System V, you might need to type
sh ./configure' 来阻止csh' from trying to execute
configure' 本身。运行“配置”需要一段时间。在运行时,它会打印一些消息,告诉它正在检查哪些功能。
输入“make”编译包。
<...更多说明如下...>
因此,我已将包含库源的文件夹放入我的 Cygwin 目录中,cd到该文件夹,然后运行./configure。这一切似乎都可以正常工作,但“make”命令会产生以下输出:
$ 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 的新手(你可能会说......)