Opened 12 years ago
Last modified 12 years ago
#1997 closed defect (fixed)
svn 34275 fails on compiling with ffmpeg
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | unspecified | Severity: | normal |
Keywords: | Cc: | cehoyos | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
(B)LFS i686-pc-linux-gnu, kernel 3.0.4
ERROR:
CC libavcodec/libopenjpeg.o
libavcodec/libopenjpeg.c: In function 'libopenjpeg_decode_frame':
libavcodec/libopenjpeg.c:118: error: implicit declaration of function
'opj_decode_with_info'
...
make[1]: * [libavcodec/libopenjpeg.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer/ffmpeg'
COMMENTS:
- 'ffmpeg' created (git) after the svn of 'mplayer' (i.e. same date and time)
- Ironically, the build of just 'ffmpeg' branch works OK, i.e., cd ffmpeg ./configure make
- FWIW, the build of the current 'MPlayer-1.0rc4' works OK, if to the ./configure command used on the mplayer-svn you add "--disable-png". Go figure.
- Same situation with svn #34273 of yesterday.
Please look at the attachments; I'll provide any other details upon request
Thank you,
-- Alex
Attachments (3)
Change History (9)
by , 12 years ago
Attachment: | config.log added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed, cehoyos@ag.or.at |
Should be fixed, your libopenjpeg header file openjpeg.h is broken, it does not define opj_decode_with_info().
You should be able to reproduce the same problem compiling ffmpeg with "./configure --enable-libopenjpeg && make"
(Is that true? Please report back.)
Thank you for the report!
comment:4 by , 12 years ago
Hi Carl,
I'm a little confused:
- > Should be fixed, your libopenjpeg header file
openjpeg.h is broken
define opj_decode_with_info()
Should I add the above #define in my /usr/include/openjpeg.h ?
- > You should be able to reproduce the same problem
compiling ffmpeg with
"./configure --enable-libopenjpeg && make"
2.1 Do I compile ffmpeg in isolation as I explained in OP?
If I use the original ffmpeg, I get
ERROR: libopenjpeg not found
2.2 Do I git another ffmpeg (like the latest at this point in time)?
2.3 Are you implying I should svn the latest mplayer?
Plus gitting the latest ffmpeg?
- When you say RESOLVED, would that mean 3.1 You found what the problem was? and/or 3.2 You'll help me with fixing the "broken" openjpeg.h? and/or 3.3 Should I install a newer version of "openjpeg" than
the existing 1.2.0?
I noticed a 1.4 version floating around.
Thank you for your help,
-- Alex
comment:5 by , 12 years ago
(In reply to comment #4)
- When you say RESOLVED, would that mean 3.1 You found what the problem was?
No (it works fine here), but if you do
$ svn up
$ ./configure && make
it should work for you too now.
If it does not work, please provide config.log and output of another "make"
comment:6 by , 12 years ago
Hi Carl,
It (34277) works for me too now.
Thank you very much.
Consider the matter closed.
I'll try a _clean_ download (svn + git) and build in a few days
just to raise my comfortability level :)
We're having a terrible snow storm here on the East Coast, so I'll
probably get a chance for the extra attempt only next week sometime
(if we survive).
Anyway, the current test (a little quick and dirty) worked OK so,
again thanks, best wishes,
-- Alex
The configuration log