compile failure

Tom Holroyd
Mon, 25 Mar 2002 07:44:34 -0000

On Mon, 25 Mar 2002, Tom Holroyd wrote:

> monitor_mm.h:28:22: sys/tree.h: No such file or directory

OK, I got tree.h (thanks Denis), and there are a few additional
warnings:

auth-rsa.c: In function `auth_rsa_key_allowed':
auth-rsa.c:168: warning: return makes integer from pointer without a cast
auth-rsa.c:176: warning: return makes integer from pointer without a cast
auth-rsa.c:184: warning: return makes integer from pointer without a cast

auth_rsa_key_allowed() is returning NULL instead of 0.

monitor_mm.c: In function `mm_make_entry':
monitor_mm.c:60: warning: int format, different type arg (arg 5)
monitor_mm.c: In function `mm_create':
monitor_mm.c:88: warning: int format, different type arg (arg 2)
monitor_mm.c: In function `mm_destroy':
monitor_mm.c:127: warning: int format, different type arg (arg 3)
monitor_mm.c: In function `mm_xmalloc':
monitor_mm.c:141: warning: int format, different type arg (arg 3)
monitor_mm.c: In function `mm_free':
monitor_mm.c:227: warning: int format, different type arg (arg 3)
monitor_mm.c:250: warning: int format, different type arg (arg 4)

These are mostly sizeof(int) == 4, sizeof(long) == 8 bugs.

Other than that it works fine now (+ SRP).