Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32533 - DirectFB-0.9.20 mpeg support not correctly detected
Summary: DirectFB-0.9.20 mpeg support not correctly detected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-02 05:02 UTC by CBke -Left- bye
Modified: 2003-11-03 18:40 UTC (History)
0 users

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 CBke -Left- bye 2003-11-02 05:02:32 UTC
in DirectFB-0.9.20 the test for libmpeg3 support is missing -la52 which result in these undefined symbols:

(form config.log)

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libmpeg3.so: undefined reference to `a52_init'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libmpeg3.so: undefined reference to `a52_frame'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libmpeg3.so: undefined reference to `a52_block'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libmpeg3.so: undefined reference to `a52_samples'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libmpeg3.so: undefined reference to `a52_free'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libmpeg3.so: undefined reference to `a52_dynrng'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libmpeg3.so: undefined reference to `a52_syncinfo'


this diff to the configure seems to fix that:


*** configure.ORG       Sun Nov  2 13:54:55 2003
--- configure   Sun Nov  2 13:56:09 2003
***************
*** 20838,20844 ****
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    ac_check_lib_save_LIBS=$LIBS
! LIBS="-lmpeg3 -lm -lpthread $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
  #line $LINENO "configure"
  /* confdefs.h.  */
--- 20838,20844 ----
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    ac_check_lib_save_LIBS=$LIBS
! LIBS="-lmpeg3 -lm -lpthread -la52 $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
  #line $LINENO "configure"
  /* confdefs.h.  */
Comment 1 SpanKY gentoo-dev 2003-11-03 11:20:27 UTC
hmm i think this is actually a bug in mpeg3 ...

it doesnt link in the a52 lib even though it obviously needs it ...
Comment 2 SpanKY gentoo-dev 2003-11-03 18:40:51 UTC
upgrade to libmpeg3-1.5.2 to fix this