Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 17:08:55 -0600
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Elifarley Callado Coelho Cruz <elifarley@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Failed to compile Handbrake 0.6.2_2
Message-ID:  <20050321170855.1331b2f5@dolphin.local.net>
In-Reply-To: <6a219efc05031605352541027e@mail.gmail.com>
References:  <6a219efc05031605352541027e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Mar 2005 10:35:15 -0300, Elifarley Callado Coelho Cruz
<elifarley@gmail.com> wrote:

> Compilation fails because of compiler errors in file 'core/X264Enc.c'
> 
> - Am I doing something wrong ?

Not necessarily.  Is your ports tree up-to-date, i.e., have you recently
updated it via cvsup?  If not, try doing so and then try a clean build
from the beginning.  Do you have any unusual settings (CFLAGS, etc.) in
/etc/make.conf?

Does the port have any "knobs" or config options (look at the Makefile)
that the user can toggle to enable/disable certain build options?  If
so, have you tried using a different set of options?

> - Should I send this kind of message to freebsd-ports-bugs instead ?

freebsd-ports (note, not freebsd-ports-bugs, which simply echoes bug
reports sent via send-pr) and/or to the port's maintainer, if one is
listed in the port's Makefile (unless MAINTAINER=ports@freebsd.org,
which means no one is currently assigned as the port's maintainer).  As
a last resort, you could also try mailing to the program's actual
author(s) (if you can find their addresses in the sources somewhere).

You could also do a send-pr (man send-pr) to have your problem
officially catalogued in the problem reports database (Cc: to the port's
maintainer).  This will generally get the best results.

> Thank you,
> 
> Error log:
> 
> ===>  Building for handbrake-0.6.2_2
> ...found 204 target(s)...
> ...updating 50 target(s)...
> Cc contrib/libx264/core/mc.o 
> Cc contrib/libx264/core/predict.o 
> Cc contrib/libx264/core/pixel.o 
> Cc contrib/libx264/core/macroblock.o 
> Cc contrib/libx264/core/frame.o 
> Cc contrib/libx264/core/dct.o 
> Cc contrib/libx264/core/cpu.o 
> Cc contrib/libx264/core/cabac.o 
> Cc contrib/libx264/core/common.o 
> Cc contrib/libx264/core/mdate.o 
> Cc contrib/libx264/encoder/analyse.o 
> Cc contrib/libx264/encoder/me.o 
> Cc contrib/libx264/encoder/ratecontrol.o 
> Cc contrib/libx264/encoder/set.o 
> Cc contrib/libx264/encoder/macroblock.o 
> Cc contrib/libx264/encoder/cabac.o 
> Cc contrib/libx264/encoder/cavlc.o 
> Cc contrib/libx264/encoder/encoder.o 
> Archive contrib/libx264/libx264.a 
> ar: creating contrib/libx264/libx264.a
> Ranlib contrib/libx264/libx264.a 
> Cc core/Ac3Dec.o 
> Cc core/AviMux.o 
> Cc core/DVDRead.o 
> Cc core/FaacEnc.o 
> Cc core/FfmpegEnc.o 
> Cc core/Fifo.o 
> Cc core/HandBrake.o 
> Cc core/LpcmDec.o 
> Cc core/Mp3Enc.o 
> Cc core/Mp4Mux.o 
> Cc core/Mpeg2Dec.o 
> Cc core/MpgaDec.o 
> Cc core/Mux.o 
> Cc core/OgmMux.o 
> Cc core/Resample.o 
> Cc core/Scale.o 
> Cc core/Scan.o 
> Cc core/Thread.o 
> Cc core/Utils.o 
> Cc core/VorbisEnc.o 
> Cc core/Work.o 
> Cc core/X264Enc.o 
> core/X264Enc.c: In function `HBX264EncInit':
> core/X264Enc.c:44: error: structure has no member named `i_iframe'
> core/X264Enc.c:45: error: structure has no member named `i_idrframe'
> core/X264Enc.c:48: error: `X264_ANALYSE_I16x16' undeclared (first use
> in this function)
> core/X264Enc.c:48: error: (Each undeclared identifier is reported only
> once core/X264Enc.c:48: error: for each function it appears in.)
> core/X264Enc.c:48: error: `X264_ANALYSE_P16x16' undeclared (first use
> in this function)
> core/X264Enc.c:49: error: `X264_ANALYSE_P16x8' undeclared (first use
> in this function)
> core/X264Enc.c:49: error: `X264_ANALYSE_P8x16' undeclared (first use
> in this function)
> core/X264Enc.c:49: error: `X264_ANALYSE_P8x8' undeclared (first use in
> this function)
> core/X264Enc.c:50: error: `X264_ANALYSE_SMART_PSUB' undeclared (first
> use in this function)
> core/X264Enc.c:58: error: structure has no member named `i_width'
> core/X264Enc.c:59: error: structure has no member named `i_height'
> core/X264Enc.c:60: error: structure has no member named `i_plane'
> core/X264Enc.c:62: error: structure has no member named `i_iframe'
> core/X264Enc.c: In function `HBX264EncWork':
> core/X264Enc.c:108: error: structure has no member named `i_stride'
> core/X264Enc.c:109: error: structure has no member named `i_stride'
> core/X264Enc.c:110: error: structure has no member named `i_stride'
> core/X264Enc.c:112: error: structure has no member named `plane'
> core/X264Enc.c:113: error: structure has no member named `plane'
> core/X264Enc.c:113: error: structure has no member named `plane'
> core/X264Enc.c:114: error: structure has no member named `plane'
> core/X264Enc.c:114: error: structure has no member named `plane'
> 
> cc -c -o core/X264Enc.o -pipe -funroll-loops -O2 -march=pentium4 -g
> -Wall -W -I/usr/local/include -DHB_FREEBSD -DHB_VERSION=\"0.6.2\"
> -Icore -I./contrib/libx264 core/X264Enc.c
> 
> ...failed Cc core/X264Enc.o ...
> Cc core/XvidEnc.o 
> ...skipped libhb.a for lack of <core>X264Enc.o...
> Cc test/test.o 
> ...skipped HBTest for lack of libhb.a...
> Cc gtk2/main.o 
> Cc gtk2/callbacks.o 
> Cc gtk2/interface.o 
> Cc gtk2/support.o 
> ...skipped gtk2HB for lack of libhb.a...
> ...failed updating 1 target(s)...
> ...skipped 3 target(s)...
> ...updated 46 target(s)...
> *** Error code 1
> 
> Stop in /volumes/smallFiles/usr-ports/multimedia/handbrake.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portinstall86127.0 make
> ** Fix the problem and try again.
> ** Listing the failed packages (*:skipped / !:failed)
>         ! multimedia/handbrake  (compiler error)

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"



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