I'm trying to install samba-3.0.20 on aix 5.2, and I don't want to use aio, but the build process is compiling it in anyway. By default, it isn't supposed to build in aio support, but it does. When I pass --with-aio-support=no to configure, it also builds in support. It builds in aio support whether I use gcc or xlc. Here's what ldd shows: # ldd bin/smbd bin/smbd needs: /usr/lib/libc.a(shr.o) /usr/lib/libc.a(posix_aio.o) /usr/lib/librtl.a(shr.o) /unix /usr/lib/libcrypt.a(shr.o)
(In reply to comment #0) > I'm trying to install samba-3.0.20 on aix 5.2, and I don't want to use aio, but > the build process is compiling it in anyway. By default, it isn't supposed to > build in aio support, but it does. When I pass --with-aio-support=no to > configure, it also builds in support. It builds in aio support whether I use > gcc or xlc. > > Here's what ldd shows: > > # ldd bin/smbd > bin/smbd needs: > /usr/lib/libc.a(shr.o) > /usr/lib/libc.a(posix_aio.o) > /usr/lib/librtl.a(shr.o) > /unix > /usr/lib/libcrypt.a(shr.o) had the same problem, adding CFLAGS=-D_AIO_AIX_SOURCE to configure command solves the problem (e.g.: ./configure --with-aio-support=no CFLAGS=-D_AIO_AIX_SOURCE)
(In reply to comment #1) > (In reply to comment #0) > > I'm trying to install samba-3.0.20 on aix 5.2, and I don't want to use aio, but > > the build process is compiling it in anyway. By default, it isn't supposed to > > build in aio support, but it does. When I pass --with-aio-support=no to > > configure, it also builds in support. It builds in aio support whether I use > > gcc or xlc. > > > > Here's what ldd shows: > > > > # ldd bin/smbd > > bin/smbd needs: > > /usr/lib/libc.a(shr.o) > > /usr/lib/libc.a(posix_aio.o) > > /usr/lib/librtl.a(shr.o) > > /unix > > /usr/lib/libcrypt.a(shr.o) > had the same problem, > adding CFLAGS=-D_AIO_AIX_SOURCE > to configure command solves the problem > (e.g.: ./configure --with-aio-support=no CFLAGS=-D_AIO_AIX_SOURCE) Although that does resolve the symptom, its not the correct fix. :-) Please see patch posted to 3340. Cheers, Bill
*** This bug has been marked as a duplicate of 3340 ***