Originally posted by: zimmma00
I am try to compile a webdav product called cadaver on AIX 5.3. I am getting errors during the make process. Has anyone gotten cadaver compiled of AIX 5.3?
I am compiling cadaver-0.23.2 on AIX 5300-05-04 with the AIX C compiler (version 8.0). It is configured to use ssl (openssl).
I get the following messages.
cc -qlanglvl=ansi -DHAVE_CONFIG_H -I. -I./lib -D_LARGEFILE64_SOURCE -DNE_LFS -DXML_BYTE_ORDER=21 -DXML_DTD -I./lib/expat/xmlparse -I./lib/expat/xmltok -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -I./src -g -I./lib/neon -o src/cadaver.o -c src/cadaver.c
"src/cadaver.c", line 482.20: 1506-1332 (S) A function with return type "char*" may not return a value of type "int".
"src/cadaver.c", line 707.24: 1506-045 (S) Undeclared identifier rl_line_buffer.
"src/cadaver.c", line 710.17: 1506-068 (S) Operation between types "char**" and "int" is not allowed.
"src/cadaver.c", line 723.49: 1506-045 (S) Undeclared identifier rl_filename_completion_function.
"src/cadaver.c", line 730.29: 1506-068 (S) Operation between types "char**" and "int" is not allowed.
"src/cadaver.c", line 778.5: 1506-045 (S) Undeclared identifier rl_readline_name.
"src/cadaver.c", line 779.5: 1506-045 (S) Undeclared identifier rl_attempted_completion_function.
"src/cadaver.c", line 1076.9: 1506-068 (S) Operation between types "char*" and "int" is not allowed.
make: 1254-004 The error code from the last command is 1.
Stop.
The web site for cadaver is
http://www.webdav.org/cadaver/ I also get the same errors on my AIX 6.1 with the AIX C compile version 10.1.
Any suggestions?
Thanks.