Migration to Cygwin plataform
Jorge Díaz
jdzstz at gmail.com
Wed Jul 21 11:03:01 CEST 2010
Hello,
Yesterday, I forgot to ask about the regression test.
If I launch it, I have problems with VCL compilation, because tests does not
uses the modified "cc_command" that I use with varnishd:
*PASS: ./tests/a00006.vtc
# top TEST ././tests/a00007.vtc passed (0.052s)
PASS: ./tests/a00007.vtc
# top TEST ././tests/a00008.vtc passed (1.856s)
PASS: ./tests/a00008.vtc
Message from C-compiler:
./vcl.1P9zoqAU.c:1: warning: -fpic ignored for target (all code is position
independent)
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x16): undefined reference to
`_VRT_count'
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x29): undefined reference to
`_VRT_count'
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x44): undefined reference to
`_VRT_GetHdr'
[...]
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x900): undefined reference to
`_VRT_handling'
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x93f): undefined reference to
`_VRT_init_dir'
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x95d): undefined reference to
`_VRT_fini_dir'
collect2: ld returned 1 exit status
Running C-compiler failed, exit 1Compiled VCL program failed to load:
No such file or directory# top TEST ././tests/a00009.vtc passed
(3.970s)
PASS: ./tests/a00009.vtc
# top TEST ././tests/a00010.vtc passed (0.045s)
PASS: ./tests/a00010.vtc
---- v1 FAIL VCL does not compile
*
The VCL command that I use was 'cc -shared
/tmp/varnish-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'
How can I change default VCL compilation command in order to execute
regression tests??
2010/7/21 Poul-Henning Kamp <phk at phk.freebsd.dk>
> In message <AANLkTilMP1Wo1QXIWAr-Exw8NnpgQ2btdbKiQXn_05ot at mail.gmail.com>,
> =?IS
> O-8859-1?Q?Jorge_D=EDaz?= writes:
>
> >After weeks making some tests I was able to build successful Varnish in
> >Cygwin, the problems that I have found are:
>
> Does it pass the regression tests ?
>
> --
> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG | TCP/IP since RFC 956
> FreeBSD committer | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20100721/78e365f6/attachment-0003.html>
More information about the varnish-dev
mailing list