squid安装在HP-UNIX下面遇到的错误

th.c
mv -f .deps/ntlmauth.Tpo .deps/ntlmauth.Po
rm -f libntlmauth.a
/usr/bin/ar cru libntlmauth.a ntlmauth.o
: libntlmauth.a
Making all in scripts
无后辍列表。
无后辍列表。
cd .. && /bin/sh ./config.status scripts/RunCache
config.status: creating scripts/RunCache
Making all in src
Make: line 1338: syntax error。停止。
*** 错误退出代码 1


HP-UX DJTECWEB B.11.31 U ia64 0062839481 不限用户数的许可证
有证书的机器,但是安装squid失败,问题正在解决处理中。


===================================================================
无后辍列表。
Making all in compat
Make: line 775: syntax error。停止。
*** 错误退出代码 1

停止。


===================================================================
无后辍列表。
Making all in 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
util.c: 在函数‘xstrerror’中:
util.c:630: 警告:‘strerror_buf’的地址总是等价为‘true’
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
rm -f libmiscutil.a
/usr/bin/ar cru libmiscutil.a Array.o base64.o getfullhostname.o hash.o heap.o html_quote.o iso3307.o md5.o radix.o rfc1035.o rfc1123.o rfc1738.o rfc2617.o safe_inet_addr.o splay.o Stack.o stub_memaccount.o util.o uudecode.o
: libmiscutil.a
source='ntlmauth.c' object='ntlmauth.o' libtool=no \
depfile='.deps/ntlmauth.Po' tmpdepfile='.deps/ntlmauth.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 ntlmauth.c || echo './'`ntlmauth.c
rm -f libntlmauth.a
/usr/bin/ar cru libntlmauth.a ntlmauth.o
: libntlmauth.a
Making all in scripts
无后辍列表。
cd .. && CONFIG_FILES=scripts/RunCache CONFIG_HEADERS= CONFIG_LINKS= /bin/sh ./config.status
creating scripts/RunCache
cd .. && CONFIG_FILES=scripts/RunAccel CONFIG_HEADERS= CONFIG_LINKS= /bin/sh ./config.status
creating scripts/RunAccel
Making all in src
Make: line 1226: syntax error。停止。
*** 错误退出代码 1

停止。

=========找到解决方式,又遇见新的问题?
Use 'GNU make' (gmake) on HP-UX platforms.
http://www.squid-cache.org/mail-archive/squid-users/200209/0990.html

用gmake编译后又出现了以下问题:
libtool: compile:  g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/wapapp/squidtest/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/wapapp/squidtest/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/wapapp/squidtest/etc\" -I.. -I../include -I../src -I../include -I../libltdl -I../src -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -MT comm.lo -MD -MP -MF .deps/comm.Tpo -c comm.cc  -fPIC -DPIC -o .libs/comm.o
comm.cc: In function 'int comm_udp_recvfrom(int, void*, size_t, int, IpAddress&)':
comm.cc:513: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:513: error: initializing argument 6 of 'int recvfrom(int, void*, int, int, void*, int*)'
comm.cc: In function 'u_short comm_local_port(int)':
comm.cc:571: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:571: error: initializing argument 3 of 'int getsockname(int, void*, int*)'
comm.cc: In function 'int comm_connect_addr(int, const IpAddress&)':
comm.cc:1315: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:1315: error: initializing argument 5 of 'int getsockopt(int, int, int, void*, int*)'
comm.cc: In function 'int comm_old_accept(int, ConnectionDetail&)':
comm.cc:1389: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:1389: error: initializing argument 3 of 'int accept(int, void*, int*)'
comm.cc:1420: error: invalid conversion from 'socklen_t*' to 'int*'
comm.cc:1420: error: initializing argument 3 of 'int getsockname(int, void*, int*)'
gmake[3]: *** [comm.lo] Error 1
gmake[3]: Leaving directory `/wapapp/varnish-install/squid-3.1.14/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wapapp/varnish-install/squid-3.1.14/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/wapapp/varnish-install/squid-3.1.14/src'
gmake: *** [all-recursive] Error 1


查看一下gmake的版本:
wapapp:/wapapp/varnish-install/squid-3.1.14>gmake -v
GNU Make 3.82
Built for ia64-hp-hpux11.31
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值