first, i hope that i wrote to the correct
mailinglist. if this should have gone to bug-gnash, please appologize.
i chose gnash-dev, because the rtmp
branch is not part of the mainline distribution.
i tried to build rtmpget and ran into
trouble.
here is what i did:
this built gnash and the stuff in the utilities directory,
but not rtmpget.
so i modified the Makefile of utilities to include it.
make failed, because of missing included.
after some plumbing i ended with
$ g++ -DHAVE_CONFIG_H -I. -I.. -I../libbase -I../libnet
-I../libamf -I../backend -I../libcore -I../libcore/asobj -I../libcore/parser
-I../libcore/vm -I../libmedia -I../libsound -DLOCALEDIR=\"/usr/local/share/locale\"
-pthread -I/usr/X11R6/include -pthread -I/usr/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2
-I../libmedia/gst -g -O2 -pthread -pthread
-W -Wall -Wcast-align -Wcast-qual
-Wpointer-arith -Wreturn-type
-Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden
-MT rtmpget.o -MD -MP -c -o rtmp.o rtmpget.cpp
rtmpget.cpp: In function 'int main(int, char**)':
rtmpget.cpp:359: error: 'class gnash::RTMPClient' has
no member named 'sendRecvMsg'
rtmpget.cpp:379: error: 'class gnash::RTMPClient' has
no member named 'sendRecvMsg'
rtmpget.cpp:409: error: 'class gnash::RTMPClient' has
no member named 'sendRecvMsg'
rtmpget.cpp:427: error: no matching function for call
to 'gnash::RTMPClient::split(BufferSharedPtr&)'
../libnet/rtmp.h:301: note: candidates are: boost::shared_ptr<std::deque<gnash::CQue*,
std::allocator<gnash::CQue*> > > gnash::RTMP::split(amf::Buffer&)
../libnet/rtmp.h:302: note:
boost::shared_ptr<std::deque<gnash::CQue*,
std::allocator<gnash::CQue*> > > gnash::RTMP::split(uint8_t*,
size_t)
rtmpget.cpp:445: error: no matching function for call
to 'gnash::RTMPClient::decodeHeader(BufferSharedPtr&)'
../libnet/rtmp.h:217: note: candidates are: boost::shared_ptr<gnash::RTMP::rtmp_head_t>
gnash::RTMP::decodeHeader(uint8_t*)
../libnet/rtmp.h:218: note:
boost::shared_ptr<gnash::RTMP::rtmp_head_t>
gnash::RTMP::decodeHeader(amf::Buffer&)
rtmpget.cpp:446: error: no matching function for call
to 'gnash::RTMPClient::decodeMsgBody(BufferSharedPtr&)'
../libnet/rtmp.h:239: note: candidates are: gnash::RTMPMsg*
gnash::RTMP::decodeMsgBody(uint8_t*, size_t)
../libnet/rtmp.h:240: note:
gnash::RTMPMsg* gnash::RTMP::decodeMsgBody(amf::Buffer&)
rtmpget.cpp:401: warning: unused variable 'id'
$
is this somehow my failure?
or is rtmpget just in a unusable state?