Hello,<br><br>Yesterday, I forgot to ask about the regression test.<br><br>If I launch it, I have problems with VCL compilation, because tests does not uses the modified "cc_command" that I use with varnishd:<br>
<br><div style="margin-left: 40px; font-family: courier new,monospace;"><font size="1"><b>PASS: ./tests/a00006.vtc<br>#    top  TEST ././tests/a00007.vtc passed (0.052s)<br>PASS: ./tests/a00007.vtc<br>#    top  TEST ././tests/a00008.vtc passed (1.856s)<br>
PASS: ./tests/a00008.vtc<br>Message from C-compiler:<br>./vcl.1P9zoqAU.c:1: warning: -fpic ignored for target (all code is position independent)<br>/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x16): undefined reference to `_VRT_count'<br>
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x29): undefined reference to `_VRT_count'<br>/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x44): undefined reference to `_VRT_GetHdr'<br><br>[...]<br><br>/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x900): undefined reference to `_VRT_handling'<br>
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x93f): undefined reference to `_VRT_init_dir'<br>/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x95d): undefined reference to `_VRT_fini_dir'<br>collect2: ld returned 1 exit status<br>
Running C-compiler failed, exit 1Compiled VCL program failed to load:<br>  No such file or directory#    top  TEST ././tests/a00009.vtc passed (3.970s)<br>PASS: ./tests/a00009.vtc<br>#    top  TEST ././tests/a00010.vtc passed (0.045s)<br>
PASS: ./tests/a00010.vtc<br>---- v1   FAIL VCL does not compile<br></b></font></div><br>The VCL command that I use  was 'cc -shared /tmp/<span class="searchword1">varnish</span>-2.1.2/bin/varnishd/varnishd-cache_vrt.o
 /tmp/varnish-2.1.2/bin/varnishd/varnishd-cache_backend_cfg.o 
-L/usr/local/lib -L/tmp/varnish-2.1.2/bin/varnishd/ -lvarnish -lvarnishd
  -Wl,--export-all-symbols -Wl,-x  -o %o %s'
<br><br>How can I change default VCL compilation command in order to execute regression tests??<br><br><br><br><div class="gmail_quote">2010/7/21 Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">In message <<a href="mailto:AANLkTilMP1Wo1QXIWAr-Exw8NnpgQ2btdbKiQXn_05ot@mail.gmail.com">AANLkTilMP1Wo1QXIWAr-Exw8NnpgQ2btdbKiQXn_05ot@mail.gmail.com</a>>, =?IS<br>

<div class="im">O-8859-1?Q?Jorge_D=EDaz?= writes:<br>
<br>
>After weeks making some tests I was able to build successful Varnish in<br>
>Cygwin, the problems that I have found are:<br>
<br>
</div>Does it pass the regression tests ?<br>
<font color="#888888"><br>
--<br>
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG         | TCP/IP since RFC 956<br>
FreeBSD committer       | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</font></blockquote></div><br>