[Samba] Samba with ADS

Asif M Asif.M at siemens.com
Sat Feb 19 14:43:35 GMT 2005


Hello All,
I am a newbie..

I want to compile Samba with ADS support for Solaris UltraSparcIII

I have downloaded the source for
1> Samba 3.0.10
2> MIT Kerberos 5 1.4
3> OpenSSL 0.9.7e
4> OpenLDAP

I started by trying to make MIT Kerberos.

CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' 

./configure configured it but when I try make I get ..

**************************************************
building shared krb5support library (0.0)
set -x; objlist=`set -x && perl -p -e '$e=$ARGV; $e =~ s/OBJS\...$//; s/^/
/; s/ $//; s/ / $e/g;' OBJS.SH` && gcc -shared -h libkrb5support.so.0 -o
libkrb5support.so.0.0 $objlist -R/usr/local/lib  -lresolv -lsocket -lnsl
+ set -x
+ perl -p -e $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;
OBJS.SH
objlist= threads.so fake-addrinfo.so
+ gcc -shared -h libkrb5support.so.0 -o libkrb5support.so.0.0 threads.so
fake-addrinfo.so -R/usr/local/lib -lresolv -lsocket -lnsl
ld: fatal: file threads.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to
libkrb5support.so.0.0
collect2: ld returned 1 exit status
*********************************************

I have checked the 'threas.so.0' file .. it seems to be a relocatable 64 bit
MSB Sparc 9 file..

Could somebody please tell me ..where am I going wrong

Thanks and regards,
asif





More information about the samba mailing list