Solved

SAMBA ERROR: Undefined symbol: .VA_COPY

Posted on 2006-06-09
4
1,225 Views
Last Modified: 2013-11-17
I'm having little trouble compiling samba 2.2.7 on AIX 5.2 with gcc 4.0.0, first i did :
./configure --with-winbind --with-pam

everything went ok, next i did:
./make

and i got this error:
root@SP550 ./source >make
Using FLAGS =  -O  -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper  -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 =  -O  -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper  -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lpam
Linking bin/smbd
ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
ld: 0711-317 ERROR: Undefined symbol: .SAFE_FREE
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.



I've already googled the web with no luck, please help me!
0
Comment
Question by:Morientes
  • 2
  • 2
4 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 16875674
Samba 2.2.7 is old.
Either - get a binaru package from www.bullfreeware.com or fix compile environment - install gcc, gmake and binutils from same place.
0
 
LVL 5

Author Comment

by:Morientes
ID: 16887835
Ok, just let me check if this bff comes with PAM and Winbind and if it does i will accept your comment as the answer.

Thanks!
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 16889799
AIX does not use PAM.
AIX uses tsm (terminal security manager) as authenticator.
BFF cannot , but you can use gcc from BFF-s to compile LDAP-capable samba that does not use tsm. (see "man tsm" for limitations)
0
 
LVL 5

Author Comment

by:Morientes
ID: 16895258
That's all need! thanks a lot gheist!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now