Details
Description
axis2c fails to compile on Ubuntu 9.04, due to two things:
In util/src/dir_handler.c, AXIS2_CHDIR's return value is ignored. chdir is declared with warn_unused_result in our toolchain, and you pass -Werror to gcc, so this causes a build failure. Obvisouly, chdir could fail for a number of reasons, and failing to check is a problem.
The same problem exists in tools/tcpmon/src/tcpmon.c, where the return value of fread is ignored.