The Samba-Bugzilla – Bug 447
Last modified: 2004-02-17 08:45:40 UTC
Trying to build SAMBA 2.2.8a on AIX 5.2, using IBM's C v6.0 compiler results in
ld: 0711-317 ERROR: Undefined symbol: .SAFE_FREE
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
Upon investigation I discovered that the problem is with snprintf.c -
whenever HAVE_PRINTF, HAVE_VSNPRINTF and HAVE_C99_VSNPRINTF are all defined (as
they are in my environment) then the SAFE_FREE and VA_COPY macros never get
defined, even though they are used later on in the code (e.g. vasprintf
procedure). It may be that the #endif prior to the vasprintf procedure
specification is misplaced.
I just ran a normal configuration with no options set.
Sorry, but the 2.2 is not under development any longer.
If you can reproduce this bug against the latest 3.0 release,
please reopen this bug and change the version in the report.