Please find below a number of errors i recieved while compiling samba 2.2.0 on
an OpenBSD 2.8-current machine
Linking bin/smbd
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling nmbd/asyncdns.c
[snip]
inking bin/swat
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling client/client.c
Compiling client/clitar.c
Compiling lib/readline.c
Linking bin/smbclient
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling client/smbspool.c
Linking bin/smbspool
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/testparm.c
Linking bin/testparm
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/testprns.c
Linking bin/testprns
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/status.c
Linking bin/smbstatus
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/smbcontrol.c
Linking bin/smbcontrol
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/smbpasswd.c
Linking bin/smbpasswd
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/make_smbcodepage.c
Linking bin/make_smbcodepage
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
[snip]
Linking bin/rpcclient
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/make_unicodemap.c
Linking bin/make_unicodemap
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/smbcacls.c
Linking bin/smbcacls
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/nmblookup.c
Linking bin/nmblookup
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.
Compiling utils/make_printerdef.c
Linking bin/make_printerdef
lib/util.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
lib/util_sec.o: warning: this program uses setreuid(), which is deprecated.
lib/util_sec.o: warning: this program uses setregid(), which is deprecated.