在AIX操作系统主机上,按照文档对zookeeper C API进行编译:
(1) ./configure CC=xlC
(2) make
(3) make install
第(1)步运行正常。第(2)步提示如下错误:
make all-am
source='src/zookeeper.c' object='zookeeper.lo' libtool=yes DEPDIR=.deps depmode=xlc /bin/bash ./depcomp /bin/bash ./libtool --tag=CC --mode=compile xlC -DHAVE_CONFIG_H -I. -I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -c -o zookeeper.lo test -f 'src/zookeeper.c' || echo './'
src/zookeeper.c
libtool: compile: xlC -DHAVE_CONFIG_H -I. -I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -c src/zookeeper.c -Wp,-qmakedep=gcc,-MF.deps/zookeeper.TPlo -DPIC -o .libs/zookeeper.o
xlC: 1501-210 (S) command option Wall contains an incorrect subargument
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
求助,该怎么解决?
请问有在AIX上成功编译过zookeeper C API的不?