Bug 2954 - 3.0.20rc1 fails to compile on AIX 5.1 modules/vfs_full_audit.c
Summary: 3.0.20rc1 fails to compile on AIX 5.1 modules/vfs_full_audit.c
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.20
Hardware: All AIX
: P3 normal
Target Milestone: none
Assignee: Jim McDonough
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-04 06:43 UTC by Jerry Heyman
Modified: 2005-08-24 10:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry Heyman 2005-08-04 06:43:03 UTC
Compiling modules/vfs_extd_audit.c with -O2
Building plugin bin/extd_audit.so
Compiling modules/vfs_full_audit.c with -O2
modules/vfs_full_audit.c:1894:53: macro "aio_return" passed 3 arguments, but 
takes just 1
modules/vfs_full_audit.c: In function `smb_full_audit_aio_return':
modules/vfs_full_audit.c:1894: warning: assignment makes integer from pointer 
without a cast
modules/vfs_full_audit.c:1916:52: macro "aio_error" passed 3 arguments, but 
takes just 1
modules/vfs_full_audit.c: In function `smb_full_audit_aio_error':
modules/vfs_full_audit.c:1916: warning: assignment makes integer from pointer 
without a cast
make: *** [modules/vfs_full_audit.po] Error 1

$ uname -a
AIX p1aix51 1 5 000A6CFC4C00
-bash-2.05b$ oslevel
5.1.0.0

$ ./configure --with-aio-support=no

$ gcc -v
Reading specs from /.amd/tivoli/tools/342/aix4-r1/bin/../lib/gcc/powerpc-ibm-
aix5.1.0.0/3.4.2/specs
Configured with: ../../../src/gcc-3.4.2/configure --prefix=/tivoli/tools/342/
aix4-r1 --enable-languages=c,c++ -enable-shared=libstdc++,libgcc --disable-nls -
-host=powerpc-ibm-aix5.1.0.0 --target=powerpc-ibm-aix5.1.0.0
Thread model: aix
gcc version 3.4.2
Comment 1 Jim McDonough 2005-08-04 18:21:12 UTC
taking this one
Comment 2 Jim McDonough 2005-08-04 18:21:52 UTC
doh!  really take it this time...
Comment 3 Jim McDonough 2005-08-04 18:23:29 UTC
renamed aio_error and aio_return members of the vfs ops to aio_error_fn and
aio_return_fn to avoid collision with aix 5.1 aio.h header file.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:23:58 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.