Solved

SAMBA ERROR: Undefined symbol: .VA_COPY

Posted on 2006-06-09
4
1,249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 62

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 62

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 171
Solaris 10.  Nmap installation fails 2 83
Linux: disable vim auto-comment 7 170
SSH to Solaris server (which uses NIS) 1 49
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 have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:
Suggested Courses

739 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