On Solaris, inet_aton and inet_ntoa require '-lsocket -lnsl'.
configure.ac can't find this functions: ... checking for inet_ntoa... no checking for inet_ntop... no ... Libraries: -lz -lcrypto -lssl -levent -lasr -lsocket -lfts -lrt -lresolv Add "--with-libs='-lnsl'" don't fix: ... checking for inet_ntoa... no checking for inet_ntop... no ... Libraries: -lz -lcrypto -lssl -levent -lasr -lsocket -lfts -lrt -lresolv -lnsl Because --with-libs is check too late. Move it before 'AC_SEARCH_LIBS' fix the problem: ... checking for inet_ntoa... yes checking for inet_ntop... yes ... Libraries: -lz -lcrypto -lssl -levent -lasr -lsocket -lfts -lrt -lresolv -lnsl
Please register or sign in to comment