> On 8/12/2012 11:02 a.m., Alan Lehman wrote: > > I'm having trouble building 3.2.4 on RHEL5. > > > > I configured with options : > > --enable-ssl --enable-useragent-log --enable-referer-log > > --with-filedescriptors=8192 --enable-delay-pools > > > > "make all" says: > > ext_file_userip_acl.cc: In function âint main(int, char**)â: > > ext_file_userip_acl.cc:254: error: âerrnoâ was not declared in this > > scope > > make[3]: *** [ext_file_userip_acl.o] Error 1 > > > > Any ideas? > > Use the daily update package please. This was fixed a few hours after > release. > > When I have time to confirm how that got past testing and that there > are no others hiding anywhere else there will be a new release. > > HTH > Amos Still having trouble building. I am trying 3.2.5-2012121-r11739, and it gives me the following errors. I've tried removing all the configure options, but the results look about the same regardless. Thanks for any help. /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::operator+=(int)': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:31: undefined re ference to `__sync_add_and_fetch_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' libIpcIo.a(IpcIoFile.o):/home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/Atomi cWord.h:47: more undefined references to `__sync_fetch_and_add_4' follow libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::operator+=(int)': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:31: undefined re ference to `__sync_add_and_fetch_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::swap_if(int, int)': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:38: undefined re ference to `__sync_bool_compare_and_swap_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::swap_if(int, int)': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:38: undefined re ference to `__sync_bool_compare_and_swap_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::swap_if(int, int)': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:38: undefined re ference to `__sync_bool_compare_and_swap_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::operator-=(int)': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:32: undefined re ference to `__sync_sub_and_fetch_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/../src/ipc/AtomicWord.h:47: undefined re ference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(Queue.o): In function `Ipc::Atomic::WordT<int>::swap_if(int, int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:38: undef ined reference to `__sync_bool_compare_and_swap_4' ipc/.libs/libipc.a(Queue.o): In function `Ipc::Atomic::WordT<int>::swap_if(int, int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/Queue.cc:256: undefined reference to `__sync_bool_compare_and_swap_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::operator--( int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:36: undef ined reference to `__sync_fetch_and_sub_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::operator+=( int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:31: undef ined reference to `__sync_add_and_fetch_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::get() const ': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::operator--( int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:36: undef ined reference to `__sync_fetch_and_sub_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::operator+=( int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:31: undef ined reference to `__sync_add_and_fetch_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::get() const ': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::operator-=( int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:32: undef ined reference to `__sync_sub_and_fetch_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::operator++( int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:35: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::get() const ': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT<int>::operator-=( int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:32: undef ined reference to `__sync_sub_and_fetch_4' ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT<int>::operator-=(int)' : /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:32: undef ined reference to `__sync_sub_and_fetch_4' ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT<unsigned char>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_1' ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT<int>::operator+=(int)' : /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:31: undef ined reference to `__sync_add_and_fetch_4' ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT<unsigned char>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_1' ipc/.libs/libipc.a(Pages.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(PagePool.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(PagePool.o): In function `Ipc::Atomic::WordT<int>::operator-=(int)' : /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:32: undef ined reference to `__sync_sub_and_fetch_4' ipc/.libs/libipc.a(PagePool.o): In function `Ipc::Atomic::WordT<int>::operator+=(int)' : /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:31: undef ined reference to `__sync_add_and_fetch_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<int>::operator-=(int) ': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:32: undef ined reference to `__sync_sub_and_fetch_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<unsigned int>::fetchA ndAnd(unsigned int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:41: undef ined reference to `__sync_fetch_and_and_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<int>::swap_if(int, in t)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:38: undef ined reference to `__sync_bool_compare_and_swap_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<int>::operator+=(int) ': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:31: undef ined reference to `__sync_add_and_fetch_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<unsigned int>::swap_i f(unsigned int, unsigned int)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:38: undef ined reference to `__sync_bool_compare_and_swap_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<int>::swap_if(int, in t)': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/mem/PageStack.cc:89: undefined refer ence to `__sync_bool_compare_and_swap_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<int>::operator+=(int) ': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:31: undef ined reference to `__sync_add_and_fetch_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT<int>::get() const': /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' /home/alehman/squid-3.2.5-20121212-r11739/src/ipc/../../src/ipc/AtomicWord.h:47: undef ined reference to `__sync_fetch_and_add_4' collect2: ld returned 1 exit status libtool: link: rm -f ".libs/squidS.o" CONFIDENTIALITY NOTICE: This e-mail message including attachments, if any, is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Thank you.