[Samba] Compiling Samba 2.2.5 on Tru64 UNIX
Uwe.Lienig at fif.mw.htw-dresden.de
Wed Aug 7 03:23:02 GMT 2002
I'm new to this list, so forgive me if this has been diskussed before.
I'm trying to compile samba 2.2.5 on a Alpha box with Tru64UNIX v4.0f patchkit
6. configure went ok. While running (gnu)make I get a warning. I do not exactly
know what this means and want to clarify what to do.
The config line is:
./configure --prefix=/usr/local/opt/samba --exec-prefix=/usr/local \
--sysconfdir=/etc --localstatedir=/var/log/samba \
--infodir=/usr/local/share/info --mandir=/usr/local/share/man \
--with-swatdir=/usr/local/opt/samba/swat --with-configdir=/etc \
--with-codepagedir=/usr/local/opt/samba/codepages --with-syslog \
with setting CC="cc -std"
The compiler warning is:
cc: Info: include/includes.h, line 1080: In this statement, the declaration for
intrinsic function "snprintf" referenced at line number 595 in file
smbd/server.c, parameter number 2 is of type "unsigned long", which is not
consistent with the expected type "long". It will be treated as an ordinary
external function. (intrinsicdecl)
int snprintf(char *,size_t ,const char *, ...) PRINTF_ATTRIBUTE(3,4);
I suspect this means, there are a declaration for snprintf and a function call
that are different in parameter description. Since I compiled-2.2.3a
successfully I didn't expect any warnings for 2.2.5. I compared samba-2.2.3a
lib/snprintf with samba-2.2.5 lib/snprintf and noticed they are different. I
searched for snprintf to be part of Tru64 base system but the search didn't show
up any results.
Any pointers appreciated.
Uwe Lienig | fon: (+49 351) 462 2780 | mailto:uwe.lienig at fif.mw.htw-dresden.de
| fax: (+49 351) 462 3476 | http://www.fif.mw.htw-dresden.de
HTW Dresden | parcels: Gutzkowstr. 22 | letters: PF 12 07 01
-FiF- | 01069 Dresden | 01008 Dresden
More information about the samba