From: " DiskMan" <nobody@thewheel.com>
Subject: Problem Compiling Squid Proxy
Date: Wed, 19 Feb 2003 14:48:32 GMT [thread overview]
Message-ID: <4PM4a.369$xb.13917@twister.rdc-kc.rr.com> (raw)
I was attempting to compile and install Squid on a Dec AlphaPC 164SX running
Compaq/Redhat Linux 7.1 and keep getting the same error:
tempnam.c: In function `_tmpnam':
tempnam.c:74: `pid_t' undeclared (first use in this function)
tempnam.c:74: (Each undeclared identifier is reported only once
tempnam.c:74: for each function it appears in.)
tempnam.c:74: parse error before "pid"
tempnam.c:77: warning: implicit declaration of function `abort'
tempnam.c:94: `pid' undeclared (first use in this function)
make[1]: *** [tempnam.o] Error 1
make: *** [all-recursive] Error 1
I know, you guys say contact the newsgroups and stuff but currently there
isn't one available that supports Squid. Could you help me out a bit, this
seems like a with the code on multiple platforms... Below is the actual
compile and make messages, TIA Will L G
# by Will L G
# Script run to configure and install Squid
#
#!/bin/sh
./configure --enable-gnuregex --enable-icmp --enable-kill-parent-hack
\
--enable-cachemgr-hostname=kcnetwork.net --disable-internal-dns
\
--prefix=/usr/local/squid --quiet > log
make all > log2 ; cat log log2 > compile_log ; rm -f log ; rm -f log2
creating cache ./config.cache
Store modules built: ufs
Removal policies built: lru
ICMP enabled
Kill parent on shutdown
Cachemgr default hostname set to kcnetwork.net
Disabling Internal DNS queries
Auth scheme modules built: basic
unlinkd enabled
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating scripts/Makefile
creating scripts/RunCache
creating scripts/RunAccel
creating src/Makefile
creating src/fs/Makefile
creating src/repl/Makefile
creating src/auth/Makefile
creating src/auth/basic/Makefile
creating src/auth/digest/Makefile
creating src/auth/ntlm/Makefile
creating contrib/Makefile
creating snmplib/Makefile
creating icons/Makefile
creating errors/Makefile
creating src/fs/aufs/Makefile
creating src/fs/coss/Makefile
creating src/fs/diskd/Makefile
creating src/fs/null/Makefile
creating src/fs/ufs/Makefile
creating src/repl/heap/Makefile
creating src/repl/lru/Makefile
creating doc/Makefile
creating helpers/Makefile
creating helpers/basic_auth/Makefile
creating helpers/basic_auth/LDAP/Makefile
creating helpers/basic_auth/MSNT/Makefile
creating helpers/basic_auth/NCSA/Makefile
creating helpers/basic_auth/PAM/Makefile
creating helpers/basic_auth/SMB/Makefile
creating helpers/basic_auth/YP/Makefile
creating helpers/basic_auth/getpwnam/Makefile
creating helpers/basic_auth/multi-domain-NTLM/Makefile
creating helpers/basic_auth/SASL/Makefile
creating helpers/basic_auth/winbind/Makefile
creating helpers/digest_auth/Makefile
creating helpers/digest_auth/password/Makefile
creating helpers/ntlm_auth/Makefile
creating helpers/ntlm_auth/fakeauth/Makefile
creating helpers/ntlm_auth/no_check/Makefile
creating helpers/ntlm_auth/SMB/Makefile
creating helpers/ntlm_auth/SMB/smbval/Makefile
creating helpers/ntlm_auth/winbind/Makefile
creating helpers/external_acl/Makefile
creating helpers/external_acl/ip_user/Makefile
creating helpers/external_acl/ldap_group/Makefile
creating helpers/external_acl/unix_group/Makefile
creating helpers/external_acl/wbinfo_group/Makefile
creating helpers/external_acl/winbind_group/Makefile
creating include/autoconf.h
Making all in lib
make[1]: Entering directory `/usr/www/tmp/squid-2.5.STABLE1/lib'
source='Array.c' object='Array.o' libtool=no \ depfile='.deps/Array.Po'
tmpdepfile='.deps/Array.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f Array.c || echo './'`Array.c
source='base64.c' object='base64.o' libtool=no \ depfile='.deps/base64.Po'
tmpdepfile='.deps/base64.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f base64.c || echo './'`base64.c
source='getfullhostname.c' object='getfullhostname.o' libtool=no \
depfile='.deps/getfullhostname.Po' tmpdepfile='.deps/getfullhostname.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f getfullhostname.c || echo './'`getfullhostname.c
source='hash.c' object='hash.o' libtool=no \ depfile='.deps/hash.Po'
tmpdepfile='.deps/hash.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f hash.c || echo './'`hash.c
source='heap.c' object='heap.o' libtool=no \ depfile='.deps/heap.Po'
tmpdepfile='.deps/heap.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f heap.c || echo './'`heap.c
source='html_quote.c' object='html_quote.o' libtool=no \
depfile='.deps/html_quote.Po' tmpdepfile='.deps/html_quote.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f html_quote.c || echo './'`html_quote.c
source='iso3307.c' object='iso3307.o' libtool=no \
depfile='.deps/iso3307.Po' tmpdepfile='.deps/iso3307.TPo' \ depmode=gcc3
/bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f iso3307.c || echo './'`iso3307.c
source='md5.c' object='md5.o' libtool=no \ depfile='.deps/md5.Po'
tmpdepfile='.deps/md5.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f md5.c || echo './'`md5.c
source='radix.c' object='radix.o' libtool=no \ depfile='.deps/radix.Po'
tmpdepfile='.deps/radix.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f radix.c || echo './'`radix.c
source='rfc1035.c' object='rfc1035.o' libtool=no \
depfile='.deps/rfc1035.Po' tmpdepfile='.deps/rfc1035.TPo' \ depmode=gcc3
/bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f rfc1035.c || echo './'`rfc1035.c
source='rfc1123.c' object='rfc1123.o' libtool=no \
depfile='.deps/rfc1123.Po' tmpdepfile='.deps/rfc1123.TPo' \ depmode=gcc3
/bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f rfc1123.c || echo './'`rfc1123.c
source='rfc1738.c' object='rfc1738.o' libtool=no \
depfile='.deps/rfc1738.Po' tmpdepfile='.deps/rfc1738.TPo' \ depmode=gcc3
/bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f rfc1738.c || echo './'`rfc1738.c
source='rfc2617.c' object='rfc2617.o' libtool=no \
depfile='.deps/rfc2617.Po' tmpdepfile='.deps/rfc2617.TPo' \ depmode=gcc3
/bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f rfc2617.c || echo './'`rfc2617.c
source='safe_inet_addr.c' object='safe_inet_addr.o' libtool=no \
depfile='.deps/safe_inet_addr.Po' tmpdepfile='.deps/safe_inet_addr.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f safe_inet_addr.c || echo './'`safe_inet_addr.c
source='splay.c' object='splay.o' libtool=no \ depfile='.deps/splay.Po'
tmpdepfile='.deps/splay.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f splay.c || echo './'`splay.c
source='Stack.c' object='Stack.o' libtool=no \ depfile='.deps/Stack.Po'
tmpdepfile='.deps/Stack.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f Stack.c || echo './'`Stack.c
source='stub_memaccount.c' object='stub_memaccount.o' libtool=no \
depfile='.deps/stub_memaccount.Po' tmpdepfile='.deps/stub_memaccount.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f stub_memaccount.c || echo './'`stub_memaccount.c
source='util.c' object='util.o' libtool=no \ depfile='.deps/util.Po'
tmpdepfile='.deps/util.TPo' \ depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f util.c || echo './'`util.c
source='uudecode.c' object='uudecode.o' libtool=no \
depfile='.deps/uudecode.Po' tmpdepfile='.deps/uudecode.TPo' \ depmode=gcc3
/bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f uudecode.c || echo './'`uudecode.c
source='tempnam.c' object='tempnam.o' libtool=no \
depfile='.deps/tempnam.Po' tmpdepfile='.deps/tempnam.TPo' \ depmode=gcc3
/bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2
-Wall -c `test -f tempnam.c || echo './'`tempnam.c
make[1]: Leaving directory `/usr/www/tmp/squid-2.5.STABLE1/lib'
tempnam.c: In function `_tmpnam':
tempnam.c:74: `pid_t' undeclared (first use in this function)
tempnam.c:74: (Each undeclared identifier is reported only once
tempnam.c:74: for each function it appears in.)
tempnam.c:74: parse error before "pid"
tempnam.c:77: warning: implicit declaration of function `abort'
tempnam.c:94: `pid' undeclared (first use in this function)
make[1]: *** [tempnam.o] Error 1
make: *** [all-recursive] Error 1
reply other threads:[~2003-02-19 14:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox