varnish 2.0.1 under Solaris 10
Bartek Perwenis
b.perwenis at gmail.com
Tue Oct 21 15:40:42 CEST 2008
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...
[root at varnish-pub-0-151 /]# which gcc
/usr/sfw/bin/gcc
[root at varnish-pub-0-151 /]# 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)...
[root at varnish-pub-0-151 /]# which make automake autoconf libtool
/usr/local/bin/make
/usr/local/bin/automake
/usr/local/bin/autoconf
/usr/local/bin/libtool
[root at varnish-pub-0-151 /]# 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20081021/273705fa/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.tar.gz
Type: application/x-gzip
Size: 13095 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20081021/273705fa/attachment-0002.bin>
More information about the varnish-misc
mailing list