optarg undeclared in utils/smbcontrol.c (samba-2.2.2)

Andrew J Cole A.J.Cole at cbl.leeds.ac.uk
Tue Oct 23 01:56:55 GMT 2001


It appears that the extern for optarg has been neglected in some recent
edits to smbcontrol.c.

Andrew

gcc version 2.8.1 on SunOS 4.1.4

utils/smbcontrol.c: In function `main':
utils/smbcontrol.c:352: `optarg' undeclared (first use in this function)
utils/smbcontrol.c:352: (Each undeclared identifier is reported only once
utils/smbcontrol.c:352: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `utils/smbcontrol.o'





More information about the samba mailing list