Search squid archive

error: #error .... is not 32-bit or 64-bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Experts,

I am getting below error while compiling Squid 3.4.7 :

[root@localhost squid-3.4.7]# make all
Making all in compat
make[1]: Entering directory `/opt/squid-3.4.7/compat'
source='assert.cc' object='assert.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/sh ../cfgaux/depcomp \
        /bin/sh ../libtool  --tag=CXX   --mode=compile g++
-DHAVE_CONFIG_H  -I.. -I../include -I../lib -I../src -I../include
-I../libltdl     -c -o assert.lo assert.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -I../include -I../lib
-I../src -I../include -I../libltdl -c assert.cc  -o .libs/assert.o
In file included from ../compat/compat.h:51,
                 from ../include/squid.h:66,
                 from assert.cc:32:
../compat/types.h:134:2: error: #error size_t is not 32-bit or 64-bit
In file included from ../compat/compat.h:81,
                 from ../include/squid.h:66,
                 from assert.cc:32:
../compat/stdvarargs.h:31:2: error: #error XX **NO VARARGS ** XX
In file included from ../compat/compat.h:80,
                 from ../include/squid.h:66,
                 from assert.cc:32:
../compat/compat_shared.h:97: error: field 'ru_stime' has incomplete type
../compat/compat_shared.h:98: error: field 'ru_utime' has incomplete type
In file included from ../compat/compat_shared.h:219,
                 from ../compat/compat.h:80,
                 from ../include/squid.h:66,
                 from assert.cc:32:
../compat/strtoll.h:14: error: 'int64_t' does not name a type
assert.cc: In function 'void xassert(char*, char*, int)':
assert.cc:36: error: 'stderr' was not declared in this scope
assert.cc:36: error: 'fprintf' was not declared in this scope
assert.cc:37: error: 'abort' was not declared in this scope
make[1]: *** [assert.lo] Error 1
make[1]: Leaving directory `/opt/squid-3.4.7/compat'
make: *** [all-recursive] Error 1

Please help.

Regards
Santosh




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux