From: Werner Maes on
hello

when I try to compile samba-3.4.x on RHEL4 with the samba.spec in the packaging folder I always get this error:

Compiling ../lib/talloc/talloc.c
.../lib/talloc/talloc.c:50:21: replace.h: No such file or directory
.../lib/talloc/talloc.c: In function `_talloc_realloc':
.../lib/talloc/talloc.c:987: error: `bool' undeclared (first use in this function)
.../lib/talloc/talloc.c:987: error: (Each undeclared identifier is reported only once
.../lib/talloc/talloc.c:987: error: for each function it appears in.)
.../lib/talloc/talloc.c:987: error: syntax error before "malloced"
.../lib/talloc/talloc.c:1035: error: `malloced' undeclared (first use in this function)
.../lib/talloc/talloc.c:1035: error: `true' undeclared (first use in this function)
.../lib/talloc/talloc.c:1486:1: warning: "va_copy" redefined
In file included from ../lib/talloc/talloc.h:30,
from ../lib/talloc/talloc.c:51:
/usr/lib/gcc/i386-redhat-linux/3.4.6/include/stdarg.h:54:1: warning: this is the location of the previous definition
The following command failed:
ccache gcc -O2 -g -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -c ../lib/talloc/talloc.c -o ../lib/talloc/talloc.o
make: *** [../lib/talloc/talloc.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.72692 (%build)

any ideas?

kind regards

werner

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba