In:
g++ -g -O2 -o .libs/isdexport isdexport.o ../../src/libinstrudeo/.libs/libinstrudeo.so /usr/lib/libglibmm-2.4.so /usr/lib/libgobject-2.0.so /usr/lib/libsigc-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libcurl.so /usr/lib/libGL.so /usr/lib/libglut.so -lssl -lavutil -lavformat -lavcodec /usr/lib/libtheora.so /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so /usr/lib/libftgl.so /usr/lib/libdts.so -lgsm /usr/lib/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_rescale_q(long long, AVRational, AVRational)'
../../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 `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)'
Logged In: YES
user_id=1227972
Originator: NO
ffmpeg is coded in C, so we have to add, in file
src/libinstrudeo/isdffmpegexporter.h,
+extern "C" {
#include <ffmpeg/avcodec.h>
#include <ffmpeg/avformat.h>
+}
but another problem occurs afterwards at the same compilation step :
../../src/libinstrudeo/.libs/libinstrudeo.so: undefined reference to `img_convert'
which is no more in the ffmpeg library.