AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  webdav - cadaver compile errors

    Posted Fri June 05, 2009 09:18 AM

    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.


  • 2.  Re: webdav - cadaver compile errors

    Posted Fri April 15, 2011 12:50 PM

    Originally posted by: Holgervk


    Did you resolve that problem?
    I have the same problem using gcc. AIX5.3 and AIX6.1


  • 3.  Re: webdav - cadaver compile errors

    Posted Wed April 27, 2011 08:26 PM

    Originally posted by: TRB


    The problem seems to be related to the readline functionality,
    which I do not have installed on my AIX 6.1 system.

    I am able to successfully build cadaver 0.23.2 using the included
    neon and gettext.

    You might try rerunning "configure" with the --disable-readline option.

    -tony


  • 4.  Re: webdav - cadaver compile errors

    Posted Mon March 03, 2014 08:27 PM

    Originally posted by: JasT


    Thanks Tony,

    Your posting proves to be a big help to your teammates doing the same thing and getting the same errors.

    Jas