[Samba] Compiling samba 3.0.12pre1 on AIX 4.3.3

Ayotunde Itayemi aitayemi at vmobile-nigeria.com
Tue Mar 15 07:49:04 GMT 2005

Hi All,

I have made some headway.
I have been able to successfully install kerberos v 5-1.3.5
CPPFLAGS='-I/usr/local/include'./configure --enable-dns
--enable-dns-for-kdc --enable-dns-for-realm --disable-thread-support
make; make instal

/configure --disable-slurpd --disable-bdb --disable-slapd
--without-threads make depend; make; make install

I configured samba-3.0.12pre1 with the command below, but make (v 3.80)
dies out with the (partial log) below:
Any ideas please? I intend to try v 3.0.11 tomorrow to see if it will
compile successfully.
Apart from some differences in file versions, I am using the following
link as a guide (for example, I discovered one needs binutils 2.15 in
order to use gcc 3.4.3 - the guide specified binutils 2.9.1)

cd samba-3.0.12pre1
/configure --with-winbind --with-ldap --with-ads
--with-krb5=/usr/local/krb5-1.3.5 make

 . . . 

Compiling lib/access.c
Compiling lib/smbrun.c
Compiling lib/bitmap.c
Compiling lib/crc32.c
Compiling lib/snprintf.c
Compiling lib/dprintf.c
Compiling lib/xfile.c
Compiling lib/wins_srv.c
Compiling lib/util_str.c
lib/util_str.c: In function `strstr_m':
lib/util_str.c:1337: warning: return discards qualifiers from pointer
target type
lib/util_str.c: At top level:
lib/util_str.c:1560: error: conflicting types for 'strnlen'
lib/util_str.c:598: error: previous implicit declaration of 'strnlen'
was here
make: *** [lib/util_str.o] Error 1

More information about the samba mailing list