Compile error

Scott Ruffner jpr9c at cs.virginia.edu
Mon Jan 11 16:21:45 GMT 1999


Hello all,

I normally just lurk on the NTDOM list, but I thought this belonged on
the technical list, so please reply to my address as well.  

I just checked out the latest cvs, and used the configure for the first
time, and now I get a linking error which I never got before.  Here's
all the goodies:

SunOS cs-tl1 5.5.1 Generic i86pc i386 i86pc

: cs-tl1:/usr/cs/src/samba/source ; gcc -v
Reading specs from
/usr/local/lib/gcc-lib/i386-pc-solaris2.5.1/2.8.1/specs
gcc version 2.8.1

: cs-tl1:/usr/cs/src/samba/source ; /usr/ccs/bin/make
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper 
-DSMBLOGFILE="/
usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb"
-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" 
-DSMBRUN="/usr/local/samba/bin/smbrun"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def" 
-DBINDIR="/usr/local/samba/bin" 
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd"           
-DSMB_PASSWD_PROGRAM="/usr/local/samba/bin/smbpasswd"    
-DSMB_P
ASSWD_FILE="/usr/local/samba/private/smbpasswd"         
-DSMB_PASSGRP_FILE="/us
r/local/samba/private/smbpassgrp"       
-DSMB_GROUP_FILE="/usr/local/samba/priv
ate/smbgroup"           
-DSMB_ALIAS_FILE="/usr/local/samba/private/smbalias"
Using LIBS = -lsec -lsocket -lnsl
Linking bin/smbd
Undefined                       first referenced
 symbol                             in file
smb_shm_open                        locking/locking_shm.o
ld: fatal: Symbol referencing errors. No output written to bin/smbd
*** Error code 1
make: Fatal error: Command failed for target `bin/smbd'

Config.h is attached.

Any suggestions are greatly appreciated.  My last update was late
November, and I had no problems compiling, but used the old Makefile
(edited) without configure.

Scott
-- 
Scott Ruffner                   Computer Science Department	
Systems Engineer                226E Olsson Hall
ruffner at cs.virginia.edu         University of Virginia
(804)982-2219
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: application/x-unknown-content-type-cheaderfile
Size: 21265 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/19990111/2c7d3e17/config.bin


More information about the samba-technical mailing list