Hi,
There was a post about this earlier in the year (May) but no solution. I
guess someone else must have had the problem though!
I've trying to compile Squid 2.1 on Solaris 2.5 with GCC 2.8.1 but am
getting errors like the following:
/usr/include/memory.h:26:
warning: conflicting types for built-in function `memcpy'
/usr/include/memory.h:28:
warning: conflicting types for built-in function `memcmp'
In file included from squid.h:158,
from access_log.c:38:
/usr/include/string.h:32:
warning: conflicting types for built-in function `strcpy'
/usr/include/string.h:39:
warning: conflicting types for built-in function `strcmp'
In file included from squid.h:167,
from access_log.c:38:
/usr/include/crypt.h:28: conflicting types for `setkey'
/usr/include/stdlib.h:126: previous declaration of `setkey'
Looking at the Solaris include files, they seem to have conflicting
entries but are sandwiched between #ifdefs and things.
How can I compile? I could edit the include files, but I'm sure I'm not
supposed to!
Is there a #define or configure option I'm missing?
- Bob
----------------------------------------------------------------------------
I do mail, web, news, DNS and C++... but I don't understand any of it...
----------------------------------------------------------------------------
Bob "Mince" Franklin ~{], CNE ;), MCSE ;) Tel. (0118) 931 8432
Systems and Communications Fax. (0118) 975 3094
Computer Services Centre R.C.Franklin@reading.ac.uk
University of Reading, U.K. http://www.reading.ac.uk/~suq96rcf/
----------------------------------------------------------------------------
Received on Thu Nov 19 1998 - 10:09:36 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:10 MST