fcgi-2.4.0编译出现echo-cpp.o: undefined reference to symbol ‘FCGX_InitRequest‘

问题描述

        编译fcgi的时候出现如下错误

arm-oe-linux-gnueabi-ld: echo-cpp.o: undefined reference to symbol 'FCGX_InitRequest'

修改方案

将fcgi-2.4.0/examples/Makefile.am文件中的

echo_cpp_LDADD = $(LIBDIR)/libfcgi++.la

修改为

echo_cpp_LDADD   = $(LIBDIR)/libfcgi++.la $(LIBDIR)/libfcgi.la 

猜你喜欢

转载自blog.csdn.net/wgl307293845/article/details/121474270
今日推荐