找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 123|回复: 16

编译出错,求解!!各种求!!

[复制链接]

65

主题

548

回帖

1297

积分

金牌会员

积分
1297
发表于 2013-7-31 17:10:24 | 显示全部楼层 |阅读模式
本帖最后由 hcw1588 于 2013-7-31 17:46 编辑

太长不好发
https://www.v2ex.com/t/77565
会的直接在这里回复
回复

使用道具 举报

9

主题

2326

回帖

4687

积分

论坛元老

积分
4687
发表于 2013-7-31 17:11:46 | 显示全部楼层
目测openssl的问题
回复

使用道具 举报

65

主题

548

回帖

1297

积分

金牌会员

积分
1297
 楼主| 发表于 2013-7-31 17:20:06 | 显示全部楼层

SKIDROW 发表于 2013-7-31 17:11

目测openssl的问题



关键是什么问题。。。
回复

使用道具 举报

9

主题

2326

回帖

4687

积分

论坛元老

积分
4687
发表于 2013-7-31 17:11:00 | 显示全部楼层

hcw1588 发表于 2013-7-31 17:20

关键是什么问题。。。

你连编译参数都不发……
发./configure的参数出来看看
回复

使用道具 举报

65

主题

548

回帖

1297

积分

金牌会员

积分
1297
 楼主| 发表于 2013-7-31 17:22:45 | 显示全部楼层

SKIDROW 发表于 2013-7-31 17:22

你连编译参数都不发……
发./configure的参数出来看看

./configure --prefix=/usr/local/squid --enable-ssl --enable-cache-digests --enable-err-language="Traditional_Chinese" --enable-default-err-language="Traditional_Chinese" --enable-kill-parent-hack --enable-linux-netfilter --enable-snmp --enable-underscores --enable-gnuregex --enable-async-io=160 --enable-poll --disable-ident-lookups --disable-internal-dns --enable-icmp --enable-useragent-log --enable-referer-log --enable-cachemgr  --enable-truncate --enable-underscores --enable-stacktrace
回复

使用道具 举报

9

主题

2326

回帖

4687

积分

论坛元老

积分
4687
发表于 2013-7-31 17:20:00 | 显示全部楼层

hcw1588 发表于 2013-7-31 17:26

./configure --prefix=/usr/local/squid --enable-ssl --enable-cache-digests --enable-err-language="T ...

我编译这么久还没出错……
debian 7
回复

使用道具 举报

65

主题

548

回帖

1297

积分

金牌会员

积分
1297
 楼主| 发表于 2013-7-31 17:26:16 | 显示全部楼层

SKIDROW 发表于 2013-7-31 17:52

我编译这么久还没出错……
debian 7

centos 5  32bit
回复

使用道具 举报

9

主题

2326

回帖

4687

积分

论坛元老

积分
4687
发表于 2013-7-31 17:22:00 | 显示全部楼层

hcw1588 发表于 2013-7-31 17:54

centos 5  32bit


libcap libssl expat,装这三个看看。
回复

使用道具 举报

65

主题

548

回帖

1297

积分

金牌会员

积分
1297
 楼主| 发表于 2013-7-31 17:52:14 | 显示全部楼层

SKIDROW 发表于 2013-7-31 17:57

libcap libssl expat,装这三个看看。

第二个包找不到。。。
回复

使用道具 举报

0

主题

2

回帖

6

积分

新手上路

积分
6
发表于 2013-7-31 17:26:00 | 显示全部楼层

hcw1588 发表于 2013-7-31 18:01

第二个包找不到。。。

whereis libssl看看有没有。
SKIDROW 发表于 2013-7-31 17:57

libcap libssl expat,装这三个看看。

又出现
libIpcIo.a(IpcIoFile.o):/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:45: more undefined references to `__sync_fetch_and_add_4' follow
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT:

perator+=(int)':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:29: undefined reference to `__sync_add_and_fetch_4'
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::swap_if(int, int)':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:36: undefined reference to `__sync_bool_compare_and_swap_4'
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::swap_if(int, int)':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:36: undefined reference to `__sync_bool_compare_and_swap_4'
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::swap_if(int, int)':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:36: undefined reference to `__sync_bool_compare_and_swap_4'
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT:

perator-=(int)':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:30: undefined reference to `__sync_sub_and_fetch_4'
libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(Queue.o): In function `Ipc::Atomic::WordT::swap_if(int, int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:36: undefined reference to `__sync_bool_compare_and_swap_4'
ipc/.libs/libipc.a(Queue.o): In function `Ipc::Atomic::WordT::swap_if(int, int)':
/root/squid-3.3.8/src/ipc/Queue.cc:250: undefined reference to `__sync_bool_compare_and_swap_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT:

perator--(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:34: undefined reference to `__sync_fetch_and_sub_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT:

perator+=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:29: undefined reference to `__sync_add_and_fetch_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT:

perator--(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:34: undefined reference to `__sync_fetch_and_sub_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT:

perator+=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:29: undefined reference to `__sync_add_and_fetch_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT:

perator-=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:30: undefined reference to `__sync_sub_and_fetch_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT:

perator++(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:33: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT:

perator-=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:30: undefined reference to `__sync_sub_and_fetch_4'
ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT:

perator-=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:30: undefined reference to `__sync_sub_and_fetch_4'
ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_1'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_1'
ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT::operator+=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:29: undefined reference to `__sync_add_and_fetch_4'
ipc/.libs/libipc.a(Pages.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(PagePool.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(PagePool.o): In function `Ipc::Atomic::WordT::operator-=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:30: undefined reference to `__sync_sub_and_fetch_4'
ipc/.libs/libipc.a(PagePool.o): In function `Ipc::Atomic::WordT::operator+=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:29: undefined reference to `__sync_add_and_fetch_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::operator-=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:30: undefined reference to `__sync_sub_and_fetch_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::fetchAndAnd(unsigned int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:39: undefined reference to `__sync_fetch_and_and_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::swap_if(int, int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:36: undefined reference to `__sync_bool_compare_and_swap_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::operator+=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:29: undefined reference to `__sync_add_and_fetch_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::swap_if(unsigned int, unsigned int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:36: undefined reference to `__sync_bool_compare_and_swap_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::swap_if(int, int)':
/root/squid-3.3.8/src/ipc/mem/PageStack.cc:86: undefined reference to `__sync_bool_compare_and_swap_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::operator+=(int)':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:29: undefined reference to `__sync_add_and_fetch_4'
ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::get() const':
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
/root/squid-3.3.8/src/ipc/../../src/ipc/AtomicWord.h:45: undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
libtool: link: rm -f ".libs/squidS.o"
make[3]: *** [squid] Error 1
make[3]: Leaving directory `/root/squid-3.3.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.3.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-3.3.8/src'
make: *** [all-recursive] Error 1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2025-1-16 18:50 , Processed in 0.020929 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表