Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2011 15:46:09 +0200
From:      Anders Nordby <anders@FreeBSD.org>
To:        Christer Solskogen <christer.solskogen@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: varnish 3.0.1 build error
Message-ID:  <20110831134609.GA38206@fupp.net>
In-Reply-To: <CAMVU60b3YxrdqF3ZeJZR13Tajuqb%2Bgp1NeXZqDe=13HpopZR0g@mail.gmail.com>
References:  <CAMVU60b3YxrdqF3ZeJZR13Tajuqb%2Bgp1NeXZqDe=13HpopZR0g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I just committed an update, please do try.

I had some problems with 3.0.1, so be careful before you upgrade all
your servers: https://www.varnish-cache.org/trac/ticket/1001

Anders.

On ons, aug 31, 2011 at 10:42:06am +0200, Christer Solskogen wrote:
> This is the output from building varnish 3.0.1 on 8.2-RELEASE. I
> recently built 3.0.0 without any problems.
> 
> /bin/sh ../../libtool --tag=CC   --mode=link cc -std=gnu99  -O2 -pipe
> -march=nocona -fno-strict-aliasing -D_THREAD_SAFE -pthread -Wextra
> -Wno-missing-field-initializers -Wno-sign-compare   -o varnishadm
> varnishadm-varnishadm.o varnishadm-assert.o varnishadm-tcp.o
> varnishadm-vss.o ../../lib/libvarnishapi/libvarnishapi.la
> ../../lib/libvarnishcompat/libvarnishcompat.la   -ledit -lm
> libtool: link: cc -std=gnu99 -O2 -pipe -march=nocona
> -fno-strict-aliasing -D_THREAD_SAFE -pthread -Wextra
> -Wno-missing-field-initializers -Wno-sign-compare -o .libs/varnishadm
> varnishadm-varnishadm.o varnishadm-assert.o varnishadm-tcp.o
> varnishadm-vss.o  ../../lib/libvarnishapi/.libs/libvarnishapi.so
> -L/usr/local/lib /usr/local/lib/libpcre.so
> ../../lib/libvarnishcompat/.libs/libvarnishcompat.so -ledit -lm
> -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath
> -Wl,/usr/local/lib/varnish
> varnishadm-varnishadm.o(.text+0x79): In function `cli_write':
> : undefined reference to `rl_callback_handler_remove'
> varnishadm-varnishadm.o(.text+0x706): In function `main':
> : undefined reference to `rl_already_prompted'
> varnishadm-varnishadm.o(.text+0x728): In function `main':
> : undefined reference to `rl_callback_handler_install'
> varnishadm-varnishadm.o(.text+0x86e): In function `main':
> : undefined reference to `rl_forced_update_display'
> varnishadm-varnishadm.o(.text+0x881): In function `main':
> : undefined reference to `rl_callback_read_char'
> varnishadm-varnishadm.o(.text+0x8c5): In function `main':
> : undefined reference to `rl_callback_handler_remove'
> varnishadm-varnishadm.o(.text+0x8d9): In function `main':
> : undefined reference to `rl_callback_handler_install'
> varnishadm-varnishadm.o(.text+0x93c): In function `main':
> : undefined reference to `rl_callback_handler_remove'
> varnishadm-varnishadm.o(.text+0x97d): In function `send_line':
> : undefined reference to `rl_callback_handler_remove'
> varnishadm-varnishadm.o(.text+0x978): In function `send_line':
> : undefined reference to `add_history'
> gmake[3]: *** [varnishadm] Error 1
> gmake[3]: Leaving directory
> `/usr/obj/usr/ports/www/varnish/work/varnish-3.0.1/bin/varnishadm'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/obj/usr/ports/www/varnish/work/varnish-3.0.1/bin'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/obj/usr/ports/www/varnish/work/varnish-3.0.1'
> gmake: *** [all] Error 2
> *** Error code 1
> 
> -- 
> chs,
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"


-- 
Anders.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110831134609.GA38206>