On 1/10/19 6:49 AM, Willy TARREAU wrote:
Hi Poul-Henning!
On Wed, Jan 09, 2019 at 10:09:15PM +0000, Poul-Henning Kamp wrote:
--------
In message <[email protected]>, Frederic
Lecaille writes:
Try the stuff I just committed.
If you say "make vtest" you get no varnishsupport
If you say "make varnishtest" and point the variable at your
varnish source tree, you get varnish support.
Indeed, it's much easier now :-) It's the first time I can build it.
I had to use this since there are probably still options that the user
has to tune :
make CC='gcc -DHAVE_SYS_VFS_H'
with
make CC='gcc -O2 -s -D_GNU_SOURCE -DHAVE_SYS_VFS_H'
we do not have anymore these warnings:
src/vtc_process.c:652:11: warning: implicit declaration of function
‘posix_openpt’ [-Wimplicit-function-declaration]
master = posix_openpt(O_RDWR|O_NOCTTY);
^~~~~~~~~~~~
In file included from src/vtc.h:41:0,
from src/vtc_process.c:49:
src/vtc_process.c:654:5: warning: implicit declaration of function
‘grantpt’ [-Wimplicit-function-declaration]
AZ(grantpt(master));
^
lib/vas.h:61:8: note: in definition of macro ‘assert’
if (!(e)) { \
^
src/vtc_process.c:654:2: note: in expansion of macro ‘AZ’
AZ(grantpt(master));
^~
src/vtc_process.c:655:5: warning: implicit declaration of function
‘unlockpt’ [-Wimplicit-function-declaration]
AZ(unlockpt(master));
^
lib/vas.h:61:8: note: in definition of macro ‘assert’
if (!(e)) { \
^
src/vtc_process.c:655:2: note: in expansion of macro ‘AZ’
AZ(unlockpt(master));
^~
src/vtc_process.c:656:14: warning: implicit declaration of function
‘ptsname’ [-Wimplicit-function-declaration]
slavename = ptsname(master);
^~~~~~~
src/vtc_process.c:656:12: warning: assignment makes pointer from integer
without a cast [-Wint-conversion]
slavename = ptsname(master);
^
lib/vfil.c: In function ‘VFIL_fsinfo’:
lib/vfil.c:198:16: error: storage size of ‘fsst’ isn’t known
struct statfs fsst;
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev