[Samba] Linker error (ld) when compiling samba 3.5.4

Bob rlp8971 at yahoo.com
Tue Jan 18 19:51:50 MST 2011

OS: AIX 6.1 TL05 SP4
Compiler: gcc
Samba: 3.5.4

When compiling, I am receiving the following error:
....(many Duplicate symbol warnings before this)....
ld: 0711-224 WARNING: Duplicate symbol: talloc_increase_ref_count
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .error_message
ld: 0711-317 ERROR: Undefined symbox: .create_kerberos_key_from_string_direct
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.

I was looking through the archives and found a posting that matched my exact problem but couldn't find the response to it.  The thread article was on May 12, 2010 at 11:01am.

I see in the libsmb/clikrb5.c source that the function error_message isn't defined so I assumed that this should be defined in /lib/syscalls.exp but it is not.  Do I need to define it in this file or am I way off base?

Appreciate any help.



More information about the samba mailing list