Fail to compile samba-3.0.23a using GCC for Sparc

Hi all,

I am trying to compile Samba 3.0.23a with AD support. I have successfully compiled OpenLDAP 2.3.24, MIT Kerberos 5 Release 1.5 and openSSL 0.9.8b. While making samba, I get the output as in the code section.

I have configured the Samba build with the following options.

./configure --prefix=/usr/local/samba -with-winbind -with-ads -with-ldap -with-krb5=/usr/local/krb5

and set the following environment variables

LDFLAGS=-L/usr/local/openldap/lib

CPPFLAGS=-I/usr/local/openldap/include

Here is the output of my PATH variable.

PATH=/opt/gcc/bin:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin

Could anybody help me to sort out what went wrong?

....

.L77000217:

add%i2,4,%o2

callcac_InitCacServiceConfig! params = %o0 %o1 %o2 ! Result = %o0

or%g0,%i1,%o0

orcc%g0,%o0,%g0

be,pn%icc,.L900001314

sethi%hi(0xc0000000),%i4

.L77000218:

ret! Result = %i0

restore %g0,1,%o0

.L900001314:

add%i4,23,%i3

st%i3,[%i5+24] !volatile

ret! Result = %i0

restore %g0,0,%o0

.L77000213:

sethi%hi(0xc0000000),%l3

add%l3,13,%l2

st%l2,[%i5+24] !volatile

ret! Result = %i0

restore %g0,0,%o0

.L77000220:

ret! Result = %i0

restore %g0,0,%o0

.typecac_SvcGetServiceConfig,2

.sizecac_SvcGetServiceConfig,(.-cac_SvcGetServiceConfig)

.ident"cg: Sun Compiler Common 11 gcc2ir_lang 2006/02/07"

.ident"GCC: (GNU) 4.0.2 (gccfss)"

.ident"iropt: Sun Compiler Common 11 gcc2ir_lang 2006/02/07"

Linking libmsrpc non-shared library bin/libmsrpc.a

ar: cannot open libsmb/libsmbclient.po

No such file or directory

ar: cannot open libsmb/libsmb_compat.po

No such file or directory

ar: cannot open libsmb/libsmb_cache.po

No such file or directory

ar: cannot open dynconfig.po

No such file or directory

ar: cannot open param/loadparm.po

No such file or directory

ar: cannot open param/params.po

No such file or directory

ar: cannot open lib/sharesec.po

No such file or directory

ar: cannot open lib/version.po

No such file or directory

ar: cannot open lib/charcnv.po

No such file or directory

ar: cannot open lib/debug.po

No such file or directory

ar: cannot open lib/fault.po

No such file or directory

ar: cannot open lib/getsmbpass.po

No such file or directory

ar: cannot open lib/interface.po

No such file or directory

ar: cannot open lib/md4.po

No such file or directory

ar: cannot open lib/interfaces.po

No such file or directory

ar: cannot open lib/pidfile.po

No such file or directory

ar: cannot open lib/replace.po

No such file or directory

ar: cannot open lib/replace1.po

No such file or directory

ar: cannot open lib/repdir.po

No such file or directory

ar: cannot open lib/timegm.po

No such file or directory

ar: cannot open lib/signal.po

No such file or directory

ar: cannot open lib/system.po

No such file or directory

ar: cannot open lib/sendfile.po

No such file or directory

ar: cannot open lib/time.po

No such file or directory

ar: cannot open lib/ufc.po

No such file or directory

ar: cannot open lib/genrand.po

No such file or directory

ar: cannot open lib/username.po

No such file or directory

ar: cannot open lib/util_pw.po

No such file or directory

ar: cannot open lib/access.po

No such file or directory

ar: cannot open lib/smbrun.po

No such file or directory

ar: cannot open lib/bitmap.po

No such file or directory

ar: cannot open lib/crc32.po

No such file or directory

ar: cannot open lib/snprintf.po

No such file or directory

ar: cannot open lib/dprintf.po

No such file or directory

ar: cannot open lib/xfile.po

No such file or directory

ar: cannot open lib/wins_srv.po

No such file or directory

ar: cannot open lib/util_str.po

No such file or directory

ar: cannot open lib/clobber.po

No such file or directory

ar: cannot open lib/util_sid.po

No such file or directory

ar: cannot open lib/util_uuid.po

No such file or directory

ar: cannot open lib/util_unistr.po

No such file or directory

ar: cannot open lib/util_file.po

No such file or directory

ar: cannot open lib/data_blob.po

No such file or directory

ar: cannot open lib/util.po

No such file or directory

ar: cannot open lib/util_sock.po

No such file or directory

ar: cannot open lib/sock_exec.po

No such file or directory

ar: cannot open lib/util_sec.po

No such file or directory

ar: cannot open lib/talloc.po

No such file or directory

ar: cannot open lib/substitute.po

No such file or directory

ar: cannot open lib/fsusage.po

No such file or directory

ar: cannot open lib/ms_fnmatch.po

No such file or directory

ar: cannot open lib/select.po

No such file or directory

ar: cannot open lib/messages.po

No such file or directory

ar: cannot open lib/tallocmsg.po

No such file or directory

ar: cannot open lib/dmallocmsg.po

No such file or directory

ar: cannot open libsmb/smb_signing.po

No such file or directory

ar: cannot open lib/md5.po

No such file or directory

ar: cannot open lib/hmacmd5.po

No such file or directory

ar: cannot open lib/arc4.po

No such file or directory

ar: cannot open lib/iconv.po

No such file or directory

ar: cannot open nsswitch/wb_client.po

No such file or directory

ar: cannot open nsswitch/wb_common.po

No such file or directory

ar: cannot open lib/pam_errors.po

No such file or directory

ar: cannot open intl/lang_tdb.po

No such file or directory

ar: cannot open lib/adt_tree.po

No such file or directory

ar: cannot open lib/gencache.po

No such file or directory

ar: cannot open tdb/tdb.po

No such file or directory

ar: cannot open tdb/spinlock.po

No such file or directory

ar: cannot open tdb/tdbutil.po

No such file or directory

ar: cannot open tdb/tdbback.po

No such file or directory

ar: cannot open lib/module.po

No such file or directory

ar: cannot open lib/events.po

No such file or directory

ar: cannot open lib/ldap_escape.po

No such file or directory

ar: cannot open modules/CP850.po

No such file or directory

ar: cannot open modules/CP437.po

No such file or directory

ar: cannot open lib/secdesc.po

No such file or directory

ar: cannot open lib/util_seaccess.po

No such file or directory

ar: cannot open lib/secace.po

No such file or directory

ar: cannot open lib/secacl.po

No such file or directory

ar: cannot open libads/krb5_errs.po

No such file or directory

ar: cannot open lib/system_smbd.po

No such file or directory

ar: cannot open lib/audit.po

No such file or directory

ar: cannot open lib/dummysmbd.po

No such file or directory

ar: cannot open lib/dummyroot.po

No such file or directory

ar: cannot open libsmb/clientgen.po

No such file or directory

ar: cannot open libsmb/cliconnect.po

No such file or directory

ar: cannot open libsmb/clifile.po

No such file or directory

ar: cannot open libsmb/clikrb5.po

No such file or directory

ar: cannot open libsmb/clispnego.po

No such file or directory

ar: cannot open libsmb/asn1.po

No such file or directory

ar: cannot open libsmb/clirap.po

No such file or directory

ar: cannot open libsmb/clierror.po

No such file or directory

ar: cannot open libsmb/climessage.po

No such file or directory

ar: cannot open libsmb/clireadwrite.po

No such file or directory

ar: cannot open libsmb/clilist.po

No such file or directory

ar: cannot open libsmb/cliprint.po

No such file or directory

ar: cannot open libsmb/clitrans.po

No such file or directory

ar: cannot open libsmb/clisecdesc.po

No such file or directory

ar: cannot open libsmb/clidgram.po

No such file or directory

ar: cannot open libsmb/clistr.po

No such file or directory

ar: cannot open libsmb/cliquota.po

No such file or directory

ar: cannot open libsmb/clifsinfo.po

No such file or directory

ar: cannot open libsmb/clidfs.po

No such file or directory

ar: cannot open libsmb/smberr.po

No such file or directory

ar: cannot open libsmb/credentials.po

No such file or directory

ar: cannot open libsmb/pwd_cache.po

No such file or directory

ar: cannot open libsmb/clioplock.po

No such file or directory

ar: cannot open libsmb/errormap.po

No such file or directory

ar: cannot open libsmb/clirap2.po

No such file or directory

ar: cannot open libsmb/doserr.po

No such file or directory

ar: cannot open rpc_parse/parse_prs.po

No such file or directory

ar: cannot open rpc_parse/parse_misc.po

No such file or directory

ar: cannot open rpc_parse/parse_sec.po

No such file or directory

ar: cannot open libsmb/nterr.po

No such file or directory

ar: cannot open libsmb/dcerpc_err.po

No such file or directory

ar: cannot open libsmb/smbdes.po

No such file or directory

ar: cannot open libsmb/smbencrypt.po

No such file or directory

ar: cannot open libsmb/ntlm_check.po

No such file or directory

ar: cannot open libsmb/ntlmssp.po

No such file or directory

ar: cannot open libsmb/ntlmssp_parse.po

No such file or directory

ar: cannot open libsmb/ntlmssp_sign.po

No such file or directory

ar: cannot open libsmb/unexpected.po

No such file or directory

ar: cannot open libsmb/namecache.po

No such file or directory

ar: cannot open libsmb/nmblib.po

No such file or directory

ar: cannot open libsmb/namequery.po

No such file or directory

ar: cannot open libsmb/conncache.po

No such file or directory

ar: cannot open libads/dns.po

No such file or directory

ar: cannot open libads/kerberos.po

No such file or directory

ar: cannot open libads/ads_status.po

No such file or directory

ar: cannot open rpc_client/cli_lsarpc.po

No such file or directory

ar: cannot open rpc_client/cli_samr.po

No such file or directory

ar: cannot open rpc_client/cli_netlogon.po

No such file or directory

ar: cannot open rpc_client/cli_srvsvc.po

No such file or directory

ar: cannot open rpc_client/cli_wkssvc.po

No such file or directory

ar: cannot open rpc_client/cli_dfs.po

No such file or directory

ar: cannot open rpc_client/cli_reg.po

No such file or directory

ar: cannot open rpc_client/cli_pipe.po

No such file or directory

ar: cannot open rpc_client/cli_spoolss.po

No such file or directory

ar: cannot open rpc_client/cli_spoolss_notify.po

No such file or directory

ar: cannot open rpc_client/cli_ds.po

No such file or directory

ar: cannot open rpc_client/cli_echo.po

No such file or directory

ar: cannot open rpc_client/cli_shutdown.po

No such file or directory

ar: cannot open rpc_client/cli_svcctl.po

No such file or directory

ar: cannot open rpc_parse/parse_lsa.po

No such file or directory

ar: cannot open rpc_parse/parse_net.po

No such file or directory

ar: cannot open rpc_parse/parse_reg.po

No such file or directory

ar: cannot open rpc_parse/parse_rpc.po

No such file or directory

ar: cannot open rpc_parse/parse_samr.po

No such file or directory

ar: cannot open rpc_parse/parse_srv.po

No such file or directory

ar: cannot open rpc_parse/parse_wks.po

No such file or directory

ar: cannot open rpc_parse/parse_ds.po

No such file or directory

ar: cannot open rpc_parse/parse_spoolss.po

No such file or directory

ar: cannot open rpc_parse/parse_dfs.po

No such file or directory

ar: cannot open rpc_parse/parse_echo.po

No such file or directory

ar: cannot open rpc_parse/parse_shutdown.po

No such file or directory

ar: cannot open rpc_parse/parse_svcctl.po

No such file or directory

ar: cannot open rpc_parse/parse_eventlog.po

No such file or directory

ar: cannot open rpc_parse/parse_buffer.po

No such file or directory

ar: cannot open rpc_parse/parse_ntsvcs.po

No such file or directory

ar: cannot open registry/reg_objects.po

No such file or directory

ar: cannot open passdb/secrets.po

No such file or directory

ar: cannot open passdb/machine_sid.po

No such file or directory

ar: cannot open passdb/pdb_get_set.po

No such file or directory

ar: cannot open passdb/passdb.po

No such file or directory

ar: cannot open passdb/pdb_interface.po

No such file or directory

ar: cannot open passdb/util_wellknown.po

No such file or directory

ar: cannot open passdb/util_builtin.po

No such file or directory

ar: cannot open passdb/pdb_compat.po

No such file or directory

ar: cannot open passdb/util_unixsids.po

No such file or directory

ar: cannot open passdb/lookup_sid.po

No such file or directory

ar: cannot open passdb/login_cache.po

No such file or directory

ar: cannot open passdb/pdb_ldap.po

No such file or directory

ar: cannot open passdb/pdb_nds.po

No such file or directory

ar: cannot open passdb/pdb_smbpasswd.po

No such file or directory

ar: cannot open passdb/pdb_tdb.po

No such file or directory

ar: cannot open lib/account_pol.po

No such file or directory

ar: cannot open lib/privileges.po

No such file or directory

ar: cannot open lib/smbldap.po

No such file or directory

ar: cannot open lib/smbldap_util.po

No such file or directory

ar: cannot open groupdb/mapping.po

No such file or directory

ar: cannot open libmsrpc/libmsrpc.po

No such file or directory

ar: cannot open libmsrpc/libmsrpc_internal.po

No such file or directory

ar: cannot open libmsrpc/cac_lsarpc.po

No such file or directory

ar: cannot open libmsrpc/cac_winreg.po

No such file or directory

ar: cannot open libmsrpc/cac_samr.po

No such file or directory

ar: cannot open libmsrpc/cac_svcctl.po

No such file or directory

ar: libsmb/libsmbclient.po not found

ar: libsmb/libsmb_compat.po not found

ar: libsmb/libsmb_cache.po not found

ar: dynconfig.po not found

ar: param/loadparm.po not found

ar: param/params.po not found

ar: lib/sharesec.po not found

ar: lib/version.po not found

ar: lib/charcnv.po not found

ar: lib/debug.po not found

ar: lib/fault.po not found

ar: lib/getsmbpass.po not found

ar: lib/interface.po not found

ar: lib/md4.po not found

ar: lib/interfaces.po not found

ar: lib/pidfile.po not found

ar: lib/replace.po not found

ar: lib/replace1.po not found

ar: lib/repdir.po not found

ar: lib/timegm.po not found

ar: lib/signal.po not found

ar: lib/system.po not found

ar: lib/sendfile.po not found

ar: lib/time.po not found

ar: lib/ufc.po not found

ar: lib/genrand.po not found

ar: lib/username.po not found

ar: lib/util_pw.po not found

ar: lib/access.po not found

ar: lib/smbrun.po not found

ar: lib/bitmap.po not found

ar: lib/crc32.po not found

ar: lib/snprintf.po not found

ar: lib/dprintf.po not found

ar: lib/xfile.po not found

ar: lib/wins_srv.po not found

ar: lib/util_str.po not found

ar: lib/clobber.po not found

ar: lib/util_sid.po not found

ar: lib/util_uuid.po not found

ar: lib/util_unistr.po not found

ar: lib/util_file.po not found

ar: lib/data_blob.po not found

ar: lib/util.po not found

ar: lib/util_sock.po not found

ar: lib/sock_exec.po not found

ar: lib/util_sec.po not found

ar: lib/talloc.po not found

ar: lib/substitute.po not found

ar: lib/fsusage.po not found

ar: lib/ms_fnmatch.po not found

ar: lib/select.po not found

ar: lib/messages.po not found

ar: lib/tallocmsg.po not found

ar: lib/dmallocmsg.po not found

ar: libsmb/smb_signing.po not found

ar: lib/md5.po not found

ar: lib/hmacmd5.po not found

ar: lib/arc4.po not found

ar: lib/iconv.po not found

ar: nsswitch/wb_client.po not found

ar: nsswitch/wb_common.po not found

ar: lib/pam_errors.po not found

ar: intl/lang_tdb.po not found

ar: lib/adt_tree.po not found

ar: lib/gencache.po not found

ar: tdb/tdb.po not found

ar: tdb/spinlock.po not found

ar: tdb/tdbutil.po not found

ar: tdb/tdbback.po not found

ar: lib/module.po not found

ar: lib/events.po not found

ar: lib/ldap_escape.po not found

ar: modules/CP850.po not found

ar: modules/CP437.po not found

ar: lib/secdesc.po not found

ar: lib/util_seaccess.po not found

ar: lib/secace.po not found

ar: lib/secacl.po not found

ar: libads/krb5_errs.po not found

ar: lib/system_smbd.po not found

ar: lib/audit.po not found

ar: lib/dummysmbd.po not found

ar: lib/dummyroot.po not found

ar: libsmb/clientgen.po not found

ar: libsmb/cliconnect.po not found

ar: libsmb/clifile.po not found

ar: libsmb/clikrb5.po not found

ar: libsmb/clispnego.po not found

ar: libsmb/asn1.po not found

ar: libsmb/clirap.po not found

ar: libsmb/clierror.po not found

ar: libsmb/climessage.po not found

ar: libsmb/clireadwrite.po not found

ar: libsmb/clilist.po not found

ar: libsmb/cliprint.po not found

ar: libsmb/clitrans.po not found

ar: libsmb/clisecdesc.po not found

ar: libsmb/clidgram.po not found

ar: libsmb/clistr.po not found

ar: libsmb/cliquota.po not found

ar: libsmb/clifsinfo.po not found

ar: libsmb/clidfs.po not found

ar: libsmb/smberr.po not found

ar: libsmb/credentials.po not found

ar: libsmb/pwd_cache.po not found

ar: libsmb/clioplock.po not found

ar: libsmb/errormap.po not found

ar: libsmb/clirap2.po not found

ar: libsmb/doserr.po not found

ar: rpc_parse/parse_prs.po not found

ar: rpc_parse/parse_misc.po not found

ar: rpc_parse/parse_sec.po not found

ar: libsmb/nterr.po not found

ar: libsmb/dcerpc_err.po not found

ar: libsmb/smbdes.po not found

ar: libsmb/smbencrypt.po not found

ar: libsmb/ntlm_check.po not found

ar: libsmb/ntlmssp.po not found

ar: libsmb/ntlmssp_parse.po not found

ar: libsmb/ntlmssp_sign.po not found

ar: libsmb/unexpected.po not found

ar: libsmb/namecache.po not found

ar: libsmb/nmblib.po not found

ar: libsmb/namequery.po not found

ar: libsmb/conncache.po not found

ar: libads/dns.po not found

ar: libads/kerberos.po not found

ar: libads/ads_status.po not found

ar: rpc_client/cli_lsarpc.po not found

ar: rpc_client/cli_samr.po not found

ar: rpc_client/cli_netlogon.po not found

ar: rpc_client/cli_srvsvc.po not found

ar: rpc_client/cli_wkssvc.po not found

ar: rpc_client/cli_dfs.po not found

ar: rpc_client/cli_reg.po not found

ar: rpc_client/cli_pipe.po not found

ar: rpc_client/cli_spoolss.po not found

ar: rpc_client/cli_spoolss_notify.po not found

ar: rpc_client/cli_ds.po not found

ar: rpc_client/cli_echo.po not found

ar: rpc_client/cli_shutdown.po not found

ar: rpc_client/cli_svcctl.po not found

ar: rpc_parse/parse_lsa.po not found

ar: rpc_parse/parse_net.po not found

ar: rpc_parse/parse_reg.po not found

ar: rpc_parse/parse_rpc.po not found

ar: rpc_parse/parse_samr.po not found

ar: rpc_parse/parse_srv.po not found

ar: rpc_parse/parse_wks.po not found

ar: rpc_parse/parse_ds.po not found

ar: rpc_parse/parse_spoolss.po not found

ar: rpc_parse/parse_dfs.po not found

ar: rpc_parse/parse_echo.po not found

ar: rpc_parse/parse_shutdown.po not found

ar: rpc_parse/parse_svcctl.po not found

ar: rpc_parse/parse_eventlog.po not found

ar: rpc_parse/parse_buffer.po not found

ar: rpc_parse/parse_ntsvcs.po not found

ar: registry/reg_objects.po not found

ar: passdb/secrets.po not found

ar: passdb/machine_sid.po not found

ar: passdb/pdb_get_set.po not found

ar: passdb/passdb.po not found

ar: passdb/pdb_interface.po not found

ar: passdb/util_wellknown.po not found

ar: passdb/util_builtin.po not found

ar: passdb/pdb_compat.po not found

ar: passdb/util_unixsids.po not found

ar: passdb/lookup_sid.po not found

ar: passdb/login_cache.po not found

ar: passdb/pdb_ldap.po not found

ar: passdb/pdb_nds.po not found

ar: passdb/pdb_smbpasswd.po not found

ar: passdb/pdb_tdb.po not found

ar: lib/account_pol.po not found

ar: lib/privileges.po not found

ar: lib/smbldap.po not found

ar: lib/smbldap_util.po not found

ar: groupdb/mapping.po not found

ar: libmsrpc/libmsrpc.po not found

ar: libmsrpc/libmsrpc_internal.po not found

ar: libmsrpc/cac_lsarpc.po not found

ar: libmsrpc/cac_winreg.po not found

ar: libmsrpc/cac_samr.po not found

ar: libmsrpc/cac_svcctl.po not found

make: [bin/libmsrpc.a] Error 186 (ignored)

Message was edited by:

JoeChris@Sun

Message was edited by:

JoeChris@Sun

[22767 byte] By [JoeChris@Sun] at [2007-11-26 9:11:50]
# 1

> I am trying to compile Samba 3.0.23a with AD support.

> I have configured the Samba build with the following

> options.

>

> ./configure --prefix=/usr/local/samba -with-winbind

> Could anybody help me to sort out what went wrong?

Try configuring with default parameters.

We build samba-3.0.14 regularly without any issues on Solaris 10.

alexey_ at 2007-7-6 23:32:35 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2
Hi,I have tried to configure using just./configure -prefix=/usr/local/sambaThe make result is exactly the same as before. Can anyone help?
JoeChris@Sun at 2007-7-6 23:32:35 > top of Java-index,Open Source Technologies,OpenSPARC...
# 3

> Can anyone help?

the provided output cannot be used to analyze the problem.

if "@sun" in your name means that we're working for the same company then please send us the pointer to your build environment and we can take a look, otherwise it doesn't seem that it's a compiler problem.

alexey_ at 2007-7-6 23:32:35 > top of Java-index,Open Source Technologies,OpenSPARC...
# 4

Hi,

Thank you for the offer.

I do not work directly in Sun but in Sun partner. I can setup a remote server for you to login and take a look. My company e-mail is joseph@esuria.com.bn. Let me know if you can help me this way in the e-mail? I will provide you the remote access info.

Thanks again.

JoeChris@Sun at 2007-7-6 23:32:35 > top of Java-index,Open Source Technologies,OpenSPARC...
# 5

Hello, Joe,

Do you still have problem compiling Samba with gccfss?

We could not find samba-3.0.23a, but we are able to

build Samba 3.0.23c.

Could this be some configuratioin problem instead of

compiler issue? Have you tried the same configuration

with original gcc 4.0.3?

Chih-Hung

chihhung at 2007-7-6 23:32:35 > top of Java-index,Open Source Technologies,OpenSPARC...