Compile Samba4 in CentOS-5.2 64 bit error

Andrew Bartlett abartlet at
Wed Dec 17 02:02:43 GMT 2008

On Mon, 2008-12-15 at 18:37 +0700, Nguyen, Hai Son wrote:
> Hi all,
>     I got an error message as below when compile Samba4 (alpha 6 - GIT - 
> 07a21db) in 64 bit machine. 
> /usr/bin/ld: Relocatable linking with relocations from format elf32-i386 
> (../librpc/rpc/binding.o) to format elf64-x86-64 (bin/mergedobj/dcerpc.o) is 
> not supported
> make: *** [bin/mergedobj/dcerpc.o] Error 1
> Please let me know if you have experience in deploy samba 4 in 64bit 
> machine.

I regularly build and run Samba4 on Fedora 9 x86_64.  It seems to me
that somehow, either you have brought over .o files from another
machine, or the compiler is producing a mix of 32bit and 64 bit code.

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team 
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list