[SQU] Compile problem Sol8 gcc 2.95.2

From: Clemens Martin <martin@dont-contact.us>
Date: Wed, 16 Aug 2000 18:17:45 +0200

Mail auf Viren ueberprueft

There seems to be a naming conflict between squid and Solaris 8.

I canīt manage to compile the thing. (It is configured with
 ./configure --enable-ipf-transparent )
and the ip_fil3.4.9 Package is installed.

The problem below happens when compiling it (Itīs a sparc with Sol 8 running
the 32bit kernel)

any help welcome

kind regards

Clemens

gcc -g -Wall -I. -I../include -I../include -c client_side.c
In file included from /usr/include/inet/ip.h:18,
                 from /usr/include/netinet/ip_compat.h:102,
                 from client_side.c:51:
/usr/include/inet/mib2.h:105: `Counter' redeclared as different kind of
symbol
globals.h:120: previous declaration of `Counter'
In file included from /usr/include/netinet/ip_compat.h:102,
                 from client_side.c:51:
/usr/include/inet/ip.h:1160: parse error before `ip6_hbh_t'
/usr/include/inet/ip.h:1160: warning: no semicolon at end of struct or union
/usr/include/inet/ip.h:1161: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1162: parse error before `*'
/usr/include/inet/ip.h:1162: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1163: parse error before `*'
/usr/include/inet/ip.h:1163: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1165: parse error before `}'
client_side.c: In function `clientUpdateCounters':
client_side.c:583: parse error before `.'
client_side.c:585: parse error before `.'
client_side.c:587: parse error before `.'
client_side.c:588: parse error before `Counter'
client_side.c:597: parse error before `Counter'
client_side.c:600: parse error before `Counter'
client_side.c:605: parse error before `Counter'
client_side.c:609: parse error before `Counter'
client_side.c:618: parse error before `.'
client_side.c:621: parse error before `.'
client_side.c:624: parse error before `Counter'
client_side.c:627: parse error before `.'
client_side.c:630: parse error before `.'
client_side.c:580: warning: unused variable `svc_time'
client_side.c: In function `clientWriteComplete':
client_side.c:1789: parse error before `Counter'
client_side.c:1791: parse error before `Counter'
client_side.c: In function `clientReadRequest':
client_side.c:2334: parse error before `.'
client_side.c:2338: parse error before `Counter'
*** Error code 1
make: Fatal error: Command failed for target `client_side.o'

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Aug 16 2000 - 10:20:40 MDT

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