Opened 12 years ago

Last modified 12 years ago

#1997 closed defect (fixed)

svn 34275 fails on compiling with ffmpeg

Reported by: alupu@… Owned by: diego@…
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:

  1. 'ffmpeg' created (git) after the svn of 'mplayer' (i.e. same date and time)
  2. Ironically, the build of just 'ffmpeg' branch works OK, i.e., cd ffmpeg ./configure make
  3. 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.
  4. 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)

config.log (217.2 KB ) - added by alupu@… 12 years ago.
The configuration log
config.txt (11.4 KB ) - added by alupu@… 12 years ago.
The './configure 2>&1' output
make.txt (420.1 KB ) - added by alupu@… 12 years ago.
The 'make 2<&1' output

Download all attachments as: .zip

Change History (9)

by alupu@…, 12 years ago

Attachment: config.log added

The configuration log

by alupu@…, 12 years ago

Attachment: config.txt added

The './configure 2>&1' output

comment:1 by alupu@…, 12 years ago

by alupu@…, 12 years ago

Attachment: make.txt added

The 'make 2<&1' output

comment:2 by alupu@…, 12 years ago

comment:3 by cehoyos, 12 years ago

Resolution: fixed
Status: newclosed, 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 alupu@…, 12 years ago

Hi Carl,

I'm a little confused:

  1. > 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 ?

  1. > 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?

  1. 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 cehoyos, 12 years ago

(In reply to comment #4)

  1. 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 alupu@…, 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

Note: See TracTickets for help on using tickets.