Re: [squid-users] compile error on Squid 3.1.18
On 12/02/2012 9:20 p.m., Justin Lawler wrote: Thanks Amos - but trying to find the library name, can't seem to google anything on libber? Can't figure it out from the 'configure' script either. Any hint? Sorry, lber as in liblber.a usually. It should be provided by the OS or by the LDAP packages. And where would the usual directory containing this library be? We've built previously with existing versions of squid (3.1.16), so it should be on the machine. BTW - this is a solaris machine. And we're only having problems compiling on one instance, so other instances should have all the dependencies. Does it have anythign different about its LDAP setup? Amos
RE: [squid-users] compile error on Squid 3.1.18
Thanks Amos - but trying to find the library name, can't seem to google anything on libber? Can't figure it out from the 'configure' script either. Any hint? And where would the usual directory containing this library be? We've built previously with existing versions of squid (3.1.16), so it should be on the machine. BTW - this is a solaris machine. And we're only having problems compiling on one instance, so other instances should have all the dependencies. Thanks, Justin -Original Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Saturday, February 11, 2012 10:17 PM To: squid-users@squid-cache.org Subject: Re: [squid-users] compile error on Squid 3.1.18 On 11/02/2012 8:01 p.m., Justin Lawler wrote: Apologies - actual error earlier in the process - when compiling LDAP: Making all in LDAP gcc -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../../include -I../../../libltdl -I.-Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -MT squid_ldap_auth.o -MD -MP -MF .deps/squid_ldap_auth.Tpo -c -o squid_ldap_auth.o squid_ldap_auth.c mv -f .deps/squid_ldap_auth.Tpo .deps/squid_ldap_auth.Po /bin/bash ../../../libtool --tag=CC--mode=link gcc -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -g -o squid_ldap_auth squid_ldap_auth.o ../../../compat/libcompat.la -L../../../lib -lmiscutil -lldap-lm -lsocket -lresolv -lnsl libtool: link: gcc -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -g -o squid_ldap_auth squid_ldap_auth.o ../../../compat/.libs/libcompat.a /usr/sfw/lib/libstdc++.so -L/usr/sfw/lib -lgcc_s -L/apps/cwapps/deployCSL/squid-3.1.19/lib -lmiscutil -lldap -lm -lsocket -lresolv -lnsl -pthreads -R/usr/sfw/lib -R/usr/sfw/lib Undefined first referenced symbol in file ldap_start_tls_ssquid_ldap_auth.o ldap_initialize squid_ldap_auth.o ber_pvt_opt_on squid_ldap_auth.o ld: fatal: Symbol referencing errors. No output written to squid_ldap_auth collect2: ld returned 1 exit status *** Error code 1 You do not seem to have a development version of the libber library installed, or at least not in a place Squid can locate it. Amos This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp
Re: [squid-users] compile error on Squid 3.1.18
On 11/02/2012 8:01 p.m., Justin Lawler wrote: Apologies - actual error earlier in the process - when compiling LDAP: Making all in LDAP gcc -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../../include -I../../../libltdl -I.-Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -MT squid_ldap_auth.o -MD -MP -MF .deps/squid_ldap_auth.Tpo -c -o squid_ldap_auth.o squid_ldap_auth.c mv -f .deps/squid_ldap_auth.Tpo .deps/squid_ldap_auth.Po /bin/bash ../../../libtool --tag=CC--mode=link gcc -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -g -o squid_ldap_auth squid_ldap_auth.o ../../../compat/libcompat.la -L../../../lib -lmiscutil -lldap-lm -lsocket -lresolv -lnsl libtool: link: gcc -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -g -o squid_ldap_auth squid_ldap_auth.o ../../../compat/.libs/libcompat.a /usr/sfw/lib/libstdc++.so -L/usr/sfw/lib -lgcc_s -L/apps/cwapps/deployCSL/squid-3.1.19/lib -lmiscutil -lldap -lm -lsocket -lresolv -lnsl -pthreads -R/usr/sfw/lib -R/usr/sfw/lib Undefined first referenced symbol in file ldap_start_tls_ssquid_ldap_auth.o ldap_initialize squid_ldap_auth.o ber_pvt_opt_on squid_ldap_auth.o ld: fatal: Symbol referencing errors. No output written to squid_ldap_auth collect2: ld returned 1 exit status *** Error code 1 You do not seem to have a development version of the libber library installed, or at least not in a place Squid can locate it. Amos
RE: [squid-users] compile error on Squid 3.1.18
HI, I'm getting the same problem on 3.1.19 on solaris: list='compat lib snmplib libltdl scripts src icons errors doc helpers test-suite tools'; for subdir in $list; do \ echo Making $target in $subdir; \ if test $subdir = .; then \ dot_seen=yes; \ local_target=$target-am; \ else \ local_target=$target; \ fi; \ (CDPATH=${ZSH_VERSION+.}: cd $subdir make $local_target) \ || eval $failcom; \ done; \ if test $dot_seen = no; then \ make $target-am || exit 1; \ fi; test -z $fail make: Fatal error: Command failed for target `all-recursive' Any suggestions? Thanks, Justin -Original Message- From: kzl [mailto:kwan...@rocketmail.com] Sent: Tuesday, December 06, 2011 2:20 PM To: squid-users@squid-cache.org Subject: [squid-users] compile error on Squid 3.1.18 There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -pthreads -g -O2 -g -olibcompat.la assert.lo compat.lo GnuRegex.lo libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o *** Error code 1 make: Fatal error: Command failed for target `libcompat.la' Current working directory /home/squid-3.1.18/compat *** Error code 1 The following command caused the error: fail= failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='compat lib snmplib libltdl scripts src icons errors doc helpers test-suite tools'; for subdir in $list; do \ echo Making $target in $subdir; \ if test $subdir = .; then \ dot_seen=yes; \ local_target=$target-am; \ else \ local_target=$target; \ fi; \ (CDPATH=${ZSH_VERSION+.}: cd $subdir make $local_target) \ || eval $failcom; \ done; \ if test $dot_seen = no; then \ make $target-am || exit 1; \ fi; test -z $fail make: Fatal error: Command failed for target `all-recursive' This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp
RE: [squid-users] compile error on Squid 3.1.18
Apologies - actual error earlier in the process - when compiling LDAP: Making all in LDAP gcc -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../../include -I../../../libltdl -I.-Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -MT squid_ldap_auth.o -MD -MP -MF .deps/squid_ldap_auth.Tpo -c -o squid_ldap_auth.o squid_ldap_auth.c mv -f .deps/squid_ldap_auth.Tpo .deps/squid_ldap_auth.Po /bin/bash ../../../libtool --tag=CC--mode=link gcc -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -g -o squid_ldap_auth squid_ldap_auth.o ../../../compat/libcompat.la -L../../../lib -lmiscutil -lldap-lm -lsocket -lresolv -lnsl libtool: link: gcc -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 -g -o squid_ldap_auth squid_ldap_auth.o ../../../compat/.libs/libcompat.a /usr/sfw/lib/libstdc++.so -L/usr/sfw/lib -lgcc_s -L/apps/cwapps/deployCSL/squid-3.1.19/lib -lmiscutil -lldap -lm -lsocket -lresolv -lnsl -pthreads -R/usr/sfw/lib -R/usr/sfw/lib Undefined first referenced symbol in file ldap_start_tls_ssquid_ldap_auth.o ldap_initialize squid_ldap_auth.o ber_pvt_opt_on squid_ldap_auth.o ld: fatal: Symbol referencing errors. No output written to squid_ldap_auth collect2: ld returned 1 exit status *** Error code 1 -Original Message- From: Justin Lawler Sent: Saturday, February 11, 2012 2:52 PM To: squid-users@squid-cache.org Subject: RE: [squid-users] compile error on Squid 3.1.18 HI, I'm getting the same problem on 3.1.19 on solaris: list='compat lib snmplib libltdl scripts src icons errors doc helpers test-suite tools'; for subdir in $list; do \ echo Making $target in $subdir; \ if test $subdir = .; then \ dot_seen=yes; \ local_target=$target-am; \ else \ local_target=$target; \ fi; \ (CDPATH=${ZSH_VERSION+.}: cd $subdir make $local_target) \ || eval $failcom; \ done; \ if test $dot_seen = no; then \ make $target-am || exit 1; \ fi; test -z $fail make: Fatal error: Command failed for target `all-recursive' Any suggestions? Thanks, Justin -Original Message- From: kzl [mailto:kwan...@rocketmail.com] Sent: Tuesday, December 06, 2011 2:20 PM To: squid-users@squid-cache.org Subject: [squid-users] compile error on Squid 3.1.18 There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -pthreads -g -O2 -g -olibcompat.la assert.lo compat.lo GnuRegex.lo libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o *** Error code 1 make: Fatal error: Command failed for target `libcompat.la' Current working directory /home/squid-3.1.18/compat *** Error code 1 The following command caused the error: fail= failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='compat lib snmplib libltdl scripts src icons errors doc helpers test-suite tools'; for subdir in $list; do \ echo Making $target in $subdir; \ if test $subdir = .; then \ dot_seen=yes; \ local_target=$target-am; \ else \ local_target=$target; \ fi; \ (CDPATH=${ZSH_VERSION+.}: cd $subdir make $local_target) \ || eval $failcom; \ done; \ if test $dot_seen = no; then \ make $target-am || exit 1; \ fi; test -z $fail make: Fatal error: Command failed for target `all-recursive' This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp
Re: [squid-users] compile error on Squid 3.1.18
On 7/12/2011 3:52 p.m., kzl wrote: any hint on how I may check? Many thanks. kz You sure 3.1.17 worked? There is exactly one line of code difference between 3.1.17 and 3.1.18 and nowhere near the files which you mention failing. Might be something like this person had? http://saintaardvarkthecarpeted.com/blog/archive/2009/10/Problems_installing_NUT_on_Solaris_10.html Amos - Original Message - From: Amos Jeffriessqu...@treenet.co.nz To: squid-users@squid-cache.org Cc: Sent: Tuesday, December 6, 2011 5:45 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 6/12/2011 7:19 p.m., kzl wrote: There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX--mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -pthreads -g -O2 -g -olibcompat.la assert.lo compat.lo GnuRegex.lo libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o *** Error code 1 make: Fatal error: Command failed for target `libcompat.la' Current working directory /home/squid-3.1.18/compat *** Error code 1 Strange. It seems like a linking problems between the pieces of that library. Are you building from a clean set of sources? Amos
Re: [squid-users] compile error on Squid 3.1.18
Thanks, I got it fixed. Now it hit the same issue as this: http://www.mail-archive.com/squid-users@squid-cache.org/msg82234.html I saw the issue got fixed. Will the build 19 be release sometime soon? regards, KZ From: Amos Jeffries squ...@treenet.co.nz To: squid-users@squid-cache.org Sent: Wednesday, December 7, 2011 4:32 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 7/12/2011 3:52 p.m., kzl wrote: any hint on how I may check? Many thanks. kz You sure 3.1.17 worked? There is exactly one line of code difference between 3.1.17 and 3.1.18 and nowhere near the files which you mention failing. Might be something like this person had? http://saintaardvarkthecarpeted.com/blog/archive/2009/10/Problems_installing_NUT_on_Solaris_10.html Amos - Original Message - From: Amos Jeffriessqu...@treenet.co.nz To: squid-users@squid-cache.org Cc: Sent: Tuesday, December 6, 2011 5:45 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 6/12/2011 7:19 p.m., kzl wrote: There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -pthreads -g -O2 -g -olibcompat.la assert.lo compat.lo GnuRegex.lo libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o *** Error code 1 make: Fatal error: Command failed for target `libcompat.la' Current working directory /home/squid-3.1.18/compat *** Error code 1 Strange. It seems like a linking problems between the pieces of that library. Are you building from a clean set of sources? Amos
Re: [squid-users] compile error on Squid 3.1.18
Maybe your problem come from the compile options you're using. I compiled it with just a problem under Solaris, both sparc and x86, but different of the your one. My problem (a link problem) was solved when I inverted the order of SSLLIB and SSL_LIBS inside src/Makefile squid/squid-3.1.18 diff src/Makefile.org src/Makefile 1893c1893 $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ --- $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ squid/squid-3.1.18 I'm using gcc-3.4.6. My configure options are : HELPERS=basic,digest,ntlm BASIC_HELPERS=DB,LDAP,PAM,getpwnam,SASL DIGEST_HELPERS=ldap,password ./configure\ --prefix=/var/squid \ --disable-icmp \ --enable-snmp \ --enable-delay-pools \ --enable-useragent-log \ --enable-referer-log \ --enable-cache-digests \ --enable-kill-parent-hack \ --enable-ssl \ --with-openssl=/usr/local/ssl \ --enable-auth=$HELPERS \ --enable-basic-auth-helpers=$BASIC_HELPERS \ --enable-digest-auth-helpers=$DIGEST_HELPERS \ --disable-ident-lookups \ --enable-async-io \ --enable-carp \ --enable-xmalloc-statistics \ --with-large-files \ --with-build-environment=POSIX_V6_ILP32_OFFBIG Maybe you're needing more things than me... kzl wrote: Thanks, I got it fixed. Now it hit the same issue as this: http://www.mail-archive.com/squid-users@squid-cache.org/msg82234.html I saw the issue got fixed. Will the build 19 be release sometime soon? regards, KZ From: Amos Jeffriessqu...@treenet.co.nz To: squid-users@squid-cache.org Sent: Wednesday, December 7, 2011 4:32 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 7/12/2011 3:52 p.m., kzl wrote: any hint on how I may check? Many thanks. kz You sure 3.1.17 worked? There is exactly one line of code difference between 3.1.17 and 3.1.18 and nowhere near the files which you mention failing. Might be something like this person had? http://saintaardvarkthecarpeted.com/blog/archive/2009/10/Problems_installing_NUT_on_Solaris_10.html Amos - Original Message - From: Amos Jeffriessqu...@treenet.co.nz To: squid-users@squid-cache.org Cc: Sent: Tuesday, December 6, 2011 5:45 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 6/12/2011 7:19 p.m., kzl wrote: There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX--mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -pthreads -g -O2 -g -olibcompat.la assert.lo compat.lo GnuRegex.lo libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o *** Error code 1 make: Fatal error: Command failed for target `libcompat.la' Current working directory /home/squid-3.1.18/compat *** Error code 1 Strange. It seems like a linking problems between the pieces of that library. Are you building from a clean set of sources? Amos
Re: [squid-users] compile error on Squid 3.1.18
Hi everybody, the problem related to ssl detection still stands in 3.1.18 branch. /usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:110: undefined reference to `X509_set_issuer_name' /usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:117: undefined reference to `X509_set_notAfter' /usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:122: undefined reference to `X509_set_subject_name' /usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:127: undefined reference to `X509_set_pubkey' This time I have tried gcc 4.4.6 and OpenSSL 0.9.8r (on a RedHat 6.2 machine).. Let me know if I can help you somehow to bypass this compilation error. Best regards, -- Víctor J. Hernández Gómez My problem (a link problem) was solved when I inverted the order of SSLLIB and SSL_LIBS inside src/Makefile squid/squid-3.1.18 diff src/Makefile.org src/Makefile 1893c1893 $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ --- $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ squid/squid-3.1.18 I'm using gcc-3.4.6.
Re: [squid-users] compile error on Squid 3.1.18
Víctor José Hernández Gómez wrote: Hi everybody, the problem related to ssl detection still stands in 3.1.18 branch. /usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:110: undefined reference to `X509_set_issuer_name' /usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:117: undefined reference to `X509_set_notAfter' /usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:122: undefined reference to `X509_set_subject_name' /usr/local/src/squid-3.1.18/src/ssl/gadgets.cc:127: undefined reference to `X509_set_pubkey' This time I have tried gcc 4.4.6 and OpenSSL 0.9.8r (on a RedHat 6.2 machine).. Let me know if I can help you somehow to bypass this compilation error. Try the following : My problem (a link problem) was solved when I inverted the order of SSLLIB and SSL_LIBS inside src/Makefile squid/squid-3.1.18 diff src/Makefile.org src/Makefile 1893c1893 $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ --- $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ squid/squid-3.1.18 That's how I solved it. Best regards, -- Víctor J. Hernández Gómez My problem (a link problem) was solved when I inverted the order of SSLLIB and SSL_LIBS inside src/Makefile squid/squid-3.1.18 diff src/Makefile.org src/Makefile 1893c1893 $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ --- $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ squid/squid-3.1.18 I'm using gcc-3.4.6. -- --- Jose Marcio MARTINS DA CRUZ http://j-chkmail.ensmp.fr Ecole des Mines de Paris 60, bd Saint Michel 75272 - PARIS CEDEX 06 mailto:jose-marcio.mart...@mines-paristech.fr
Re: [squid-users] compile error on Squid 3.1.18
Hi Jose, My problem (a link problem) was solved when I inverted the order of SSLLIB and SSL_LIBS inside src/Makefile squid/squid-3.1.18 diff src/Makefile.org src/Makefile 1893c1893 $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ --- $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ squid/squid-3.1.18 thank you very much !!! it works wonders now!! Regards, -- Víctor
Re: [squid-users] compile error on Squid 3.1.18
On 7/12/2011 10:37 p.m., kzl wrote: Thanks, I got it fixed. Now it hit the same issue as this: http://www.mail-archive.com/squid-users@squid-cache.org/msg82234.html I saw the issue got fixed. Will the build 19 be release sometime soon? Probably not soon. I try not to release new stables unless something major forces it, or more than 10 bugs are fixed. In this case the problem is in an optional feature which only affects those wantign it, not one of the core components like FTP which forced .18 to happen by breaking every single build across the board. Amos
Re: [squid-users] compile error on Squid 3.1.18
On 7/12/2011 11:45 p.m., Víctor José Hernández Gómez wrote: Hi Jose, My problem (a link problem) was solved when I inverted the order of SSLLIB and SSL_LIBS inside src/Makefile squid/squid-3.1.18 diff src/Makefile.org src/Makefile 1893c1893 $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ --- $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ squid/squid-3.1.18 thank you very much !!! it works wonders now!! Thank you both. I have applied this change to 3.1 (seems order was fixed in 3.2 due to other build dependency changes) Amos
Re: [squid-users] compile error on Squid 3.1.18
my problem seems due to path issue. After I re configure and compile again, it doesn't show that error anymore. Anyway, I am now using 'make' under /usr/ccs/bin thanks. From: Amos Jeffries squ...@treenet.co.nz To: squid-users@squid-cache.org Sent: Wednesday, December 7, 2011 8:43 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 7/12/2011 11:45 p.m., Víctor José Hernández Gómez wrote: Hi Jose, My problem (a link problem) was solved when I inverted the order of SSLLIB and SSL_LIBS inside src/Makefile squid/squid-3.1.18 diff src/Makefile.org src/Makefile 1893c1893 $(SSLLIB) $(SSL_LIBS) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ --- $(SSL_LIBS) $(SSLLIB) -lmiscutil $(EPOLL_LIBS) $(MINGW_LIBS) \ squid/squid-3.1.18 thank you very much !!! it works wonders now!! Thank you both. I have applied this change to 3.1 (seems order was fixed in 3.2 due to other build dependency changes) Amos
Re: [squid-users] compile error on Squid 3.1.18
On 6/12/2011 7:19 p.m., kzl wrote: There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX--mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -pthreads -g -O2 -g -olibcompat.la assert.lo compat.lo GnuRegex.lo libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o *** Error code 1 make: Fatal error: Command failed for target `libcompat.la' Current working directory /home/squid-3.1.18/compat *** Error code 1 Strange. It seems like a linking problems between the pieces of that library. Are you building from a clean set of sources? Amos
Re: [squid-users] compile error on Squid 3.1.18
yes, it's from clean set of source. configure option: ./configure --enable-icap-client --enable-ssl --prefix=/export/home/user/squid-3118 --enable-storeio=diskd,aufs,ufs --with-aio-threads=N --enable-removal-polices=heap,lru --enable-icmp --enable-snmp --enable-cache-digests --enable-useragent-log --enable-referer-log --enable-follow-x-forwarded-for --disable-ident-lookups --enable-auth-basic=LDAP,MSNY,POP3,SMB --enable-auth-ntlm=smb_lm,no_check --with-openssl=/usr/local/ssl - Original Message - From: Amos Jeffries squ...@treenet.co.nz To: squid-users@squid-cache.org Cc: Sent: Tuesday, December 6, 2011 5:45 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 6/12/2011 7:19 p.m., kzl wrote: There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -pthreads -g -O2 -g -olibcompat.la assert.lo compat.lo GnuRegex.lo libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o *** Error code 1 make: Fatal error: Command failed for target `libcompat.la' Current working directory /home/squid-3.1.18/compat *** Error code 1 Strange. It seems like a linking problems between the pieces of that library. Are you building from a clean set of sources? Amos
Re: [squid-users] compile error on Squid 3.1.18
any hint on how I may check? Many thanks. kz - Original Message - From: Amos Jeffries squ...@treenet.co.nz To: squid-users@squid-cache.org Cc: Sent: Tuesday, December 6, 2011 5:45 PM Subject: Re: [squid-users] compile error on Squid 3.1.18 On 6/12/2011 7:19 p.m., kzl wrote: There's error thrown while compiling Squid 3.1.18 in Solaris Sparc which never experience in earlier version like 3.1.17, 3.1.16, 3.0.15 Anyone having any idea what's the problem? Making all in compat /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -pthreads -g -O2 -g -olibcompat.la assert.lo compat.lo GnuRegex.lo libtool: link: false cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/GnuRegex.o *** Error code 1 make: Fatal error: Command failed for target `libcompat.la' Current working directory /home/squid-3.1.18/compat *** Error code 1 Strange. It seems like a linking problems between the pieces of that library. Are you building from a clean set of sources? Amos