1、在编译ACE的$ACE_ROOT路径下,使用configure;
2、配置好所有路径后,使用MPC编译程序时发现出现undefined reference错误;
3、最终修改了$ACE_ROOT/include/makeinclude中的platform_g++_common.GNU把下面的注解掉解决问题
# Turn on the proper flags for explicit template instantiation.
#
#ifeq ($(templates),explicit)
# ifeq ($(TEMPLATES_FLAG),) # Turn on flags if none is speficied.
# TEMPLATES_FLAG=-fno-implicit-templates
# endif
# CPPFLAGS += -DACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION
#endif
#
#ifeq ($(templates),explicit)
# ifeq ($(TEMPLATES_FLAG),) # Turn on flags if none is speficied.
# TEMPLATES_FLAG=-fno-implicit-templates
# endif
# CPPFLAGS += -DACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION
#endif