[Samba] samba 3.0.0 compiling solaris

Derek T. Yarnell derek at cs.umd.edu
Thu Sep 25 18:35:38 GMT 2003


I am having trouble compiling 3.0.0 (release) on solaris 2.8

I am getting this,

Using FLAGS =  -g -O2 -I/usr/local/cups-1.1.18/include -I/usr/local/krb5-1.3.1/include -I./popt -Iinclude -I/usr/local/src/samba/samba-3.0.0/source/include -I/usr/local/src/samba/samba-3.0.0/source/ubiqx -I/usr/local/src/samba/samba-3.0.0/source/smbwrapper  -I.  -I/usr/local/openldap-2.1.22/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/krb5-1.3.1/include -I/usr/local/src/samba/samba-3.0.0/source    
      LIBS = -lsec -lgen -lresolv -lsocket -lnsl
      LDSHFLAGS = -G  -L/usr/local/openldap-2.1.22/lib -R/usr/local/openldap-2.1.22/lib -L/usr/local/cups-1.1.18/lib
      LDFLAGS = -L/usr/local/openldap-2.1.22/lib -R/usr/local/openldap-2.1.22/lib -L/usr/local/cups-1.1.18/lib
Linking bin/smbd
rpc_server/srv_pipe.o(.text+0x4248): In function `get_pipe_fns': /usr/local/src/samba/samba-3.0.0/source/rpc_server/srv_pipe.c:1567: undefined reference to `lsa_get_pipe_fns'
rpc_server/srv_pipe.o(.text+0x425c):/usr/local/src/samba/samba-3.0.0/source/rpc_server/srv_pipe.c:1570: undefined reference to `lsa_ds_get_pipe_fns'
rpc_server/srv_pipe.o(.text+0x4270):/usr/local/src/samba/samba-3.0.0/source/rpc_server/srv_pipe.c:1573: undefined reference to `samr_get_pipe_fns'
rpc_server/srv_pipe.o(.text+0x4284):/usr/local/src/samba/samba-3.0.0/source/rpc_server/srv_pipe.c:1576: undefined reference to `netlog_get_pipe_fns'
rpc_server/srv_pipe.o(.text+0x42ac):/usr/local/src/samba/samba-3.0.0/source/rpc_server/srv_pipe.c:1582: undefined reference to `wkssvc_get_pipe_fns'
rpc_server/srv_pipe.o(.text+0x42c0):/usr/local/src/samba/samba-3.0.0/source/rpc_server/srv_pipe.c:1585: undefined reference to `reg_get_pipe_fns'
rpc_server/srv_pipe.o(.text+0x42e8):/usr/local/src/samba/samba-3.0.0/source/rpc_server/srv_pipe.c:1591: undefined reference to `netdfs_get_pipe_fns'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

Here are my configure args,

./configure --prefix=/usr/local/samba-3.0.0
--with-privatedir=/etc/samba/private --with-lockdir=/var/samba/locks
--with-piddir=/var/run --with-swatdir=/etc/samba/swat
--with-configdir=/etc/samba --with-logfilebase=/var/adm/samba
--with-krb5=/usr/local/krb5-1.3.1 --with-included-popt --enable-shared
--with-libsmbclient

Any clues?

-- 
---
Derek T. Yarnell
University of Maryland
Computer Science Department Unix Staff
derek at cs.umd.edu



More information about the samba mailing list