tatsuhiro-t / spdylay

The experimental SPDY protocol version 2, 3 and 3.1 implementation in C
http://tatsuhiro-t.github.io/spdylay/
MIT License
602 stars 102 forks source link

Build problem in SLES 11 #122

Open sylviotamorim opened 10 years ago

sylviotamorim commented 10 years ago

Hi,

I'm with problem in build. Log:

libtool: link: c++ -Wunused-parameter -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -pipe -Wall -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -rdynamic -o .libs/traffic_logcat logcat.o -L/usr/local/lib logging/liblogging.a shared/libdiagsconfig.a shared/libUglyLogStubs.a shared/libsignals.a shared/libxml.a ../mgmt/.libs/libmgmt_p.a ../lib/records/librecords_p.a ../iocore/eventsystem/libinkevent.a ../lib/ts/.libs/libtsutil.so -L/usr/lib -lresolv -lssl -lcrypto -ltcl8.5 -lpcre -llzma -lcrypt -lrt -lpthread /usr/lib/libxml2.so -ldl -lz -lm spdy/libspdy.a(SpdyClientSession.o): In function spdy_process_write': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:293: undefined reference tospdylay_session_send' spdy/libspdy.a(SpdyClientSession.o): In function spdy_process_fetch_body': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:457: undefined reference tospdylay_session_resume_data' /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:454: undefined reference to spdylay_submit_data' spdy/libspdy.a(SpdyClientSession.o): In functionspdy_process_fetch_header': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:371: undefined reference to spdylay_submit_syn_reply' spdy/libspdy.a(SpdyClientSession.o): In functionspdy_process_read': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:285: undefined reference to spdylay_session_recv' spdy/libspdy.a(SpdyClientSession.o): In functionSpdyClientSession::state_sessionstart(int, void)': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:213: undefined reference to spdylay_submit_settings' /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:219: undefined reference tospdylay_submit_windowupdate' spdy/libspdy.a(SpdyClientSession.o): In function `SpdyClientSession::init(NetVConnection, spdy::SessionVersion)': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:98: undefined reference to spdylay_session_server_new' spdy/libspdy.a(SpdyClientSession.o): In functionSpdyClientSession::clear()': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:170: undefined reference to spdylay_session_del' spdy/libspdy.a(SpdyClientSession.o): In functionspdy_process_read': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyClientSession.cc:285: undefined reference to spdylay_session_recv' spdy/libspdy.a(SpdyCallbacks.o): In functionspdy_prepare_status_response_and_cleanrequest(SpdyClientSession, int, char const_)': /usr/src/packages/BUILD/trafficserver-5.1.0/proxy/spdy/SpdyCallbacks.cc:74: undefined reference to spdylay_submit_response' collect2: ld returned 1 exit status make[2]: *** [traffic_server] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory/usr/src/packages/BUILD/trafficserver-5.1.0/proxy' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/trafficserver-5.1.0/proxy' make: * [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.11237 (%build)

tatsuhiro-t commented 10 years ago

I think you were building trafficserver. Better to ask a help from trafficserver dev.