Re: [GnomeMeeting-devel-list] Failed to load avcodec_set_print_fn
- From: Rajil Saraswat <rajil saraswat imperial ac uk>
- To: Craig Southeren <craigs postincrement com>
- Cc: GnomeMeeting development mailing list <gnomemeeting-devel-list gnome org>
- Subject: Re: [GnomeMeeting-devel-list] Failed to load avcodec_set_print_fn
- Date: Sat, 12 Jun 2004 11:59:13 +0100
On Saturday 12 June 2004 02:11, you wrote:
> Rajil,
>
> The error you are getting has nothing to do with ALSA, so don't bother
> with that.
>
> The message you are getting is displayed when OpenH323 cannot find a
> required function in the libavcodec.so file needed for H.263. This file
> is loaded at run-time due to licensing issues, and it obviously exists
> on your system but just as obviously, it is the wrong file.
>
> You don't say whether you are enabling the non-compliant H.263 (the
> default configuration) or the compliant H.263 (which requires the
> --enable-rfc2190avcodec dir option). Either way, you will need a
> modified (and different) libavcodec.so file.
>
> My guess is that are just running "./configure", and your program is
> trying to use the unmodified FFMpeg libavcodec.so file, rather than
> using the modified one that is needed. That will cause the error you are
> getting.
>
> If you don't care about H.263, then you need to stop OpenH323 from
> finding and trying to load the incorrect libavcodec.so file. To do this,
> edit the openh323u.mak file and change "#define H323_AVCODEC 1" to
> "#undef H323_AVCODEC"
>
> If you do want H.263, then read
> http://www.voxgratia.org/docs/h263_codec.html about how to use the
> --enable-rfc2190avcodec option to configure.
>
> Craig
>
> -----------------------------------------------------------------------
Craig,
Thanks for your response. I am trying to build gnomemeeting version
1.0.2. I am not sure whether i need H263 as my only intention is to converse
with netmeeting. Looking around for the patches which gentoo has committed to
openh323 i found the patch given below (openh323-1.13.5-ffmpeg.diff). The bug
report for this is listed at http://bugs.gentoo.org/show_bug.cgi?id=32754
I guess this is what is creating the problem. For now, i am trying to compile
without this patch, would this create a problem communicating with
netmeeting?
Thanks
Rajil
--- configure.orig 2003-11-05 01:44:44.000000000 +0100
+++ configure 2003-11-05 01:57:55.000000000 +0100
@@ -3384,15 +3384,16 @@
echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_open" >&6
if test $ac_cv_lib_avcodec_avcodec_open = yes; then
H323_AVCODEC=1
+ AVCODECINCLUDEDIR="/usr/include"
else
H323_AVCODEC=
fi
fi
-if test "${H323_AVCODEC:-unset}" != "unset" ; then
- echo "$as_me:$LINENO: checking for /usr/local/include/ffmpeg/avcodec.h" >&5
-echo $ECHO_N "checking for /usr/local/include/ffmpeg/avcodec.h... $ECHO_C"
>&6
+if test "${H323_AVCODEC:-unset}" = "unset" ; then
+ echo "$as_me:$LINENO: checking for /usr/include/ffmpeg/avcodec.h" >&5
+echo $ECHO_N "checking for /usr/include/ffmpeg/avcodec.h... $ECHO_C" >&6
if test "${ac_cv_file__usr_local_include_ffmpeg_avcodec_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -3400,7 +3401,7 @@
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross
compiling" >&5
echo "$as_me: error: cannot check for file existence when cross compiling"
>&2;}
{ (exit 1); exit 1; }; }
-if test -r "/usr/local/include/ffmpeg/avcodec.h"; then
+if test -r "/usr/include/ffmpeg/avcodec.h"; then
ac_cv_file__usr_local_include_ffmpeg_avcodec_h=yes
else
ac_cv_file__usr_local_include_ffmpeg_avcodec_h=no
@@ -3410,6 +3411,7 @@
echo "${ECHO_T}$ac_cv_file__usr_local_include_ffmpeg_avcodec_h" >&6
if test $ac_cv_file__usr_local_include_ffmpeg_avcodec_h = yes; then
H323_AVCODEC=1
+ AVCODECINCLUDEDIR="/usr/include/ffmpeg"
fi
fi
@@ -3422,9 +3424,10 @@
#define H323_AVCODEC 1
_ACEOF
- AVCODECINCLUDEDIR=/usr/local/include/ffmpeg
- AVCODECLIBDIR=/usr/local/lib
+ AVCODECLIBDIR=/usr/lib
STDCCFLAGS="$STDCCFLAGS -I${AVCODECINCLUDEDIR}"
+ LDFLAGS="$LDFLAGS -L${AVCODECLIBDIR}"
+ LDFLAGS="$LDFLAGS -L${AVCODECLIBDIR}"
+ ENDLDLIBS="-lavcodec $ENDLDLIBS"
echo " H263 codec on FFmpeg library enabled"
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]