I want to migrate my varnish server from Linux to Solaris. I'm trying to compile varnish on a Solaris 10u5 x86 system. I'm using gcc provided by Sun with the installation cd...
[EMAIL PROTECTED] /]# which gcc /usr/sfw/bin/gcc [EMAIL PROTECTED] /]# gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) ...and dependencies installed from sunfreeware.com (make-3.81, automake-1.10.1, autoconf-2.63, libtool-1.5.24)... [EMAIL PROTECTED] /]# which make automake autoconf libtool /usr/local/bin/make /usr/local/bin/automake /usr/local/bin/autoconf /usr/local/bin/libtool [EMAIL PROTECTED] /]# make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-solaris2.10 ... and when I execute make, I have this error: (...) Making all in bin make[2]: Entering directory `/usr/share/src/varnish-2.0.1/bin' Making all in varnishadm make[3]: Entering directory `/usr/share/src/varnish-2.0.1/bin/varnishadm' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -MT varnishadm.o -MD -MP -MF .deps/varnishadm.Tpo -c -o varnishadm.o varnishadm.c mv -f .deps/varnishadm.Tpo .deps/varnishadm.Po /bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o varnishadm varnishadm.o ../../lib/libvarnish/libvarnish.la ../../lib/libvarnishcompat/ libvarnishcompat.la -lnsl -lsocket -lumem -lsendfile mkdir .libs gcc -g -O2 -o .libs/varnishadm varnishadm.o ../../lib/libvarnish/.libs/libvarnish.so -lrt -lm ../../lib/libvarnishcompat/.libs/libvarnishcompat.so -lnsl -lsocket -lumem -lsendfile -R/opt/varnish-sfw/lib Undefined first referenced symbol in file isfinite ../../lib/libvarnish/.libs/libvarnish.so ld: fatal: Symbol referencing errors. No output written to .libs/varnishadm collect2: ld returned 1 exit status make[3]: *** [varnishadm] Error 1 make[3]: Leaving directory `/usr/share/src/varnish-2.0.1/bin/varnishadm' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/share/src/varnish-2.0.1/bin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/share/src/varnish-2.0.1' make: *** [all] Error 2 What am I missing? Any help from you guys? config.log is in the attachment. Any other informations I can provide? Best regards, Bartek.
config.log.tar.gz
Description: GNU Zip compressed data
_______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
