[Samba] Errors on compiling

Bart bart at redhanky.net
Tue Mar 26 10:56:05 GMT 2002


Platform:  Sun Sparc 240
OS:        OpenBSD 3.0

I get the following errors when compiling:

Compiling libsmb/clistr.c
libsmb/clistr.c: In function `clistr_push':
libsmb/clistr.c:76: warning: passing arg 1 of pointer to function discards
qualifiers from pointer target type

Compiling tdb/tdbutil.c
tdb/tdbutil.c: In function `tdb_unpack':
tdb/tdbutil.c:401: warning: cast to pointer from integer of different size

Compiling smbd/notify_kernel.c
Linking bin/smbd
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling nmbd/nmbd_synclists.c
Linking bin/nmbd
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling web/swat.c
Linking bin/swat
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling lib/readline.c
Linking bin/smbclient
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling client/smbspool.c
Linking bin/smbspool
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/testparm.c
Linking bin/testparm
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/testprns.c
Linking bin/testprns
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/status.c
Linking bin/smbstatus
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/smbcontrol.c
Linking bin/smbcontrol
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/make_printerdef.c
Linking bin/make_printerdef
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling libsmb/cli_pipe_util.c
Linking bin/smbpasswd
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/make_smbcodepage.c
Linking bin/make_smbcodepage
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Linking bin/rpcclient
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/make_unicodemap.c
Linking bin/make_unicodemap
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/smbcacls.c
Linking bin/smbcacls
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Compiling utils/nmblookup.c
Linking bin/nmblookup
lib/util_sec.o: In function `gain_root_privilege':
lib/util_sec.o(.text+0x274): warning: this program uses setreuid(), which is
deprecated.
lib/util_sec.o: In function `gain_root_group_privilege':
lib/util_sec.o(.text+0x2a0): warning: this program uses setregid(), which is
deprecated.

Any help will be appreciated.

Bart





More information about the samba mailing list