[Samba] make: *** [dynconfig.o] Error

Paul Gienger pgienger at ae-solutions.com
Tue Jan 25 13:58:57 GMT 2005

> Using FLAGS =  -O  -Iinclude 
> -I/usr/local/src/samba-3.0.10/source/include 
> -I/usr/local/src/samba-3.0.10/source/ubiqx 
> -I/usr/local/src/samba-3.0.10/source/smbwrapper  -I. 
> -I/usr/local/src/samba-3.0.10/source        LIBS = -lsendfile -lsec 
> -lgen -lresolv -lsocket -lnsl -ldl
>      LDSHFLAGS = -G  -lthread
>      LDFLAGS = -lthread
> I used to build 3.0.7 no the same host (running OpenLDAP 2.2.18 as 
> well) without any problems, but now 3.0.7 gives the same  error output...
> Something must have been changed in my environment but I get blank of 
> what...

Looks to me like your running environment has changed, WRT your *FLAGS 
at compile time. I usually set the following, although there could be 
some redundancy here:

export FLAGS=-I/opt/openldap/include
export CPPFLAGS=-I/opt/openldap/include
export LDFLAGS=-L/opt/openldap/lib
export CFLAGS="-I/opt/openldap/include"

Also, check the output of crle.

> Sorry if it is off-topic...

Very ON-topic.

Paul Gienger                    Office: 701-281-1884
Applied Engineering Inc.
Systems Architect               Fax:    701-281-1322
URL: www.ae-solutions.com       mailto: pgienger at ae-solutions.com

More information about the samba mailing list