[Samba] samba 3.0.0 compiling solaris

Gerald (Jerry) Carter jerry at samba.org
Sat Sep 27 16:27:32 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derek T. Yarnell wrote:
| 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

The rpc libraries are not working right now.  But if the rpc code is
linked in statically, then these symbols should be resolved.  Try
compiling w/o the --enable-shared (although I was not able to
reproduce your problem even using these option).




cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard            ------------------------- http://www.hp.com
~ SAMBA Team                 ---------------------- http://www.samba.org
~ GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/dbpzIR7qMdg1EfYRAsXkAJwIYWIDEzqAgqmZXLOMdVlgQhgAgwCgp/PD
yiqT1L1AbtXWMkKgLCzOVb0=
=EFXl
-----END PGP SIGNATURE-----




More information about the samba mailing list