私は make ファイルやその他の GNU make ツールを使用する初心者です。automake ツールチェーンを使用する axis2/c というプロジェクトに取り組んでいます。このコンパイルエラーが発生しています。
Making all in description
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/core/engine -I../../../util/include -I../../../axiom/include -I../../../neethi/include -D_LARGEFILE64_SOURCE -DAXIS2_GUTHTHILA_ENABLED -DAXIS2_JSON_ENABLED -DAXIS2_SVR_MULTI_THREADED -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -g -D_GNU_SOURCE -DAXIS2_GUTHTHILA_ENABLED -DAXIS2_JSON_ENABLED -DAXIS2_SVR_MULTI_THREADED -MT op.lo -MD -MP -MF .deps/op.Tpo -c -o op.lo op.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/core/engine -I../../../util/include -I../../../axiom/include -I../../../neethi/include -D_LARGEFILE64_SOURCE -DAXIS2_GUTHTHILA_ENABLED -DAXIS2_JSON_ENABLED -DAXIS2_SVR_MULTI_THREADED -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -g -D_GNU_SOURCE -DAXIS2_GUTHTHILA_ENABLED -DAXIS2_JSON_ENABLED -DAXIS2_SVR_MULTI_THREADED -MT op.lo -MD -MP -MF .deps/op.Tpo -c op.c -fno-common -DPIC -o .libs/op.o
op.c: In function 'axis2_op_get_axis_specific_mep_const':
op.c:783: error: 'AXIS2_MEP_URI_IN_OUT_WSDL2' undeclared (first use in this function)
op.c:783: error: (Each undeclared identifier is reported only once
op.c:783: error: for each function it appears in.)
op.c:788: error: 'AXIS2_MEP_URI_IN_ONLY_WSDL2' undeclared (first use in this function)
op.c:793: error: 'AXIS2_MEP_URI_IN_OPTIONAL_OUT_WSDL2' undeclared (first use in this function)
op.c:798: error: 'AXIS2_MEP_URI_OUT_IN_WSDL2' undeclared (first use in this function)
op.c:803: error: 'AXIS2_MEP_URI_OUT_ONLY_WSDL2' undeclared (first use in this function)
op.c:808: error: 'AXIS2_MEP_URI_OUT_OPTIONAL_IN_WSDL2' undeclared (first use in this function)
op.c:813: error: 'AXIS2_MEP_URI_ROBUST_IN_ONLY_WSDL2' undeclared (first use in this function)
op.c:818: error: 'AXIS2_MEP_URI_ROBUST_OUT_ONLY_WSDL2' undeclared (first use in this function)
make[4]: *** [op.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
これらの定数は axis2_const.h というファイルにあるので、op.c に移動して具体的に含めました (これは冗長な手順です)。しかし、私はまだこのコンパイルエラーが発生しています。
どうすればこれを解決できますか?
注: さらに情報を含める必要がある場合はお知らせください。