Samba 4 on AIX: Compile fails - Undefined symbol .va_copy

moitrayee gupta moigupta at
Fri Oct 6 12:22:08 GMT 2006


I've been having some problems compiling Samba 4 on AIX (5.2 and 5.3) using
XL C compiler. The compilation fails with the error:

    ld: 0711-317 ERROR: Undefined symbol: .va_copy
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
    make: 1254-004 The error code from the last command is 8.

I've used the following commands:
    i. ./
   ii. ./configure --prefix=<prefix>
  iii. make

The compilation succeeds when the option "-qlanglvl=extc99" is manually
included in CFLAGS, and passed to the configure script as follows :
./configure CFLAGS="-qlanglvl=extc99" --prefix=<prefix>

My question is this : Shouldn't this option get added automatically to
CFLAGS when the configure script is run? I've had a look at the two AIX
machines in the build farm (oehmesrs6k,which uses cc and
aix1,which uses gcc) - there doesn't seem to be a problem with them. Could
this be an XL C-specific problem that needs to be fixed?

Additional details:
Samba 4 revision : 19117
Platform :               AIX 5.2 and 5.3 (both 32 bit and 64 bit)
Compiler :              XL C
Attachments :       Output of configure and make
                              (config.log can be provided on request,as it
is too large to attach here)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_output
Type: application/octet-stream
Size: 26012 bytes
Desc: not available
Url :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_output
Type: application/octet-stream
Size: 64427 bytes
Desc: not available
Url :

More information about the samba-technical mailing list