tatsuhiro-t/spdylay — Issue #1: build error on ubuntu 10.04 (lucid)
Author: gdewan
Created: 2012-01-30 19:40:36+00:00
State: open

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -Wall -g -O2 -MT spdylay_session.lo -MD -MP -MF .deps/spdylay_session.Tpo -c -o spdylay_session.lo spdylay_session.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I./includes -I./includes -Wall -g -O2 -MT spdylay_session.lo -MD -MP -MF .deps/spdylay_session.Tpo -c spdylay_session.c -fPIC -DPIC -o .libs/spdylay_session.o
In file included from spdylay_session.c:25:
spdylay_session.h:123: error: redefinition of typedef 'spdylay_session'
./includes/spdylay/spdylay.h:36: note: previous declaration of 'spdylay_session' was here
spdylay_session.c: In function 'spdylay_outbound_item_free':
spdylay_session.c:133: warning: enumeration value 'SPDYLAY_SETTINGS' not handled in switch
spdylay_session.c: In function 'spdylay_session_add_frame':
spdylay_session.c:198: warning: enumeration value 'SPDYLAY_SETTINGS' not handled in switch
spdylay_session.c: In function 'spdylay_session_after_frame_sent':
spdylay_session.c:541: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)
spdylay_session.c:541: error: (Each undeclared identifier is reported only once
spdylay_session.c:541: error: for each function it appears in.)
spdylay_session.c:478: warning: enumeration value 'SPDYLAY_SETTINGS' not handled in switch
spdylay_session.c: In function 'spdylay_session_on_ping_received':
spdylay_session.c:872: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)
make[3]: *** [spdylay_session.lo] Error 1
make[3]: Leaving directory `/home/gdewan/tatsuhiro-t-spdylay-826cd6a/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gdewan/tatsuhiro-t-spdylay-826cd6a/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gdewan/tatsuhiro-t-spdylay-826cd6a'
make: *** [all] Error 2
gdewan@sfo-lpwng:~/tatsuhiro-t-spdylay-826cd6a$