svn compilation failure on MacOS X

191919 191919 at gmail.com
Thu Mar 12 17:12:43 CET 2009


$ make
...
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include    -g -O2 -MT
vtc_http.o -MD -MP -MF .deps/vtc_http.Tpo -c -o vtc_http.o vtc_http.c
In file included from vtc_http.c:47:
vtc.h:60: error: syntax error before 'vtc_thread'
vtc.h:60: warning: type defaults to 'int' in declaration of 'vtc_thread'
vtc.h:60: warning: data definition has no type or storage class
make: *** [vtc_http.o] Error 1

Adding
#include <pthread.h>

to vtc_http.c solves the problem.

Regards,
jh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20090313/e1b838af/attachment-0002.html>


More information about the varnish-dev mailing list