[Varnish] #152: Varnish 1.1.1 compile fails on Solaris 10
Varnish
varnish-bugs at projects.linpro.no
Thu Aug 23 20:47:14 CEST 2007
#152: Varnish 1.1.1 compile fails on Solaris 10
---------------------+------------------------------------------------------
Reporter: jimlane | Owner: des
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: trunk
Severity: normal | Keywords:
---------------------+------------------------------------------------------
I am trying to compile varnish 1.1.1 on Solaris 10. The configure script
runs cleanly but the compile fails with these error messages:
/bin/bash ../../libtool --tag=CC --mode=link /usr/local/bin/gcc -include
config.h -g -O2 -o varnishadm varnishadm-varnishadm.o
../../lib/libvarnish/libvarnish.la
../../lib/libvarnishcompat/libvarnishcompat.la
mkdir .libs
/usr/local/bin/gcc -include config.h -g -O2 -o .libs/varnishadm
varnishadm-varnishadm.o ../../lib/libvarnish/.libs/libvarnish.so -lrt
../../lib/libvarnishcompat/.libs/libvarnishcompat.so -R/usr/local/lib
Undefined first referenced
symbol in file
bind
../../lib/libvarnish/.libs/libvarnish.so
listen
../../lib/libvarnish/.libs/libvarnish.so
socket
../../lib/libvarnish/.libs/libvarnish.so
setsockopt
../../lib/libvarnish/.libs/libvarnish.so
connect
../../lib/libvarnish/.libs/libvarnish.so
getaddrinfo
../../lib/libvarnish/.libs/libvarnish.so
freeaddrinfo
../../lib/libvarnish/.libs/libvarnish.so
gai_strerror
../../lib/libvarnish/.libs/libvarnish.so
ld: fatal: Symbol referencing errors. No output written to
.libs/varnishadm
collect2: ld returned 1 exit status
I took all defaults on the configure and I'm using GCC 3.4.6 for the
compile. It looks like I'm either missing a library or have a wrong
version somewhere (I don't really understand what this message is trying
to tell me).
What am I doing wrong here?
Regards,
Jim Lane
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/152>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list