How getservbyname_r is defined on OpenBSD 6.1 Jean-Louis
On 01/08/17 04:28 PM, Eric Lovelace wrote: > Hello, > > I would like to run Amanda on OpenBSD (Ideally with current versions of > each). From what I have found online, this was possible in previous > versions of both softwares but I can¹t find any examples with more recent > versions; is this setup still supported? I ran into an issue with the > default make command (that apparently the Makefile used some GNU make > exclusive features), but using gmake seemed to advance the progress a > little further. Has anyone encountered anything similar and been able to > get it working? Thanks in advance! > > The error from running gmake > ============================ > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../config -I../gnulib > -I../common-src -fno-strict-aliasing -D_GNU_SOURCE -I/usr/include -pthread > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include > -I/usr/local/include -Wall -Wextra -Wparentheses > -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes > -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare > -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing > -Wno-unknown-pragmas -Wno-deprecated-declarations > -DAMANDA_FILE=\"security-util.c\" -g -O2 -fno-strict-aliasing -MT > security-util.lo -MD -MP -MF .deps/security-util.Tpo -c security-util.c > -fPIC -DPIC -o .libs/security-util.o > security-util.c: In function 'find_port_for_service': > security-util.c:3318: warning: passing argument 4 of 'getservbyname_r' > from incompatible pointer type > security-util.c:3318: error: too many arguments to function > 'getservbyname_r' > gmake[3]: *** [Makefile:2479: security-util.lo] Error 1 > gmake[3]: Leaving directory '/root/amanda-3.4.5/common-src' > gmake[2]: *** [Makefile:2123: all] Error 2 > gmake[2]: Leaving directory '/root/amanda-3.4.5/common-src' > gmake[1]: *** [Makefile:1717: all-recursive] Error 1 > gmake[1]: Leaving directory '/root/amanda-3.4.5' > gmake: *** [Makefile:1641: all] Error 2 > > > > > The results from ./configure > ============================ > Directories: > Application: /usr/local/libexec/amanda/application > Configuration: /usr/local/etc/amanda > GNU Tar lists: /usr/local/var/amanda/gnutar-lists > Perl modules (amperldir): /usr/local/libdata/perl5/site_perl > Template and example data files (amdatadir): /usr/local/share/amanda > Temporary: /tmp/amanda > WARNINGS: > no user specified (--with-user) -- using 'amanda' > no group specified (--with-group) -- using 'backup' > /bin/tar is not GNU tar, so it will not be used. > /usr/local/bin/smbclient does not seem to be smbclient. > > This message is the property of CARBONITE, INC. and may contain confidential or privileged information. If this message has been delivered to you by mistake, then do not copy or deliver this message to anyone. Instead, destroy it and notify me by reply e-mail
