SOLVED! Was:[SQU] Compiling Squid 2.3 STABLE 4 On Mac OS X PB

From: Aaron Faby <afaby@dont-contact.us>
Date: Thu, 11 Jan 2001 12:21:18 -0800

Never mind, I figured it out. For those interested, you need to comment
out the
following line in src/asn.c:

extern struct radix_node *rn_lookup(void *, void *, void *);

Its line 94 or so.

--------------------------------------------------------------------------------------------------
Aaron Faby Software Developer
Tenon Intersystems
afaby@tenon.com
1123 Chapala Street
805-963-6983
Santa Barbara, CA 93103
http://www.tenon.com
--------------------------------------------------------------------------------------------------

On Thursday, January 11, 2001, at 09:30 AM, Aaron Faby wrote:

> I get the following errors:
>
> Making all in lib...
> make[1]: Nothing to be done for `all'.
> Making all in scripts...
> make[1]: Nothing to be done for `all'.
> Making all in src...
> sed "\
> s%@DEFAULT_MIME_TABLE@%/usr/local/squid/etc/mime.conf%g;\
> s%@DEFAULT_DNSSERVER@%/usr/local/squid/bin/dnsserver%g;\
> s%@DEFAULT_UNLINKD@%/usr/local/squid/bin/unlinkd%g;\
> s%@DEFAULT_PINGER@%/usr/local/squid/bin/pinger%g;\
> s%@DEFAULT_CACHE_LOG@%/usr/local/squid/logs/cache.log%g;\
> s%@DEFAULT_ACCESS_LOG@%/usr/local/squid/logs/access.log%g;\
> s%@DEFAULT_STORE_LOG@%/usr/local/squid/logs/store.log%g;\
> s%@DEFAULT_PID_FILE@%/usr/local/squid/logs/squid.pid%g;\
> s%@DEFAULT_SWAP_DIR@%/usr/local/squid/cache%g;\
> s%@DEFAULT_ICON_DIR@%/usr/local/squid/etc/icons%g;\
> s%@DEFAULT_MIB_PATH@%/usr/local/squid/etc/mib.txt%g;\
> s%@DEFAULT_ERROR_DIR@%/usr/local/squid/etc/errors%g;\
> s%@DEFAULT_PREFIX@%/usr/local/squid%g;"\
> < ./cf.data.pre >cf.data
> ./cf_gen cf.data
> gcc -g -O2 -Wall -I. -I../include -I../include -c -o asn.o asn.c
> asn.c:94: conflicting types for `rn_lookup'
> /usr/include/net/radix.h:186: previous declaration of `rn_lookup'
> asn.c: In function `asnFreeMemory':
> asn.c:168: warning: implicit declaration of function `rn_walktree'
> make[1]: *** [asn.o] Error 1
> make: *** [all] Error 1
>
> Any ideas? Thanks.
>
> --------------------------------------------------------------------------------------------------
> Aaron Faby Software Developer
> Tenon Intersystems
> afaby@tenon.com
> 1123 Chapala Street
> 805-963-6983
> Santa Barbara, CA 93103
> http://www.tenon.com
> --------------------------------------------------------------------------------------------------
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>

--------------------------------------------------------------------------------------------------
Aaron Faby Software Developer
Tenon Intersystems
afaby@tenon.com
1123 Chapala Street
805-963-6983
Santa Barbara, CA 93103
http://www.tenon.com
--------------------------------------------------------------------------------------------------

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Jan 11 2001 - 13:25:22 MST

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