Samba 3.3.0 on AIX 5.3

Michael Adam obnox at samba.org
Tue Jan 27 20:54:06 GMT 2009


Hi William,

William Jojo wrote:
> 
> Trying to build 3.3.0 with ctdb and get:
> 
> 
> Compiling lib/ctdbd_conn.c
> lib/ctdbd_conn.c: In function 'ctdbd_register_ips':
> lib/ctdbd_conn.c:1191: error: storage size of 'p' isn't known
> The following command failed:
> gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl -I. -I/stage/samba/samba-3.3.0/source  -I/opt/pware/include -O -D_SAMBA_BUILD_=3  -I/stage/samba/samba-3.3.0/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/opt/pware/include -I/opt/pware/include -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/opt/pware/include -DLDAP_DEPRECATED   -I/include -I/stage/samba/samba-3.3.0/source/lib -D_SAMBA_BUILD_=3 -O2 -c lib/ctdbd_conn.c -o lib/ctdbd_conn.o
> make: *** [lib/ctdbd_conn.o] Error 1
> 
> 
> AIX 5.3, GCC 4.2.3, CTDB is 1.0.58 (pretty sure).

Ok, this is not specific to AIX:
This is due to the IPv6 changes added to ctdb and samba recently.

It will compile when you install the latest CTDB:
http://ctdb.samba.org/packages/redhat/RHEL5/ctdb-1.0.70.tgz

I think we need a configure check to detect if we have
a new or an old version of ctdb to link against.

Would you mind filing a bug report and assigning it to me?

Thanks! - Michael

-- 
Michael Adam <ma at sernet.de>  <obnox at samba.org>
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090127/e7430335/attachment.bin


More information about the samba-technical mailing list