Can't compile newest CVS code

Andrew Perrin - Demography aperrin at demog.Berkeley.EDU
Tue Sep 15 16:59:33 GMT 1998


Just downloaded the most recent CVS code (after a long break, so I don't
know when this stopped working); I can't get it to compile.  make returns
lots of the following error:

/usr/include/sys/vfs.h:164: warning: `struct statvfs64' declared inside
parameter list
/usr/include/sys/vfs.h:164: warning: its scope is only this definition or
/usr/include/sys/vfs.h:164: warning: which is probably not what you want.

and then finally chokes on:
Linking bin/smbd
Undefined                       first referenced
 symbol                             in file
socket                              lib/util.o
getpeername                         lib/util.o
gethostbyname                       lib/system.o
accept                              smbd/server.o
bind                                lib/util.o
setsockopt                          lib/util.o
gethostbyaddr                       lib/util.o
getsockopt                          lib/util.o
inet_addr                           libsmb/namequery.o
sendto                              smbd/oplock.o
inet_ntoa                           libsmb/namequery.o
getsockname                         smbd/oplock.o
yp_get_default_domain               smbd/password.o
recvfrom                            lib/util.o
listen                              smbd/server.o
connect                             lib/util.o
ld: fatal: Symbol referencing errors. No output written to bin/smbd
*** Error code 1
make: Fatal error: Command failed for target `bin/smbd'

Particulars: Solaris 2.6 (SPARC), gcc, gnu make, used the configure script
and changed only the directory from /usr/local to /usr/LOCAL for our

Any advice?

Andrew J. Perrin - aperrin at - NT/Unix Admin/Support
Department of Demography    -    University of California at Berkeley
2232 Piedmont Avenue #2120  -    Berkeley, California, 94720-2120 USA --------------------------SEIU1199

More information about the samba-ntdom mailing list