[Samba] compiling samba-3.4.x on RHEL4

Werner Maes Werner.Maes at icts.kuleuven.be
Thu Sep 10 08:37:33 MDT 2009

replace.h is in /usr/src/redhat/BUILD/samba-3.4.1/lib/replace/

The Makefile can be found in /usr/src/redhat/BUILD/samba-3.4.1/source3/

so -I./../lib/replace should point to the folder where replace.h can be found? Or am I missing sometmhing?

CPPFLAGS=-DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED


ps: in samba 3.2.x & 3.3.x the folder lib/replace was situated in the source/ folder, but in samba 3.4.x it is no longer there but one directory up !

> -----Original Message-----
> From: Ralf Hornik [mailto:ralf at ralf-hornik.de]
> Sent: donderdag 10 september 2009 16:20
> To: Werner Maes
> Cc: 'Michael Wood'; samba at lists.samba.org
> Subject: Re: [Samba] compiling samba-3.4.x on RHEL4
> Werner Maes <Werner.Maes at icts.kuleuven.be> wrote:
> > so it seems that it should find replace.h>
> > can't figure out what's wrong her :(
> So where is your replace.h located?
> Ralf

More information about the samba mailing list