Back on OS X 10.4.11, squid-3.2.0.16-20120308-r11536 fails to compile with either gcc 4.0.1 or 4.2.1, but squid-3.2.0.16 from March 6th compiles fine with the same ./configure flags:
./configure --prefix=/usr/local/squid --build
=i686-apple-darwin --mandir=/usr/local/share/man --with-large-files --disable-ident-lookups --disable-dependency-tracki
ng --enable-filters --enable-removal-policies=heap,lru --enable-delay-pools --enable-multicast-miss --enable-default-er
r-language=templates --enable-fd-config --with-filedescriptors=16384 --with-dl --enable-ltdl-convenience --enable-http-
violations --enable-build-info --enable-log-daemon-helpers --enable-auth-basic=PAM,NCSA,LDAP,NCSA --enable-auth-digest=
password --enable-external-acl-helpers=ip_user,ldap_group --enable-ssl --disable-eui
Making all in snmp
make[3]: Nothing to be done for `all'.
g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/local/squid/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/usr/local/squid/etc\" -I.. -I../include -I../lib -I../src -I../include -I/usr/include -I/usr/include -I../libltdl -I../src -I../libltdl -I/usr/include -I/usr/include -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -c -o DiskIO/IpcIo/IpcIoFile.o DiskIO/IpcIo/IpcIoFile.cc
../src/ipc/AtomicWord.h: In member function 'bool Ipc::Atomic::WordT<ValueType>::swap_if(ValueType, ValueType) [with ValueType = int]':
../src/ipc/Queue.h:32: instantiated from here
../src/ipc/AtomicWord.h:38: error: '__sync_bool_compare_and_swap' was not declared in this scope
../src/ipc/AtomicWord.h: In member function 'ValueType Ipc::Atomic::WordT<ValueType>::operator+=(int) [with ValueType = int]':
DiskIO/IpcIo/IpcIoFile.cc:713: instantiated from here
../src/ipc/AtomicWord.h:31: error: '__sync_add_and_fetch' was not declared in this scope
../src/ipc/AtomicWord.h: In member function 'ValueType Ipc::Atomic::WordT<ValueType>::get() const [with ValueType = int]':
../src/ipc/AtomicWord.h:48: instantiated from 'Ipc::Atomic::WordT<ValueType>::operator ValueType() const [with ValueType = int]'
../src/ipc/Queue.h:29: instantiated from here
../src/ipc/AtomicWord.h:47: error: '__sync_fetch_and_add' was not declared in this scope
../src/ipc/AtomicWord.h: In member function 'ValueType Ipc::Atomic::WordT<ValueType>::operator-=(int) [with ValueType = int]':
../src/ipc/AtomicWord.h:34: instantiated from 'ValueType Ipc::Atomic::WordT<ValueType>::operator--() [with ValueType = int]'
../src/ipc/Queue.h:280: instantiated from 'bool Ipc::OneToOneUniQueue::pop(Value&, Ipc::QueueReader*) [with Value = IpcIoMsg]'
../src/ipc/Queue.h:349: instantiated from 'bool Ipc::FewToFewBiQueue::pop(int&, Value&) [with Value = IpcIoMsg]'
DiskIO/IpcIo/IpcIoFile.cc:419: instantiated from here
../src/ipc/AtomicWord.h:32: error: '__sync_sub_and_fetch' was not declared in this scope
make[3]: *** [DiskIO/IpcIo/IpcIoFile.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
-- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073aReceived on Fri Mar 09 2012 - 06:57:09 MST
This archive was generated by hypermail 2.2.0 : Sat Mar 10 2012 - 12:00:02 MST