Search squid archive

Error encounter when make install

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

 



Hi,

I am trying to compile and make install squid 2.6 stable 12 on Solaris 2.5 and encounter the following error. Pls advise how can the error be resolved. Thank you.

Server1# make install
Making install in lib
Making install in snmplib
Making install in scripts
test -z "/export/home/squid/bin" || /export/home/squid-2.6.STABLE12/cfgaux/install-sh -d "/export/home/squid/bin"
../cfgaux/install-sh -c 'RunCache' '/export/home/squid/bin/RunCache'
Making install in src
if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/export/home/squid/etc/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include -Wall -g -O2 -MT cf_gen.o -MD -MP -MF ".deps/cf_gen.Tpo" -c -o cf_gen.o cf_gen.c; \ then mv -f ".deps/cf_gen.Tpo" ".deps/cf_gen.Po"; else rm -f ".deps/cf_gen.Tpo"; exit 1; fi
In file included from squid.h:421,
                from cf_gen.c:51:
structs.h:1887: error: parse error before "in_port_t"
structs.h:1887: warning: no semicolon at end of struct or union
structs.h:1897: error: `err_type' redeclared as different kind of symbol
enums.h:99: error: previous declaration of `err_type'
structs.h:1906: error: parse error before ':' token
structs.h:1920: error: parse error before '}' token
structs.h:1950: error: parse error before "err_type"
structs.h:1950: warning: no semicolon at end of struct or union
structs.h:1952: error: `http_status' redeclared as different kind of symbol
enums.h:515: error: previous declaration of `http_status'
structs.h:1972: error: parse error before '}' token
In file included from squid.h:422,
                from cf_gen.c:51:
protos.h:70: error: parse error before "aclGetDenyInfoPage"
protos.h:70: warning: type defaults to `int' in declaration of `aclGetDenyInfoPage'
protos.h:70: warning: data definition has no type or storage class
protos.h:323: error: parse error before "http_status"
protos.h:331: error: parse error before "status"
protos.h:491: error: parse error before "http_status"
protos.h:494: error: parse error before "http_status"
protos.h:505: error: parse error before "http_status"
protos.h:727: error: parse error before "s"
protos.h:1163: error: parse error before "type"
*** Error code 1
make: Fatal error: Command failed for target `cf_gen.o'
Current working directory /export/home/squid-2.6.STABLE12/src
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'

_________________________________________________________________
Call friends with PC-to-PC calling ? FREE http://get.live.com/messenger/overview


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

  Powered by Linux