The following errors are generated when attempting to compile Samba 3.0.4 under AIX 5.1 using gcc 2.9 compiler.
Compiling nsswitch/wb_common.c with -O2
Compiling lib/replace1.c with -O2
Compiling nsswitch/winbind_nss_aix.c with -O2
In file included from nsswitch/winbind_nss_aix.c:50: /usr/include/usersec.h:625: warning: `struct aud_rec' declared inside parameter list
/usr/include/usersec.h:625: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/usersec.h:626: warning: `struct aud_rec' declared inside parameter list
nsswitch/winbind_nss_aix.c: In function `wb_aix_init':
nsswitch/winbind_nss_aix.c:980: structure has no member named `method_version'
nsswitch/winbind_nss_aix.c:980: `SECMETHOD_VERSION_520' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c:980: (Each undeclared identifier is reported only once
nsswitch/winbind_nss_aix.c:980: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.
Stop.
Compiling nsswitch/wb_common.c with -O2
Compiling lib/replace1.c with -O2
Compiling nsswitch/winbind_nss_aix.c with -O2
In file included from nsswitch/winbind_nss_aix.c:50: /usr/include/usersec.h:625: warning: `struct aud_rec' declared inside parameter list
/usr/include/usersec.h:625: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/usersec.h:626: warning: `struct aud_rec' declared inside parameter list
nsswitch/winbind_nss_aix.c: In function `wb_aix_init':
nsswitch/winbind_nss_aix.c:980: structure has no member named `method_version'
nsswitch/winbind_nss_aix.c:980: `SECMETHOD_VERSION_520' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c:980: (Each undeclared identifier is reported only once
nsswitch/winbind_nss_aix.c:980: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.
Stop.