[squid-users] squid-2.5.STABLE8 compilation error

From: Yousef Raffah <yraffah@dont-contact.us>
Date: Sat, 19 Feb 2005 11:07:21 +0300

Hello everyone,

I have a RedHat AS 3.0 box which I want to install squid on. So I
downloaded squid-2.5.STABLE8 and unpacked it.

I used these options as my configure options:
./configure --enable-xmalloc-statistics --enable-delay-pools
--enable-useragent-log --enable-referer-log --enable-snmp
--enable-arp-acl --enable-ssl --enable-linux-netfilter
--enable-x-accelerator-vary

It went fine and reported no errors, however, when I "make all", I get
the following *syntax* error!

In file included from ../../src/squid.h:384,
                 from ufs/store_dir_ufs.c:36:
../../src/ssl_support.h:46: syntax error before '*' token
../../src/ssl_support.h:46: warning: type defaults to `int' in
declaration of `sslCreateContext'
../../src/ssl_support.h:46: warning: data definition has no type or
storage class
In file included from ../../src/squid.h:409,
                 from ufs/store_dir_ufs.c:36:
../../src/structs.h:820: syntax error before "SSL"
../../src/structs.h:820: warning: no semicolon at end of struct or union
../../src/structs.h:821: syntax error before ':' token
ufs/store_dir_ufs.c: In function `storeUfsDirRebuildFromDirectory':
ufs/store_dir_ufs.c:423: invalid use of undefined type `struct _fde'
ufs/store_dir_ufs.c:423: dereferencing pointer to incomplete type
ufs/store_dir_ufs.c: In function `storeUfsDirWriteCleanEntry':
ufs/store_dir_ufs.c:1030: invalid use of undefined type `struct _fde'
ufs/store_dir_ufs.c:1030: dereferencing pointer to incomplete type
ufs/store_dir_ufs.c: In function `storeUfsDirWriteCleanDone':
ufs/store_dir_ufs.c:1056: invalid use of undefined type `struct _fde'
ufs/store_dir_ufs.c:1056: dereferencing pointer to incomplete type
make[4]: *** [ufs/store_dir_ufs.o] Error 1

Can someone direct me on this please? What is happenning? why is it
looking at ufs filesystem? I don't have UFS!

Thanks in advance.

-- 
=========
Sincerely,
Yousef Raffah
Join FSF as an Associate Member at:
<URL:http://member.fsf.org/join?referrer=3036>
<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=468&amp;t=1">Get
Firefox!</a>
Received on Sat Feb 19 2005 - 01:07:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST