Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32522 - ffmpeg 0.4.7 and 0.4.8 cause openh323 to break when it tries to use rpt.h
Summary: ffmpeg 0.4.7 and 0.4.8 cause openh323 to break when it tries to use rpt.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-01 23:04 UTC by bugs
Modified: 2003-11-04 16:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugs 2003-11-01 23:04:42 UTC
In file included from
/var/tmp/portage/openh323-1.12.0-r1/work/openh323/include/codecs.h:263,
                 from
/var/tmp/portage/openh323-1.12.0-r1/work/openh323/include/h323caps.h:169,
                 from
/var/tmp/portage/openh323-1.12.0-r1/work/openh323/include/h323con.h:255,
                 from h323.cxx:1089:
/usr/include/ffmpeg/rtp.h:26: `AVCodecContext' was not declared in this scope
/usr/include/ffmpeg/rtp.h:26: `codec' was not declared in this scope
/usr/include/ffmpeg/rtp.h:26: syntax error before `)' token
/usr/include/ffmpeg/rtp.h:27: `AVCodecContext' was not declared in this scope
/usr/include/ffmpeg/rtp.h:27: `codec' was not declared in this scope
/usr/include/ffmpeg/rtp.h:28: `AVFormatContext' was not declared in this scope
/usr/include/ffmpeg/rtp.h:28: `s1' was not declared in this scope
/usr/include/ffmpeg/rtp.h:28: `AVPacket' was not declared in this scope
/usr/include/ffmpeg/rtp.h:28: `pkt' was not declared in this scope
/usr/include/ffmpeg/rtp.h:29: syntax error before `unsigned'
/usr/include/ffmpeg/rtp.h:31: syntax error before `;' token
/usr/include/ffmpeg/rtp.h:32: syntax error before `;' token
/usr/include/ffmpeg/rtp.h:34: `URLContext' was not declared in this scope
/usr/include/ffmpeg/rtp.h:34: `h' was not declared in this scope
/usr/include/ffmpeg/rtp.h:35: `URLContext' was not declared in this scope
/usr/include/ffmpeg/rtp.h:35: `h' was not declared in this scope
/usr/include/ffmpeg/rtp.h:35: syntax error before `char'
/usr/include/ffmpeg/rtp.h:36: `URLContext' was not declared in this scope
/usr/include/ffmpeg/rtp.h:36: `h' was not declared in this scope
/usr/include/ffmpeg/rtp.h:36: syntax error before `*' token
/usr/include/ffmpeg/rtp.h:38: syntax error before `;' token

Punched into google.  These identical error messages occurred for some BSD user
where he was referred to know issues - they recommend not including ffmpeg when
building openh323 for gnomemeeting.
Something is up though - so if indeed ffmpeg is broken, the ebuilds should be
changed to reflect.

Reproducible: Always
Steps to Reproduce:
1. attempt to emerge gnomemeeting
2. breaks on openh323


Actual Results:  
Compile error with ffmpeg 0.4.7 and 0.4.8 - tried both.

Expected Results:  
openh323 compiles
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2003-11-02 11:37:22 UTC
output from openh323 configure:

... snip ...
checking avcodec.h usability... no
checking avcodec.h presence... no
checking for avcodec.h... no
... snip ...

ffmpeg-0.48
pwlib 1.5.2
openh323-1.12.2-r1

i'm looking at the configure script / ebuild atm

Comment 2 bugs 2003-11-02 18:15:20 UTC
Oh, that'd do it.
Should've thought to check for the obvious.  Undefined stuff.
You'd think if there was a critical dependancy the configure would've halted.
avcodec.h  shows up under ffmpeg for me.
I wonder if this is related to clanlib includes also failing to be located
in the bug I filed just before this one.  Something screwed up with configure
on my system?
Twice being able to locate an obvious include file that seems to be in path.
Comment 3 bugs 2003-11-02 18:15:39 UTC
er. unable to locate...
Comment 4 Stefan Knoblich (RETIRED) gentoo-dev 2003-11-02 19:57:49 UTC
found it, ffmpeg >= 0.47 breaks openh323 because
both of them include a file named "rtp.h" and the one from ffmpeg is used
where
the other should be (=> undefined bla error)

it's the order of include pathes
will be fixing this asap

openh323-1.12.2-r1 doesn't even detect ffmpeg, btw :)
(fixing that too ...)
Comment 5 Stefan Knoblich (RETIRED) gentoo-dev 2003-11-02 21:58:56 UTC
updated ebuild (still 1.12.0-r1) + patch is in the tree
please wait a bit until mirrors are up-to-date

~ARCH versions will be fixed soon
Comment 6 bugs 2003-11-02 22:25:26 UTC
You rock!
Thanks.
Now on to my own personal Qt Nethack crashes - not even going to report that
one - have a feeling it was due to my own meddling...
Comment 7 Stefan Knoblich (RETIRED) gentoo-dev 2003-11-04 16:38:05 UTC
stable openh323 is fixed, closing this bug

opening another bug for the testing version...