Compiling PROFTPD server in OpenIndiana OS

Asked by Frederick Shawgrove on 2019-04-25

I am trying to compile Profptd-1.3.6 source code using GCC compiler on OpenIndiana OS. I have successfully configured the source code. However my Terminal window outputs the following error

    root@openindiana:~/proftpd#gmake
    .....
    .....
    .....
    gcc -DHAVE_CONFIG_H -DSOLARIS2_11 -DSOLARIS2 -I.. -I../include -g2 -O2 -Wall -fno-omit-frame-pointer -c mod_auth.c
    mod_auth.c: In function 'login_failed':
    mod_auth.c:356:9: warning: implicit declaration of function 'loginfailed' [-Wimplicit-function-declaration]
       res = loginfailed((char *) user, (char *) host, (char *) sess_ttyname,
             ^~~~~~~~~~~
    mod_auth.c:357:5: error: 'AUDIT_FAIL' undeclared (first use in this function)
         AUDIT_FAIL);
         ^~~~~~~~~~
    mod_auth.c:357:5: note: each undeclared identifier is reported only once for each function it appears in
    mod_auth.c:350:12: warning: variable 'xerrno' set but not used [-Wunused-but-set-variable]
       int res, xerrno;
                ^~~~~~
    mod_auth.c: In function 'login_succeeded':
    mod_auth.c:420:9: warning: implicit declaration of function 'loginsuccess' [-Wimplicit-function-declaration]
       res = loginsuccess((char *) user, (char *) host, (char *) sess_ttyname, &msg);
             ^~~~~~~~~~~~
    mod_auth.c:414:12: warning: variable 'xerrno' set but not used [-Wunused-but-set-variable]
       int res, xerrno;
                ^~~~~~
    gmake[1]: *** [Makefile:31: mod_auth.o] Error 1
    gmake[1]: Leaving directory '/export/home/grct/proftpd/modules'
    gmake: *** [Makefile:39: modules] Error 2
    root@openindiana:~/proftpd#

I dont know what to do to solve it?

thanks in advance for any help given

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu proftpd-dfsg Edit question
Assignee:
No assignee Edit question
Last query:
2019-04-25
Last reply:
2019-04-26
Manfred Hampl (m-hampl) said : #1

This is support for the Ubuntu Operating System, but according to the title of this question you are using openindiana as the OS of your computer.

For support for openindiana probably better look at https://www.openindiana.org/community/support/

Can you help with this problem?

Provide an answer of your own, or ask Frederick Shawgrove for more information if necessary.

To post a message you must log in.