[Samba] more solaris/samba 3 build problems

Gerald (Jerry) Carter jerry at samba.org
Wed Oct 22 16:03:46 GMT 2003


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

Peter T Greening wrote:
| Samba team.. I spent an hour trying to post to the samaba news group at
| gmane.org.  my browser seems retarded, and I need to do work.  I also
| spent about 20 minutes trying to figure out the bugzilla deal, but its
| beyond me, plus i am getting very frustraited trying to send this damm
| bug report.  so.. here.. here is the bug report.  please post it,
whatever.
...
| Build(make) does not get far, here is a complete output of make
|  >make
| Using FLAGS =  -g -O2 -I/usr/local/src/samba/samba-3.0.0/source/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.
| -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
| -I/usr/local/src/samba/samba-3.0.0/source
|       LIBS = -lsec -lgen -lresolv -lsocket -lnsl -ldl
|       LDSHFLAGS = -G
|       LDFLAGS =
| Compiling /usr/local/src/samba/samba-3.0.0/source/dynconfig.c
| In file included from
| /usr/local/src/samba/samba-3.0.0/source/include/includes.h:337,
|                  from
| /usr/local/src/samba/samba-3.0.0/source/dynconfig.c:21:
| /usr/local/include/compat.h:6: warning: #warning "This header is
| obsolete, use ap_compat.h instead"

It looks like you have the Apache

David Lechnyr sent me this recently...


BUG: When compiling Samba 3.0.0 on a machine with Apache installed, the
Apache file /usr/(local)?/include/ap_compat
causes the build to abort with the following error message:

~    tdb/tdbutil.o: In function `tdb_search_keys':
~    /tmp/samba-3.0.0/source/tdb/tdbutil.c:791: undefined reference to
`ap_fnmatch'
~    collect2: ld returned 1 exit status
~    make: *** [bin/smbd] Error 1

SOLUTION: Delete the ap_compat file or move it out of the include
directories and rebuild Samba again.  It's used only for backwards
Apache 1.2.x functionality.





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/lqphIR7qMdg1EfYRAhhOAJwNE+9W84cvN1bAdOnGeWLURzgCNQCgtROc
x5lA0b+7rn+09SrWOF/jYuQ=
=Ugod
-----END PGP SIGNATURE-----




More information about the samba mailing list