[Samba] samba-3.0.4 compile issues on AIX 4.3.3

Stefan Rodenstein Stefan_Rodenstein at braun.de
Tue Jun 8 08:21:27 GMT 2004


Hi!

I just downloaded samba-3.0.4 and tried to compile it on AIX 4.3.3
with gcc 2.95.2 using

LDFLAGS="-Wl,-bbigtoc" ./configure --prefix=/bag/samba \
   --mandir=/bag/samba/man \
   --localstatedir=/usr/local/samba/var \
   --with-configdir=/usr/local/samba \
   --with-privatedir=/usr/local/samba/private \
   --with-lockdir=/usr/local/samba/var/locks \
   --with-piddir=/usr/local/samba/var/locks \
   --with-ssl --disable-swat \
   --with-sslinc=/bag/openssl/include --with-ssllib=/bag/openssl

This used to work well in the past, the last time with
samba-3.0.2a.

Now, running make in the 3.0.4 tree first gives some problems with
aud_rec in nsswitch/winbind_nss_aix.c, however, this could be fixed
with an #include <sys/audit.h>.

But when I run make then, I get the following error that I couldn't fix:

rodenss at dilbert:/scratch/samba-3.0.4/source$ make
Using FLAGS =  -O -I./popt -Iinclude -I/scratch/samba-3.0.4/source/include -I/scratch/samba-3.0.4/source/ubiqx -I/scratch/samba-3.0.4/source/smbwrapper  -I. -D_LARGE_FILES -I/scratch/samba-3.0.4/source    
      LIBS = 
      LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok  -Wl,-bbigtoc
      LDFLAGS = -Wl,-bbigtoc
Compiling nsswitch/winbind_nss_aix.c with -O2
nsswitch/winbind_nss_aix.c:748: parse error before `*'
nsswitch/winbind_nss_aix.c: In function `wb_aix_attrlist':
nsswitch/winbind_nss_aix.c:750: `attrlist_t' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c:750: (Each undeclared identifier is reported only once
nsswitch/winbind_nss_aix.c:750: for each function it appears in.)
nsswitch/winbind_nss_aix.c:750: `ret' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c:752: parse error before `)'
nsswitch/winbind_nss_aix.c:758: parse error before `)'
nsswitch/winbind_nss_aix.c:762: `AL_USERATTR' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c: In function `wb_aix_init':
nsswitch/winbind_nss_aix.c:981: structure has no member named `method_version'
nsswitch/winbind_nss_aix.c:981: `SECMETHOD_VERSION_520' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c:990: warning: assignment from incompatible pointer type
nsswitch/winbind_nss_aix.c:994: warning: assignment from incompatible pointer type
nsswitch/winbind_nss_aix.c:999: warning: assignment from incompatible pointer type
nsswitch/winbind_nss_aix.c:1001: structure has no member named `method_attrlist'
make: *** [nsswitch/winbind_nss_aix.po] Error 1
rodenss at dilbert:/scratch/samba-3.0.4/source$ 



attrlist_t seems to be undeclared and I can't find it anyhwere,
neither in the source nor elsewhere on the AIX machine.

Did anybody encounter the same problem? What am I missing and how can
it be fixed?

Regards,
Stefan


More information about the samba mailing list