Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2006 17:24:01 GMT
From:      Jacula Modyun <jacula@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/101272: multimedia/vlc: Error compiling, setting WITH_DIRAC=yes
Message-ID:  <200608021724.k72HO10X013879@www.freebsd.org>
Resent-Message-ID: <200608021730.k72HUFNl075436@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101272
>Category:       ports
>Synopsis:       multimedia/vlc: Error compiling, setting WITH_DIRAC=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 02 17:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jacula Modyun
>Release:        FreeBSD 6.1 Stable
>Organization:
>Environment:
FreeBSD geek.wirewater.yow 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon May 22 17:41:02 UTC 2006     root@geek.wirewater.yow:/srv0/obj/srv1/src/sys/JACULA  i386

>Description:
When I compile vlc-0.8.5, WITH_DIRAC=yes, I've this error:


dirac.c: In function `GetNewPicture':
dirac.c:148: error: `format411' undeclared (first use in this function)
dirac.c:148: error: (Each undeclared identifier is reported only once
dirac.c:148: error: for each function it appears in.)
dirac.c:162: error: structure has no member named `frame_rate'
dirac.c:164: error: structure has no member named `frame_rate'
dirac.c:171: error: structure has no member named `interlace'
dirac.c:172: error: structure has no member named `topfieldfirst'
dirac.c: In function `DecodeBlock':
dirac.c:250: error: structure has no member named `frame_rate'
dirac.c:250: error: structure has no member named `frame_rate'
dirac.c: In function `OpenEncoder':
dirac.c:357: error: `SD576' undeclared (first use in this function)
dirac.c:363: error: structure has no member named `frame_rate'
dirac.c:365: error: structure has no member named `frame_rate'
dirac.c:367: error: structure has no member named `interlace'
dirac.c:368: error: structure has no member named `topfieldfirst'
gmake[4]: *** [libdirac_plugin_a-dirac.o] Error 1
gmake[4]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/codec'
gmake[3]: *** [all-modules] Error 1
gmake[3]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules/codec'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/mnt/wrk/workdir/usr/ports/multimedia/vlc/work/vlc-0.8.5'
gmake: *** [all] Error 2
*** Error code 2




>How-To-Repeat:
Install vlc, setting WITH_DIRAC=yes.

>Fix:
The reason is that the dirac version is changed in the port to dirac-0.6.0.
This version doesn't support only the format420,format422,format444.
The compiler have a problem when it process the modules/codec/dirac.c file.

If you want use vlc with the dirac support, you don't have to update
the dirac port. The precedent version work.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608021724.k72HO10X013879>