Debian 9 - deprecated in compilation

Compilation and installation questions and stories
Post Reply
gondim
Posts: 64
Joined: 04 Mar 2016, 14:44

Debian 9 - deprecated in compilation

Post by gondim » 26 Dec 2017, 16:38

Hi Dmitry,

My accel-ppp is running perfectly but on compilation it gives deprecated messages at 37%. Is this warning because there is a package missing from my Debian 9?

# make
[ 1%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/md.c.o
[ 2%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/timer.c.o
[ 2%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/triton.c.o
[ 3%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/conf_file.c.o
[ 4%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/loader.c.o
[ 5%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/log.c.o
[ 6%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/mempool.c.o
[ 6%] Building C object accel-pppd/triton/CMakeFiles/triton.dir/event.c.o
[ 7%] Linking C shared library libtriton.so
[ 7%] Built target triton
[ 8%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/memdebug.c.o
[ 9%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/session.c.o
[ 9%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/session_backup.c.o
[ 10%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ifcfg.c.o
[ 11%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/net.c.o
[ 12%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/backup/backup.c.o
[ 13%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp.c.o
[ 13%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_fsm.c.o
[ 14%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_lcp.c.o
[ 15%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_mru.c.o
[ 16%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_magic.c.o
[ 17%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_pcomp.c.o
[ 17%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/lcp_opt_accomp.c.o
[ 18%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_auth.c.o
[ 19%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ipcp.c.o
[ 20%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_ipaddr.c.o
[ 20%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_dns.c.o
[ 21%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipcp_opt_wins.c.o
[ 22%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ipv6cp_opt_intfid.c.o
[ 23%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ipv6cp.c.o
[ 24%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ppp_ccp.c.o
[ 24%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ppp/ccp_mppe.c.o
[ 25%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/std_cmd.c.o
[ 26%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/show_sessions.c.o
[ 27%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/telnet.c.o
[ 28%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/tcp.c.o
[ 28%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/cli/cli.c.o
[ 29%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/libnetlink.c.o
[ 30%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/iputils.c.o
[ 31%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/genl.c.o
[ 31%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/libnetlink/ipset.c.o
[ 32%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/pwdb.c.o
[ 33%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/ipdb.c.o
[ 34%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/iprange.c.o
[ 35%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/utils.c.o
[ 35%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/rbtree.c.o
[ 36%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/log.c.o
[ 37%] Building C object accel-pppd/CMakeFiles/accel-pppd.dir/main.c.o
/usr/local/src/accel-ppp.git/accel-pppd/main.c: In function ‘close_all_fd’:
/usr/local/src/accel-ppp.git/accel-pppd/main.c:125:3: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
if (readdir_r(dirp, &ent, &res))
^~
In file included from /usr/local/src/accel-ppp.git/accel-pppd/main.c:11:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,
^~~~~~~~~
At top level:
/usr/local/src/accel-ppp.git/accel-pppd/main.c:55:13: warning: ‘ssl_lock’ defined but not used [-Wunused-function]
static void ssl_lock(int mode, int type, const char *file, int line)
^~~~~~~~
/usr/local/src/accel-ppp.git/accel-pppd/main.c:50:22: warning: ‘ssl_thread_id’ defined but not used [-Wunused-function]
static unsigned long ssl_thread_id(void)
^~~~~~~~~~~~~
[ 38%] Linking C executable accel-pppd
[ 38%] Built target accel-pppd
[ 39%] Building C object accel-pppd/lua/CMakeFiles/luasupp.dir/lua_lpack.c.o
[ 40%] Building C object accel-pppd/lua/CMakeFiles/luasupp.dir/lua_bit.c.o
[ 40%] Building C object accel-pppd/lua/CMakeFiles/luasupp.dir/session.c.o
[ 41%] Linking C shared library libluasupp.so
[ 41%] Built target luasupp
[ 42%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/stat_accm.c.o
[ 42%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/dict.c.o
[ 43%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/req.c.o
[ 44%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/packet.c.o
[ 45%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/auth.c.o
[ 46%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/acct.c.o
[ 46%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/serv.c.o
[ 47%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/dm_coa.c.o
[ 48%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/radius.c.o
[ 49%] Building C object accel-pppd/radius/CMakeFiles/radius.dir/lua.c.o
[ 50%] Linking C shared library libradius.so
[ 50%] Built target radius
[ 51%] Building C object accel-pppd/vlan-mon/CMakeFiles/vlan-mon.dir/vlan_mon.c.o
[ 52%] Linking C shared library libvlan-mon.so
[ 52%] Built target vlan-mon
[ 53%] Building C object accel-pppd/ctrl/pptp/CMakeFiles/pptp.dir/pptp.c.o
[ 54%] Linking C shared library libpptp.so
[ 54%] Built target pptp
[ 55%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/pppoe.c.o
[ 55%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/mac_filter.c.o
[ 56%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/dpado.c.o
[ 57%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/cli.c.o
[ 58%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/disc.c.o
[ 59%] Building C object accel-pppd/ctrl/pppoe/CMakeFiles/pppoe.dir/tr101.c.o
[ 59%] Linking C shared library libpppoe.so
[ 59%] Built target pppoe
[ 59%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/l2tp.c.o
[ 60%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/dict.c.o
[ 61%] Building C object accel-pppd/ctrl/l2tp/CMakeFiles/l2tp.dir/packet.c.o
[ 62%] Linking C shared library libl2tp.so
[ 62%] Built target l2tp
[ 63%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/ipoe.c.o
[ 64%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/dhcpv4.c.o
[ 65%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/dhcpv4_options.c.o
[ 65%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/ipoe_netlink.c.o
[ 66%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/arp.c.o
[ 67%] Building C object accel-pppd/ctrl/ipoe/CMakeFiles/ipoe.dir/lua.c.o
[ 68%] Linking C shared library libipoe.so
[ 68%] Built target ipoe
[ 69%] Building C object accel-pppd/auth/CMakeFiles/auth_mschap_v1.dir/auth_mschap_v1.c.o
[ 70%] Linking C shared library libauth_mschap_v1.so
[ 70%] Built target auth_mschap_v1
[ 71%] Building C object accel-pppd/auth/CMakeFiles/auth_chap_md5.dir/auth_chap_md5.c.o
[ 71%] Linking C shared library libauth_chap_md5.so
[ 71%] Built target auth_chap_md5
[ 71%] Building C object accel-pppd/auth/CMakeFiles/auth_pap.dir/auth_pap.c.o
[ 72%] Linking C shared library libauth_pap.so
[ 72%] Built target auth_pap
[ 73%] Building C object accel-pppd/auth/CMakeFiles/auth_mschap_v2.dir/auth_mschap_v2.c.o
[ 74%] Linking C shared library libauth_mschap_v2.so
[ 74%] Built target auth_mschap_v2
[ 75%] Building C object accel-pppd/logs/CMakeFiles/log_syslog.dir/log_syslog.c.o
[ 76%] Linking C shared library liblog_syslog.so
[ 76%] Built target log_syslog
[ 77%] Building C object accel-pppd/logs/CMakeFiles/log_tcp.dir/log_tcp.c.o
[ 77%] Linking C shared library liblog_tcp.so
[ 77%] Built target log_tcp
[ 78%] Building C object accel-pppd/logs/CMakeFiles/log_file.dir/log_file.c.o
[ 78%] Linking C shared library liblog_file.so
[ 78%] Built target log_file
[ 79%] Building C object accel-pppd/extra/CMakeFiles/ipv6pool.dir/ipv6pool.c.o
[ 80%] Linking C shared library libipv6pool.so
[ 80%] Built target ipv6pool
[ 81%] Building C object accel-pppd/extra/CMakeFiles/sigchld.dir/sigchld.c.o
[ 82%] Linking C shared library libsigchld.so
[ 82%] Built target sigchld
[ 83%] Building C object accel-pppd/extra/CMakeFiles/pppd_compat.dir/pppd_compat.c.o
[ 84%] Linking C shared library libpppd_compat.so
[ 84%] Built target pppd_compat
[ 84%] Building C object accel-pppd/extra/CMakeFiles/ippool.dir/ippool.c.o
[ 85%] Linking C shared library libippool.so
[ 85%] Built target ippool
[ 86%] Building C object accel-pppd/extra/CMakeFiles/logwtmp.dir/logwtmp.c.o
[ 87%] Linking C shared library liblogwtmp.so
[ 87%] Built target logwtmp
[ 88%] Building C object accel-pppd/extra/CMakeFiles/chap-secrets.dir/chap-secrets.c.o
[ 89%] Linking C shared library libchap-secrets.so
[ 89%] Built target chap-secrets
[ 89%] Building C object accel-pppd/extra/CMakeFiles/connlimit.dir/connlimit.c.o
[ 90%] Linking C shared library libconnlimit.so
[ 90%] Built target connlimit
[ 91%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_nd.dir/nd.c.o
[ 92%] Linking C shared library libipv6_nd.so
[ 92%] Built target ipv6_nd
[ 93%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_dhcp.dir/dhcpv6.c.o
[ 94%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_dhcp.dir/dhcpv6_packet.c.o
[ 94%] Linking C shared library libipv6_dhcp.so
[ 94%] Built target ipv6_dhcp
[ 94%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/shaper.c.o
[ 95%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/limiter.c.o
[ 96%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/leaf_qdisc.c.o
[ 97%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/tc_core.c.o
[ 97%] Linking C shared library libshaper.so
[ 97%] Built target shaper
[ 97%] Building C object accel-cmd/CMakeFiles/accel-cmd.dir/accel_cmd.c.o
[ 98%] Linking C executable accel-cmd
[ 98%] Built target accel-cmd
[ 99%] Generating driver/ipoe.ko
[ 99%] Built target ipoe_drv
[100%] Generating driver/vlan_mon.ko
[100%] Built target vlan_mon_drv

If this warning is not important, disregard this message. Thanks again for this great program.

Best regards,

danusio
Posts: 1
Joined: 30 Sep 2018, 23:50

Re: Debian 9 - deprecated in compilation

Post by danusio » 30 Sep 2018, 23:56

accel_connect,485: connect() failed: Connection refused
accel_connect,485: connect() failed: Connection refused
Connection to "localhost:2001" failed

How do I resolve this error ?, debian 7.11 i386, there was no installation error

dimka88
Posts: 419
Joined: 13 Oct 2014, 05:51
Contact:

Re: Debian 9 - deprecated in compilation

Post by dimka88 » 01 Oct 2018, 07:53

Hi, show accel-ppp.conf section [cli] and /var/log/accel-ppp/emerge.log, /var/log/accel-ppp/core.log
ps:// Welcome to accel-ppp project telegram chat https://t.me/joinchat/DS6swRC3DvEWdNijTqaaeA

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest