无法在 CentOS 6.5 中编译 ACE 6.3.0 库应用程序
Can't compile the ACE 6.3.0 library apps in CentOS 6.5
ungzip-tar后,objdir中的configure和make成功。尝试在应用程序下的 gperf 目录中进行 make 失败,并显示以下内容:
make[1]: Entering directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho'
/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/wrapper_macros.GNU:218: /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU: No such file or directory
/home/admin/Desktop/compile/ace/ACE_wrappers/bin/add_rel_link.sh /home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
ln -s ../../apps/drwho/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
drwho__client will not be built due to the following missing library: ACE
GNUmakefile: /home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho/GNUmakefile.drwho__client MAKEFLAGS=w
make[1]: Leaving directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho'
make[1]: Entering directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho'
/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/wrapper_macros.GNU:218: /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU: No such file or directory
/home/admin/Desktop/compile/ace/ACE_wrappers/bin/add_rel_link.sh /home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
ln -s ../../apps/drwho/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
drwho__server will not be built due to the following missing library: ACE
GNUmakefile: /home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho/GNUmakefile.drwho__server MAKEFLAGS=w
make[1]: Leaving directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho'
make[1]: Entering directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf'
/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/wrapper_macros.GNU:218: /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU: No such file or directory
/home/admin/Desktop/compile/ace/ACE_wrappers/bin/add_rel_link.sh /home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
ln -s ../../apps/gperf/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
GNUmakefile: /home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf/GNUmakefile.gperf_docs MAKEFLAGS=w
make[1]: Leaving directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf'
make[1]: Entering directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf/src'
/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/wrapper_macros.GNU:218: /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU: No such file or directory
make[1]: *** No rule to make target `/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU'. Stop.
make[1]: Leaving directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf/src'
make: *** [gperf] Error 2
我在源代码树的任何地方都找不到这个文件 "platform_macros.GNU"?感谢您的帮助。
您必须创建 platform_macros.GNU 文件,有关如何编译 ACE 的更多信息,请参阅免费的 CORBA Programmers Guide 第 19 章。
ungzip-tar后,objdir中的configure和make成功。尝试在应用程序下的 gperf 目录中进行 make 失败,并显示以下内容:
make[1]: Entering directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho'
/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/wrapper_macros.GNU:218: /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU: No such file or directory
/home/admin/Desktop/compile/ace/ACE_wrappers/bin/add_rel_link.sh /home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
ln -s ../../apps/drwho/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
drwho__client will not be built due to the following missing library: ACE
GNUmakefile: /home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho/GNUmakefile.drwho__client MAKEFLAGS=w
make[1]: Leaving directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho'
make[1]: Entering directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho'
/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/wrapper_macros.GNU:218: /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU: No such file or directory
/home/admin/Desktop/compile/ace/ACE_wrappers/bin/add_rel_link.sh /home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
ln -s ../../apps/drwho/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
drwho__server will not be built due to the following missing library: ACE
GNUmakefile: /home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho/GNUmakefile.drwho__server MAKEFLAGS=w
make[1]: Leaving directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/drwho'
make[1]: Entering directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf'
/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/wrapper_macros.GNU:218: /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU: No such file or directory
/home/admin/Desktop/compile/ace/ACE_wrappers/bin/add_rel_link.sh /home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
ln -s ../../apps/gperf/platform_macros.GNU /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU
GNUmakefile: /home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf/GNUmakefile.gperf_docs MAKEFLAGS=w
make[1]: Leaving directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf'
make[1]: Entering directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf/src'
/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/wrapper_macros.GNU:218: /home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU: No such file or directory
make[1]: *** No rule to make target `/home/admin/Desktop/compile/ace/ACE_wrappers/include/makeinclude/platform_macros.GNU'. Stop.
make[1]: Leaving directory `/home/admin/Desktop/compile/ace/ACE_wrappers/apps/gperf/src'
make: *** [gperf] Error 2
我在源代码树的任何地方都找不到这个文件 "platform_macros.GNU"?感谢您的帮助。
您必须创建 platform_macros.GNU 文件,有关如何编译 ACE 的更多信息,请参阅免费的 CORBA Programmers Guide 第 19 章。