Weird, any thoughts?  Or am I just asking for trouble with -trunk :)

$ svn update (last night's)
$ make clean && configure && make

mkdir .libs
gcc -DVARNISH_STATE_DIR=\"/usr/local/var/varnish\" -g -O2 -o .libs/ 
varnishd varnishd-cache_acceptor.o varnishd-cache_acceptor_epoll.o  
varnishd-cache_acceptor_poll.o varnishd-cache_acceptor_kqueue.o  
varnishd-cache_backend.o varnishd-cache_ban.o varnishd-cache_center.o  
varnishd-cache_cli.o varnishd-cache_dir_random.o varnishd- 
cache_dir_simple.o varnishd-cache_expire.o varnishd-cache_fetch.o  
varnishd-cache_hash.o varnishd-cache_http.o varnishd-cache_httpconn.o  
varnishd-cache_main.o varnishd-cache_panic.o varnishd-cache_pool.o  
varnishd-cache_pipe.o varnishd-cache_response.o varnishd- 
cache_session.o varnishd-cache_synthetic.o varnishd-cache_vary.o  
varnishd-cache_vcl.o varnishd-cache_vrt.o varnishd-cache_vrt_acl.o  
varnishd-cache_vrt_re.o varnishd-cache_vrt_esi.o varnishd-cache_ws.o  
varnishd-hash_simple_list.o varnishd-hash_classic.o varnishd- 
instance.o varnishd-mgt_child.o varnishd-mgt_cli.o varnishd- 
mgt_event.o varnishd-mgt_param.o varnishd-mgt_vcc.o varnishd-rfc2616.o  
varnishd-shmlog.o varnishd-stevedore.o varnishd-storage_file.o  
varnishd-storage_malloc.o varnishd-tcp.o varnishd-varnishd.o -Wl,-- 
export-dynamic  ../../lib/libvarnish/.libs/libvarnish.so ../../lib/ 
libvarnishcompat/.libs/libvarnishcompat.so ../../lib/libvcl/.libs/ 
libvcl.so -lthr -lm  -Wl,--rpath -Wl,/usr/local/lib
varnishd-cache_http.o(.text+0x5a0): In function `http_GetHdr':
../../include/vct.h:47: undefined reference to `vct_typtab'
varnishd-cache_http.o(.text+0x65e): In function `http_GetHdrField':
../../include/vct.h:49: undefined reference to `vct_typtab'
varnishd-cache_http.o(.text+0x679):../../include/vct.h:49: undefined  
reference to `vct_typtab'
varnishd-cache_http.o(.text+0x6a5):../../include/vct.h:49: undefined  
reference to `vct_typtab'
varnishd-cache_http.o(.text+0x6cd):../../include/vct.h:49: undefined  
reference to `vct_typtab'
varnishd-cache_http.o(.text+0x737):../../include/vct.h:47: more  
undefined references to `vct_typtab' follow
*** Error code 1

$ uname -a
FreeBSD XX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC  
2008     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC   
amd64
$
$ gcc --version
gcc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 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.

$ srcgrep vct_typtab                                    ~/varnish/ 
varnish-cache
include/vct.h:extern unsigned char vct_typtab[256];
include/vct.h:        return (vct_typtab[x] & (y));
lib/libvarnish/vct.c:unsigned char vct_typtab[256] = {

Today's svn barfs on configure:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/Makefile
config.status: creating bin/varnishadm/Makefile
config.status: creating bin/varnishd/Makefile
config.status: creating bin/varnishlog/Makefile
config.status: creating bin/varnishhist/Makefile
config.status: creating bin/varnishncsa/Makefile
config.status: creating bin/varnishreplay/Makefile
config.status: creating bin/varnishstat/Makefile
config.status: error: cannot find input file: bin/varnishtest/ 
Makefile.in
zsh: exit 1     configure


Thanks,
Skye

_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to