[Varnish] #49: building fails on mac osx
Varnish
varnish-bugs at projects.linpro.no
Wed Oct 4 13:59:13 CEST 2006
#49: building fails on mac osx
---------------------+------------------------------------------------------
Reporter: reinout | Owner: des
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: build | Version: 1.0
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by batlogg):
i replaced all occurances of clock_gettime with gettimeofday but it's
still failing.
{{{
Making all in varnishd
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -include config.h
-O2 -pipe -Wall -Wno-unused-parameter -Wstrict-prototypes -Wmissing-
prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts
-Winline -Wnested-externs -Wredundant-decls -Wformat -O -g -fno-inline -MT
varnishd-cache_acceptor.o -MD -MP -MF ".deps/varnishd-cache_acceptor.Tpo"
-c -o varnishd-cache_acceptor.o `test -f 'cache_acceptor.c' || echo
'./'`cache_acceptor.c; \
then mv -f ".deps/varnishd-cache_acceptor.Tpo" ".deps/varnishd-
cache_acceptor.Po"; else rm -f ".deps/varnishd-cache_acceptor.Tpo"; exit
1; fi
cache_acceptor.c: In function ‘vca_acct’:
cache_acceptor.c:170: error: ‘CLOCK_REALTIME’ undeclared (first use in
this function)
cache_acceptor.c:170: error: (Each undeclared identifier is reported only
once
cache_acceptor.c:170: error: for each function it appears in.)
cache_acceptor.c:170: warning: passing argument 2 of ‘gettimeofday’
from incompatible pointer type
{standard input}:398:non-relocatable subtraction expression,
"_tv_rcvtimeo" minus "L00000000002$pb"
{standard input}:398:symbol: "_tv_rcvtimeo" can't be undefined in a
subtraction expression
{standard input}:394:non-relocatable subtraction expression,
"_need_rcvtimeo" minus "L00000000002$pb"
{standard input}:394:symbol: "_need_rcvtimeo" can't be undefined in a
subtraction expression
{standard input}:371:non-relocatable subtraction expression,
"_tv_sndtimeo" minus "L00000000002$pb"
{standard input}:371:symbol: "_tv_sndtimeo" can't be undefined in a
subtraction expression
{standard input}:367:non-relocatable subtraction expression,
"_need_sndtimeo" minus "L00000000002$pb"
{standard input}:367:symbol: "_need_sndtimeo" can't be undefined in a
subtraction expression
{standard input}:344:non-relocatable subtraction expression, "_linger"
minus "L00000000002$pb"
{standard input}:344:symbol: "_linger" can't be undefined in a subtraction
expression
{standard input}:340:non-relocatable subtraction expression,
"_need_linger" minus "L00000000002$pb"
{standard input}:340:symbol: "_need_linger" can't be undefined in a
subtraction expression
{standard input}:332:non-relocatable subtraction expression, "_need_test"
minus "L00000000002$pb"
{standard input}:332:symbol: "_need_test" can't be undefined in a
subtraction expression
{standard input}:237:non-relocatable subtraction expression,
"_need_linger" minus "L00000000001$pb"
{standard input}:237:symbol: "_need_linger" can't be undefined in a
subtraction expression
{standard input}:235:non-relocatable subtraction expression,
"_need_sndtimeo" minus "L00000000001$pb"
{standard input}:235:symbol: "_need_sndtimeo" can't be undefined in a
subtraction expression
{standard input}:231:non-relocatable subtraction expression, "_need_test"
minus "L00000000001$pb"
{standard input}:231:symbol: "_need_test" can't be undefined in a
subtraction expression
{standard input}:229:non-relocatable subtraction expression,
"_need_rcvtimeo" minus "L00000000001$pb"
{standard input}:229:symbol: "_need_rcvtimeo" can't be undefined in a
subtraction expression
{standard input}:226:non-relocatable subtraction expression,
"_need_rcvtimeo" minus "L00000000001$pb"
{standard input}:226:symbol: "_need_rcvtimeo" can't be undefined in a
subtraction expression
{standard input}:212:non-relocatable subtraction expression,
"_tv_rcvtimeo" minus "L00000000001$pb"
{standard input}:212:symbol: "_tv_rcvtimeo" can't be undefined in a
subtraction expression
{standard input}:168:non-relocatable subtraction expression,
"_need_sndtimeo" minus "L00000000001$pb"
{standard input}:168:symbol: "_need_sndtimeo" can't be undefined in a
subtraction expression
{standard input}:165:non-relocatable subtraction expression,
"_need_sndtimeo" minus "L00000000001$pb"
{standard input}:165:symbol: "_need_sndtimeo" can't be undefined in a
subtraction expression
{standard input}:151:non-relocatable subtraction expression,
"_tv_sndtimeo" minus "L00000000001$pb"
{standard input}:151:symbol: "_tv_sndtimeo" can't be undefined in a
subtraction expression
{standard input}:107:non-relocatable subtraction expression,
"_need_linger" minus "L00000000001$pb"
{standard input}:107:symbol: "_need_linger" can't be undefined in a
subtraction expression
{standard input}:104:non-relocatable subtraction expression,
"_need_linger" minus "L00000000001$pb"
{standard input}:104:symbol: "_need_linger" can't be undefined in a
subtraction expression
{standard input}:90:non-relocatable subtraction expression, "_linger"
minus "L00000000001$pb"
{standard input}:90:symbol: "_linger" can't be undefined in a subtraction
expression
make[3]: *** [varnishd-cache_acceptor.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/49>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list