Hi,
I'm trying to get Samba-2.1.0-prealpha compiled but I always get stuck
at the following error message:
root@pc2:/usr/src/samba-2.1.0-prealpha/source > make
Using LIBS = -lcrypt
Linking bin/rpcclient
rpcclient/rpcclient.o: In function `process':
rpcclient/rpcclient.o(.text+0x4c3): undefined reference to
`wait_keyboard'
collect2: ld returned 1 exit status
make: *** [bin/rpcclient] Error 1
root@pc2:/usr/src/samba-2.1.0-prealpha/source >
Before doing that I run "configure" of course.
Any hints?!
mfg/regards
Detlef
--
<!-- Detlef Maurel smtp: detlef@maurel.de
Linux user 143048 http: www.maurel.de
http://counter.li.org icq : 48348121 //-->
I am not an experienced system administrator, in fact I am self taught, and
having tried several alterations I still get the same error message trying
to compile. Can some one offer any advise!
The end of the compile messages on the screen look like this.
checking whether to support utmp accounting... no
checking whether to install Using Samba book... ${prefix}/swat/using_samba
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... yes
checking if large file support can be enabled
no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config
I have had a look at the config.log, which is 168K long and wasn't able to
work out what was wrong from that.
Operating system HP-UX 10.2
Thanks jim park
***********************************
Mr. Jim Park
ACL BEARING Co.
PO Box 1088
Launceston TAS. 7250
Ph. 03 6324 4592
Fax. 03 6324 4621
Mobile: 0417 368 188
E-mail: jim_park@acl.com.au
************************************
First I compiled kerberos 5-1.2.5. Ater that I configured samba: ./configure --with-smbwrapper --with-krb5 --with-automount --with-smbmount. So far all goes well. After that I 'make' in the samba/source dir. An error pops up, displayed below. Does anyone know of either a workaround or solution? I can't install samba now!! :( Mark -- This is the error: Linking bin/smbd /usr/lib/libkrb5.a(fcc_gennew.o): In function `krb5_fcc_generate_new': fcc_gennew.o(.text+0x6a): the use of `mktemp' is dangerous, better use `mkstemp' /usr/lib/libgssapi_krb5.a(accept_sec_context.o): In function `rd_and_store_for_creds': accept_sec_context.o(.text+0x7b): undefined reference to `krb5_rd_cred' accept_sec_context.o(.text+0xdb): undefined reference to `krb5_rd_cred' /usr/lib/libgssapi_krb5.a(accept_sec_context.o): In function `krb5_gss_accept_sec_context': accept_sec_context.o(.text+0x123e): undefined reference to `krb5_mk_rep' accept_sec_context.o(.text+0x17b5): undefined reference to `krb5_mk_error' /usr/lib/libgssapi_krb5.a(acquire_cred.o): In function `acquire_accept_cred': acquire_cred.o(.text+0x68): undefined reference to `krb5_sname_to_principal' /usr/lib/libgssapi_krb5.a(gssapi_krb5.o): In function `kg_get_context': gssapi_krb5.o(.text+0xf1): undefined reference to `krb5_ser_context_init' gssapi_krb5.o(.text+0x112): undefined reference to `krb5_ser_auth_context_init' gssapi_krb5.o(.text+0x13a): undefined reference to `krb5_ser_ccache_init' gssapi_krb5.o(.text+0x15a): undefined reference to `krb5_ser_rcache_init' gssapi_krb5.o(.text+0x19a): undefined reference to `krb5_ser_auth_context_init' /usr/lib/libgssapi_krb5.a(import_name.o): In function `krb5_gss_import_name': import_name.o(.text+0x162): undefined reference to `krb5_sname_to_principal' /usr/lib/libgssapi_krb5.a(init_sec_context.o): In function `make_ap_req_v1': init_sec_context.o(.text+0x240): undefined reference to `krb5_fwd_tgt_creds' /usr/lib/libgssapi_krb5.a(init_sec_context.o): In function `krb5_gss_init_sec_context': init_sec_context.o(.text+0x1252): undefined reference to `krb5_free_cksumtypes' collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 root@serena:/opt/samba/source#
I'm using Mandrake 9, with Samba version 2.2.7 When I run the ./configure it works fine But when I do the make this is what I get sing FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -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 -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -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 = -lcups -lssl -lcrypto -lnsl -lpopt Linking bin/smbd printing/pcap.o: In function `pcap_printername_ok': printing/pcap.o(.text+0xc5): undefined reference to `cups_printername_ok' printing/pcap.o: In function `pcap_printer_fn': printing/pcap.o(.text+0x2a9): undefined reference to `cups_printer_fn' collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 I have tried running "./configure -disable-cups" but I get the same problem, I do not have cups installed but I wouldnt have thought that would stop it form working.
On Mon, Nov 25, 2002 at 09:45:06PM +0000, Patrick Beaumont wrote:> I have tried running "./configure -disable-cups" but I get the same > problem, I do not have cups installed but I wouldnt have thought that > would stop it form working.The option is called --disable-cups (i.e with two -- in front). Is this what you ran or is it a typo in the message? Tim.