I downloaded and extracted samba-3.0.28.tar.gz and went to samba-3.0.28/packaging/RHEL and ran sh makerpms.sh and it compiles for a while and then I get the following error. Any ideas on what to try? The server is X86_64 running CentOS 5 X64.

Compiling smbd/statcache.c
Compiling smbd/posix_acls.c
Compiling lib/sysacls.c
Compiling lib/server_mutex.c
Compiling smbd/process.c
Compiling smbd/service.c
/tmp/ccdi39IS.s: Assembler messages:
/tmp/ccdi39IS.s:124: Error: Incorrect register `%rax' used with `l' suffix
The following command failed:
gcc -I. -I/usr/src/redhat/BUILD/samba-3.0.28/source -O2 -g -D_GNU_SOURCE -I/usr/src/redhat/BUILD/samba-3.0.28/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -I/usr/src/redhat/BUILD/samba-3.0.28/source/lib -D_SAMBA_BUILD_=3 -fPIC -c smbd/process.c -o smbd/process.o
Compiling smbd/error.c
Compiling printing/printfsp.c
Compiling lib/sysquotas.c
make: *** [smbd/process.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.70042 (%build)


RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.70042 (%build)
makerpms.sh: Done.
[EMAIL PROTECTED] RHEL]# cat /etc/redhat-release
CentOS release 5 (Final)
[EMAIL PROTECTED] RHEL]# uname -a
Linux arrowhead.mdah.state.ms.us 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:55 EST 2007 x86_64 x86_64 x86_64 GNU/Linux


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to