Hello everybody,
I am trying to compile gnu malloc in order to solve some memory utilisation
problems with the Squid proxy server. However, I have not been successful
yet. I get the errors listed below. Please help.
Regards
Costas Makris
================
cc: Error: ralloc.c, line 246: In this statement, "address" and "size" may
not be added.
while (heap && address + size > heap->end)
-----------------^
cc: Error: ralloc.c, line 270: In this statement, "new" may not be
subtracted from "bloc_start".
if ((*real_morecore) (bloc_start - new) != new)
--------------------------------^
cc: Error: ralloc.c, line 298: In this statement, "last_heap->end" and
"get" may not be added.
last_heap->end += get;
------^
cc: Error: ralloc.c, line 346: In this statement, "excess" may not be
subtracted from "last_heap->e.
last_heap->end -= excess;
----------^
cc: Error: ralloc.c, line 396: In this statement, "new_bloc->data" and
"size" may not be added.
break_value = new_bloc->data + size;
----------------^
cc: Error: ralloc.c, line 449: In this statement, "address" and "b->size"
may not be added.
while (heap && address + b->size > heap->end)
---------------------^
cc: Error: ralloc.c, line 482: In this statement, "address" and "b->size"
may not be added.
address += b->size;
------^
cc: Error: ralloc.c, line 534: In this statement, "bloc->prev->data" and
"bloc->prev->size" may not.
heap->free = bloc->prev->data + bloc->prev->size;
-------------------^
cc: Error: ralloc.c, line 562: In this statement, "b->data" and "b->size"
may not be added.
heap->free = b->data + b->size;
-------------------^
cc: Error: ralloc.c, line 612: In this statement, "bloc->prev->data" and
"bloc->prev->size" may not.
address = (bloc->prev ? bloc->prev->data + bloc->prev->size
--------------------------^
cc: Error: ralloc.c, line 635: In this statement, "bloc->new_data" and
"old_size" may not be added.
bzero (bloc->new_data + old_size, size - old_size);
-------------^
cc: Error: ralloc.c, line 649: In this statement, "last_bloc->data" and
"last_bloc->size" may not b.
break_value = (last_bloc ? last_bloc->data + last_bloc->size
-----------------------------^
cc: Error: ralloc.c, line 844: In this statement, "last_bloc->data" and
"last_bloc->size" may not b.
? last_bloc->data + last_bloc->size
-------------------^
cc: Error: ralloc.c, line 860: In this declaration, the type of "r_alloc"
is not compatible with th.
r_alloc (ptr, size)
^
cc: Error: ralloc.c, line 909: In this declaration, the type of
"r_re_alloc" is not compatible with.
r_re_alloc (ptr, size)
^
cc: Error: ralloc.c, line 958: In this declaration, the type of
"__morecore" is not compatible with.
extern POINTER (*__morecore) ();
---------------^
cc: Warning: ralloc.c, line 969: In this statement, the referenced type of
the pointer value "__mor.
real_morecore = __morecore;
--^
cc: Warning: ralloc.c, line 970: In this statement, the referenced type of
the pointer value "r_all.
__morecore = r_alloc_sbrk;
--^
cc: Error: ralloc.c, line 990: In this statement, "first_heap->start" may
not be subtracted from "f.
(*real_morecore) (first_heap->end - first_heap->start);
--------------------^
cc: Error: ralloc.c, line 996: In this statement, "first_heap->start" may
not be subtracted from "f.
bzero (first_heap->start, first_heap->end - first_heap->start);
----------------------------^
*** Exit 1
Received on Sat Mar 07 1998 - 15:57:07 NZDT