Hi all,
I’m trying to compile and install ztdummy but keep getting the following. I am following the steps outline on the wiki.
Makefile:207: target `ztdummy.o’ given more than once in the same rule.
ZAPTELVERSION="" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else
mv version.h.tmp version.h ;
fi
rm -f version.h.tmp
/lib/modules/2.6.9-34.EL/build
make -C /lib/modules/2.6.9-34.EL/build SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory /usr/src/kernels/2.6.9-34.EL-i686' /usr/src/zaptel/Makefile:207: target
ztdummy.o’ given more than once in the same rule.
CC [M] /usr/src/zaptel/zaptel.o
/usr/src/zaptel/zaptel.c:384: error: syntax error before “zone_lock”
/usr/src/zaptel/zaptel.c:384: warning: type defaults to int' in declaration of
zone_lock’
/usr/src/zaptel/zaptel.c:384: error: incompatible types in initialization
/usr/src/zaptel/zaptel.c:384: error: initializer element is not constant
/usr/src/zaptel/zaptel.c:384: warning: data definition has no type or storage class
/usr/src/zaptel/zaptel.c:385: error: syntax error before “chan_lock”
/usr/src/zaptel/zaptel.c:385: warning: type defaults to int' in declaration of
chan_lock’
/usr/src/zaptel/zaptel.c:385: error: incompatible types in initialization
/usr/src/zaptel/zaptel.c:385: error: initializer element is not constant
/usr/src/zaptel/zaptel.c:385: warning: data definition has no type or storage class
/usr/src/zaptel/zaptel.c:188: warning: ‘fcstab’ defined but not used
make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1
make[1]: *** [module/usr/src/zaptel] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686’
make: *** [linux26] Error 2
Thanks,
Lee