[Samba] Compiling 3.0.0beta1

Derek T. Yarnell derek at cs.umd.edu
Tue Jun 10 16:40:14 GMT 2003


Figured this out, make sure you don't have any rouge headers in
/usr/local/include. This can cause all sorts of wierd headaches and
compile problems.

On Mon, Jun 09, 2003 at 11:12:02PM -0400, Derek T. Yarnell wrote:
> Preface, running redhat 8.0 (pretty standard and up2date)
> 
> [atlantis 158] uname -a
>  Linux atlantis.cs.umd.edu 2.4.18-27.8.0 #1 Fri Mar 14 06:45:49 EST 2003
>  i686 i686 i386 GNU/Linux
> [atlantis 159] gcc --version
>  gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
>  Copyright (C) 2002 Free Software Foundation, Inc.
>  This is free software; see the source for copying conditions.  There
>  is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>  PURPOSE.
> 
> I am getting wierd errors trying to compile 3.0b1, and getting here and
> it is dying,
> 
> Linking bin/smbd
> tdb/tdbutil.o: In function `tdb_search_keys':
> /tmp/samba-3.0.0beta1/source/tdb/tdbutil.c:791: undefined reference to
> `ap_fnmatch'
> collect2: ld returned 1 exit status
> make: *** [bin/smbd] Error 1
> 
> ap_fnmatch is an apache thing as far as I can find, why is smbd linking
> against it? This is just a straight 
> 	./confiure --prefix=/opt/samba-3.0.0b1 
> 
> No wierd CPPFLAGS,LDFLAGS or any other environmental variables.
> 
> -- 
> ---
> Derek T. Yarnell
> University of Maryland
> Computer Science Department Unix Staff
> derek at cs.umd.edu
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

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



More information about the samba mailing list