compilaton errors
Status: Beta
Brought to you by:
instrudeo
I'm trying to compile libinstrudeo-0.1.4 on Slackware 11.
I'm not sure this is libinstudeo's fault but you have to know that compilation errors exist.
make[3]: Entering directory `/usr/local/src/libinstrudeo-0.1.4/src/libinstrudeo'
cd ../.. && /bin/sh /usr/local/src/libinstrudeo-0.1.4/missing --run automake-1.9 --gnu src/libinstrudeo/Makefile
/usr/bin/m4: INTERNAL ERROR: recursive push_string!
autom4te: /usr/bin/m4 failed with exit status: 1
I'll be glad if you tell me how to fix this problem
Logged In: NO
Afaik, there was a bug in m4-1.4.6 shipped with Slackware 11. After updating to m4-1-4.9 compilation was successful.
Logged In: YES
user_id=1196961
Originator: NO
(cd .libs/libinstrudeo.lax/libisdws.a && ar x /tmp/libinstrudeo-0.1.4/src/libinstrudeo/../../src/libinstrudeo/webservice/.libs/libisdws.a)
ar cru .libs/libinstrudeo.a isdcommentbox.o isddatafile.o isdexporter.o isdffmpegexporter.o isdglobjfile.o isdglwidget.o isdimporter.o isdlogger.o isdobject.o isdrecording.o isdrecordingmetainfo.o isdrectangle.o isdroundedbox.o isdseekbackcalculator.o isdtextballoon2D.o isdtextballoon.o isdutils.o isdvideocanvas.o isdvideoproperties.o isdvnclogimporter.o isdwscategory.o isdwscommunicator.o isdwsftptransmitter.o isdwsplatform.o isdxmlfile.o glm.o isdcaptoverlay.o .libs/libinstrudeo.lax/libisdws.a/soapC.o .libs/libinstrudeo.lax/libisdws.a/stdsoap2.o .libs/libinstrudeo.lax/libisdws.a/soapClient.o
ranlib .libs/libinstrudeo.a
rm -fr .libs/libinstrudeo.lax
creating libinstrudeo.la
(cd .libs && rm -f libinstrudeo.la && ln -s ../libinstrudeo.la libinstrudeo.la)
make[4]: Leaving directory `/tmp/libinstrudeo-0.1.4/src/libinstrudeo'
make[3]: Leaving directory `/tmp/libinstrudeo-0.1.4/src/libinstrudeo'
Making all in isdexport
make[3]: Entering directory `/tmp/libinstrudeo-0.1.4/src/isdexport'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -m64 -fPIC -MT isdexport.o -MD -MP -MF ".deps/isdexport.Tpo" -c -o isdexport.o isdexport.cpp; \
then mv -f ".deps/isdexport.Tpo" ".deps/isdexport.Po"; else rm -f ".deps/isdexport.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -m64 -fPIC -o isdexport isdexport.o ../../src/libinstrudeo/libinstrudeo.la -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0 -lcurl -lGL -lglut -lssl -lavutil -lavformat -lavcodec -ltheora -lvorbisenc -lvorbis -lftgl -ldts -lgsm -ldc1394_control -lz
mkdir .libs
g++ -O2 -m64 -fPIC -o .libs/isdexport isdexport.o ../../src/libinstrudeo/.libs/libinstrudeo.so /usr/lib64/libglibmm-2.4.so /usr/lib64/libgobject-2.0.so /usr/lib64/libsigc-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libcurl.so /usr/lib64/libGL.so -lglut -lssl -lavutil -lavformat -lavcodec /usr/lib64/libtheora.so /usr/lib64/libvorbisenc.so /usr/lib64/libvorbis.so /usr/lib64/libftgl.so -ldts -lgsm /usr/lib64/libdc1394_control.so -lz
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_set_parameters(AVFormatContext*, AVFormatParameters*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `url_fclose(ByteIOContext*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_write_header(AVFormatContext*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_write_frame(AVFormatContext*, AVPacket*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_freep(void*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `avcodec_find_encoder(CodecID)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_rescale_q(long, AVRational, AVRational)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `avcodec_close(AVCodecContext*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `avcodec_alloc_frame()'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_write_trailer(AVFormatContext*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `guess_format(char const*, char const*, char const*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `img_convert(AVPicture*, int, AVPicture const*, int, int, int)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `avcodec_open(AVCodecContext*, AVCodec*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_free(void*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_init_packet(AVPacket*)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_alloc_format_context()'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_register_all()'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `url_fopen(ByteIOContext*, char const*, int)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `av_new_stream(AVFormatContext*, int)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `avpicture_get_size(int, int, int)'
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `avcodec_encode_video(AVCodecContext*, unsigned char*, int, AVFrame const*)'
collect2: ld returned 1 exit status
make[3]: *** [isdexport] Error 1
make[3]: Leaving directory `/tmp/libinstrudeo-0.1.4/src/isdexport'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/libinstrudeo-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libinstrudeo-0.1.4'
make: *** [all] Error 2
I get thsi one compiling on my 64bit have ffmpeg-svn_r9447-x86_64-2.tgz looks liek it doesn't like the newer libavformat
Trying to compile for screenkast but looks like I'll have to find something else.