pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/25867: multimedia/xine-lib - Compilation problem with gcc-3.4



>Number:         25867
>Category:       pkg
>Synopsis:       multimedia/xine-lib - Compilation problem with gcc-3.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 07 18:46:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     John R. Shannon
>Release:        NetBSD 2.0_BETA
>Organization:
NetBSD.org
>Environment:
        
        
System: NetBSD colleen.internal.johnrshannon.com 2.0_BETA NetBSD 2.0_BETA 
(KERNEL) #0: Fri Jun 4 08:18:35 MDT 2004 
root%colleen.internal.johnrshannon.com@localhost:/usr/obj/usr/src/sys/arch/i386/compile/KERNEL
 i386
Architecture: i386
Machine: i386
>Description:
        Discussed under Fix.
>How-To-Repeat:
        Build with wip/gcc-3.4
>Fix:

   I do not have the video hardware to test these "fixes". The do allow
   the code to compile and consequently satisfies dependancies for several
   other packages.

   Problem 1) ff_h263_round_chroma() is declared as inline in header file
     with definition in seperate file. Fix is to remove "inline" from 
     declaration:

     --- ./src/libffmpeg/libavcodec/mpegvideo.h.orig 2004-04-25 
13:22:36.000000000 -0600
     +++ ./src/libffmpeg/libavcodec/mpegvideo.h
     @@ -901,7 +901,7 @@ int ff_mpeg4_get_video_packet_prefix_len
      int ff_h263_resync(MpegEncContext *s);
      int ff_h263_get_gob_height(MpegEncContext *s);
      int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my);
      -inline int ff_h263_round_chroma(int x);
      +int ff_h263_round_chroma(int x);

  Problem 2) ffmmx code does not compile:

  zoom_filter_xmmx.c:23: warning: no previous prototype for 
'zoom_filter_xmmx_supported'
  zoom_filter_xmmx.c:31: warning: no previous prototype for 'zoom_filter_xmmx'
  zoom_filter_xmmx.c: In function `zoom_filter_xmmx':
  zoom_filter_xmmx.c:40: warning: unused variable `interpix'
  zoom_filter_xmmx.c:113: error: PIC register `ebx' clobbered in `asm'
  zoom_filter_xmmx.c:159: error: PIC register `ebx' clobbered in `asm'
  gmake[4]: *** [zoom_filter_xmmx.lo] Error 1

  A workaround is to disable-ffmmx by one of several ways including changing
  'enable_ffmmx="yes"' to enable_ffmmx="no" in configure.
>Release-Note:
>Audit-Trail:
>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index