- changed status to closed
No longer supports cross-compiling?
Issue #512
closed
It would appear that this no longer will work with cross-compiling. I have the zlib installed without question and I am getting errors on things that was added in the recent build.
src/util/StringBuffer.c: In function 'StringBuffer_toCompressed': src/util/StringBuffer.c:281: error: 'z_stream' undeclared (first use in this function) src/util/StringBuffer.c:281: error: (Each undeclared identifier is reported only once src/util/StringBuffer.c:281: error: for each function it appears in.) src/util/StringBuffer.c:281: error: expected ';' before 'zstream' src/util/StringBuffer.c:282: error: 'zstream' undeclared (first use in this function) src/util/StringBuffer.c:284: warning: implicit declaration of function 'deflateInit2' src/util/StringBuffer.c:284: error: 'Z_DEFLATED' undeclared (first use in this function) src/util/StringBuffer.c:284: error: 'Z_DEFAULT_STRATEGY' undeclared (first use in this function) src/util/StringBuffer.c:285: error: 'Z_OK' undeclared (first use in this function) src/util/StringBuffer.c:286: warning: implicit declaration of function 'deflateBound' src/util/StringBuffer.c:290: warning: implicit declaration of function 'deflate' src/util/StringBuffer.c:290: error: 'Z_FINISH' undeclared (first use in this function) src/util/StringBuffer.c:291: warning: implicit declaration of function 'deflateEnd' src/util/StringBuffer.c:292: error: 'Z_STREAM_END' undeclared (first use in this function) src/util/StringBuffer.c:299: warning: implicit declaration of function 'zError' make[3]: *** [src/util/StringBuffer.lo] Error 1 make[3]: Leaving directory `/home/ubuntu/workspace/repos/monit/libmonit' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ubuntu/workspace/repos/monit/libmonit' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ubuntu/workspace/repos/monit' make: *** [all] Error 2
Comments (1)
-
repo owner - Log in to comment
Monit now links with zlib - you can either set path to zlib:
./configure --with-zlib=<path>