Re: Squid 1.1.7 compilation problem

From: Fernando Cozinheiro <[email protected]>
Date: Thu, 27 Feb 1997 17:48:38 +0000 (PWT)

>
> When I do "make all" on Squid 1.1.7, I end up with the following error.
>
> ==========
> ....
> gcc -g -O2 -Wall -I../include -I./../include -c uudecode.c
> gcc -g -O2 -Wall -I../include -I./../include -c tree.c
> gcc -g -O2 -Wall -I../include -I./../include -c splay.c
> /bin/rm -f libmiscutil.a
> ar r libmiscutil.a rfc1123.o rfc1738.o util.o getfullhostname.o
> base64.o uu
> decode.o tree.o splay.o
> ar: creating archive libmiscutil.a
> ranlib libmiscutil.a
> Making all in scripts...
> Making all in src...
> gcc -g -O2 -Wall -I. -I../include -I./../include -c acl.c
> In file included from acl.c:31:
> squid.h:50: parse error
> *** Error code 1
>

Change line 50 of squid.h file from "#elif" to "#elseif".
It's enough.

> Stop.
> *** Error code 1
>
> Stop.
> ==========
>
> I have no problem in previous versions. Can someone give me a hand? I am
> using FreeBSD 2.1.6 on a 6x86-P166+/64MB/2GB+2GB for the cache.
>
> Please excuse me if you receive this twice. I just get a returned mail
> message and there may something wrong when I sent this the first time.
>
> Regards
>
> Clement
> ---------------------------------------------------------------------------
> email address: support@ans.com.au
> Web page: http://www.ans.com.au
> post address: 14 Fisher Road, Dee Why, NSW 2099, Australia
> fax number: +61 2 9972 2633
>
>

-- 
Fernando Cozinheiro
System & Network Administrator
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Universidade de Aveiro                      Phone:   +351 34 370345
Centro de Informatica e Comunicacoes        Telefax: +351 34 370214
3810 Aveiro                                 Email: cooker@ci.ua.pt
Portugal                                    http://sweet.ua.pt/~cooker/
Received on Thu Feb 27 1997 - 10:19:52 MST

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