All pastes #67395 Raw Edit

Something

public text v1 · immutable
#67395 ·published 2006-06-19 21:40 UTC
rendered paste body
ZAPTELVERSION="1.2.6" 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.ELsmp/build
make -C /lib/modules/2.6.9-34.ELsmp/build SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-smp-i686'
  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: In function `free_tone_zone':
/usr/src/zaptel/zaptel.c:1034: warning: passing arg 1 of `_write_lock' from incompatible pointer type
/usr/src/zaptel/zaptel.c:1037: warning: passing arg 1 of `_write_unlock' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_register_tone_zone':
/usr/src/zaptel/zaptel.c:1047: warning: passing arg 1 of `_write_lock' from incompatible pointer type
/usr/src/zaptel/zaptel.c:1054: warning: passing arg 1 of `_write_unlock' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `set_tone_zone':
/usr/src/zaptel/zaptel.c:1095: warning: passing arg 1 of `_read_lock' from incompatible pointer type
/usr/src/zaptel/zaptel.c:1107: warning: passing arg 1 of `_read_unlock' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_chan_reg':
/usr/src/zaptel/zaptel.c:1188: warning: passing arg 1 of `_write_lock_irqsave' from incompatible pointer type
/usr/src/zaptel/zaptel.c:1211: warning: passing arg 1 of `_write_unlock_irqrestore' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_chan_unreg':
/usr/src/zaptel/zaptel.c:1584: warning: passing arg 1 of `_write_lock_irqsave' from incompatible pointer type
/usr/src/zaptel/zaptel.c:1620: warning: passing arg 1 of `_write_unlock_irqrestore' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_ctl_ioctl':
/usr/src/zaptel/zaptel.c:3343: warning: passing arg 1 of `_write_lock' from incompatible pointer type
/usr/src/zaptel/zaptel.c:3345: warning: passing arg 1 of `_write_unlock' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_init':
/usr/src/zaptel/zaptel.c:6553: error: incompatible types in assignment
/usr/src/zaptel/zaptel.c: At top level:
/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-smp-i686'
make: *** [linux26] Error 2