编译出错,求解!!各种求!!
本帖最后由 hcw1588 于 2013-7-31 17:46 编辑太长不好发
https://www.v2ex.com/t/77565
会的直接在这里回复 目测openssl的问题
SKIDROW 发表于 2013-7-31 17:11
目测openssl的问题
002.gif
关键是什么问题。。。
hcw1588 发表于 2013-7-31 17:20
关键是什么问题。。。
你连编译参数都不发……
发./configure的参数出来看看
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
hcw1588 发表于 2013-7-31 17:26
./configure --prefix=/usr/local/squid --enable-ssl --enable-cache-digests --enable-err-language="T ...
我编译这么久还没出错……
debian 7
SKIDROW 发表于 2013-7-31 17:52
我编译这么久还没出错……
debian 7
centos 532bit
hcw1588 发表于 2013-7-31 17:54
centos 532bit
libcap libssl expat,装这三个看看。
SKIDROW 发表于 2013-7-31 17:57
libcap libssl expat,装这三个看看。
第二个包找不到。。。
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:
shocked.gif
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:
shocked.gif
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:
shocked.gif
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:
shocked.gif
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:
shocked.gif
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:
shocked.gif
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:
shocked.gif
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:
shocked.gif
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:
shocked.gif
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:
shocked.gif
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: *** Error 1
make: Leaving directory `/root/squid-3.3.8/src'
make: *** Error 1
make: Leaving directory `/root/squid-3.3.8/src'
make: *** Error 2
make: Leaving directory `/root/squid-3.3.8/src'
make: *** Error 1
页:
[1]
2