Compile error squid2REL on Solaris2.5, gcc2.7.2.3 & dlmalloc

From: Marc van Selm <marc.van.selm@dont-contact.us>
Date: Mon, 05 Oct 1998 10:11:37 +0200

I just stumbled into a compile error with squid2-REL on sol2.5, gcc2.7.2.3
& dlmalloc.

./configure --enable-dlmalloc

The compile of stat.c fails.

gcc -g -O2 -Wall -I. -I../include -I../include -c stat.c
stat.c: In function `info_get':
stat.c:430: storage size of `mp' isn't known
stat.c:526: warning: implicit declaration of function `mallinfo'
stat.c:430: warning: unused variable `mp'
stat.c:431: warning: `t' might be used uninitialized in this function
*** Error code 1
make: Fatal error: Command failed for target `stat.o'

I traced it to the gnumalloc.h I have in /usr/include (but don't need to
use). When I removed gnumalloc.h it compiled like a charm.

FYI

PS I would love to have a cache converter (1.2 -> 2.0)

Marc

---------------------------------------------------------------------
Marc van Selm
NATO C3 Agency
Communication Systems Division, A-Branch
Tel: +31 70 3142454
---------------------------------------------------------------------
Private: selm@cistron.nl, selm@het.net, http://www.cistron.nl/~selm
Received on Mon Oct 05 1998 - 01:12:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:20 MST