I am attempting to install Samba 2.2.8a on an IBM RS/6000 running AIX 5.2

When I run the make command, after doing the configuration it compiles
everything OK but when it tries to link I get the following error:
Linking bin/smbd
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
information.
make: 1254-004 The error code from the last command is 8.

I had no problem doing the install on AIX 4.3.3.

Does anybody have any idea what my problem is?

Thanks,
Stephen Spencer