I'm using
[root@cache1 squid-2.5.STABLE12]# cat /etc/redhat-release
Fedora Core release 4 (Stentz)
[root@cache1 squid-2.5.STABLE12]# uname -a
Linux cache1 2.6.12-1.1456_FC4smp #1 SMP Thu Sep 22 02:23:57 EDT 2005
x86_64 x86_64 x86_64 GNU/Linux
configure flag:
[root@cache1 squid-2.5.STABLE12]# ./configure --prefix=/apps/squid
--enable-x-accelerator-vary --enable-linux-netfilter --enable-cache-digests
--enable-htcp --enable-snmp --enable-referer-log --enable-useragent-log
--enable-delay-pools --enable-icmp --enable-async-io=100 --enable-carp
--with-large-files --with-maxfd=10240 --enable-removal-policies=lru,heap
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -m32
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -D_REENTRANT -c
`test -f tempnam.c || echo './'`tempnam.c
tempnam.c: In function '_tmpnam':
tempnam.c:74: error: 'pid_t' undeclared (first use in this function)
tempnam.c:74: error: (Each undeclared identifier is reported only once
tempnam.c:74: error: for each function it appears in.)
tempnam.c:74: error: syntax error before 'pid'
tempnam.c:77: warning: implicit declaration of function 'abort'
tempnam.c:77: warning: incompatible implicit declaration of built-in
function 'abort'
tempnam.c:94: error: 'pid' undeclared (first use in this function)
make[1]: *** [tempnam.o] Error 1
make[1]: Leaving directory `/root/squid-2.5.STABLE12/lib'
make: *** [all-recursive] Error 1
---- notice the -m32 flag for gcc? is that for 32bit mode? mike At 04:14 PM 3/21/2006, Henrik Nordstrom wrote: >tis 2006-03-21 klockan 16:05 -0800 skrev Mike Leong: > > > When I tried to compile it, it was looking for stub-32.h (or something > like > > that), which wasn't installed. > >Seems to me that you tried to build Squid 32-bit on your 64-bit os.. > >I too get this error if I try to build Squid as a 32-bit application on >FC x86_64. The error comes from OpenSSL iirc. > >Which version of Squid? With what configure flags? > >Regards >Henrik >Received on Tue Mar 21 2006 - 17:25:27 MST
This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST