The patch in #15 does not compile for me:
sha2.c:634:13: note: expected 'unsigned char *' but argument is of type 'char *' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/dlg/xymon/xymon-4.3.0~beta2.dfsg/include -I/usr/include -I. -I../include -D_FORTIFY_SOURCE=2 -c -o sig.o sig.c sig.c: In function 'sigsegv_handler': sig.c:56:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/dlg/xymon/xymon-4.3.0~beta2.dfsg/include -I/usr/include -I. -I../include -D_FORTIFY_SOURCE=2 -c -o stackio.o stackio.c gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/dlg/xymon/xymon-4.3.0~beta2.dfsg/include -I/usr/include -I. -I../include -D_FORTIFY_SOURCE=2 -c -o strfunc.o strfunc.c strfunc.c: In function 'htmlquoted': strfunc.c:210:19: error: expected declaration or statement at end of input strfunc.c:210:19: error: expected declaration or statement at end of input strfunc.c:210:19: error: expected declaration or statement at end of input strfunc.c:210:19: warning: control reaches end of non-void function [-Wreturn-type] make[2]: *** [strfunc.o] Error 1 make[2]: Leaving directory `/home/dlg/xymon/xymon-4.3.0~beta2.dfsg/lib' make[1]: *** [lib-build] Error 2 make[1]: Leaving directory `/home/dlg/xymon/xymon-4.3.0~beta2.dfsg' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 dlg@build-precise:~/xymon/xymon-4.3.0~beta2.dfsg$ lsb_release -ac No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: precise dlg@build-precise:~/xymon/xymon-4.3.0~beta2.dfsg$
The patch in #15 does not compile for me:
sha2.c:634:13: note: expected 'unsigned char *' but argument is of type 'char *' OFFSET_ BITS=64 -DLINUX -I. -I/home/ dlg/xymon/ xymon-4. 3.0~beta2. dfsg/include -I/usr/include -I. -I../include -D_FORTIFY_SOURCE=2 -c -o sig.o sig.c OFFSET_ BITS=64 -DLINUX -I. -I/home/ dlg/xymon/ xymon-4. 3.0~beta2. dfsg/include -I/usr/include -I. -I../include -D_FORTIFY_SOURCE=2 -c -o stackio.o stackio.c OFFSET_ BITS=64 -DLINUX -I. -I/home/ dlg/xymon/ xymon-4. 3.0~beta2. dfsg/include -I/usr/include -I. -I../include -D_FORTIFY_SOURCE=2 -c -o strfunc.o strfunc.c dlg/xymon/ xymon-4. 3.0~beta2. dfsg/lib' dlg/xymon/ xymon-4. 3.0~beta2. dfsg' precise: ~/xymon/ xymon-4. 3.0~beta2. dfsg$ lsb_release -ac precise: ~/xymon/ xymon-4. 3.0~beta2. dfsg$
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_
sig.c: In function 'sigsegv_handler':
sig.c:56:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_
strfunc.c: In function 'htmlquoted':
strfunc.c:210:19: error: expected declaration or statement at end of input
strfunc.c:210:19: error: expected declaration or statement at end of input
strfunc.c:210:19: error: expected declaration or statement at end of input
strfunc.c:210:19: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [strfunc.o] Error 1
make[2]: Leaving directory `/home/
make[1]: *** [lib-build] Error 2
make[1]: Leaving directory `/home/
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
dlg@build-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
dlg@build-