Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2005 09:47:17 -0300
From:      Elifarley Callado Coelho Cruz <elifarley@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Error compiling HandBrake 0.6.2_2: core/X264Enc.c, function `HBX264EncInit'
Message-ID:  <6a219efc0504190547457c5067@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
How can I fix it, please ?

Info / log:

> uname -a
FreeBSD dexter.lab 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5
04:19:18 UTC 2004   =20
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

> cc --version
cc (GCC) 3.4.2 [FreeBSD] 20040728

> sudo portinstall handbrake
--->  Installing 'handbrake-0.6.2_2' from a port (multimedia/handbrake)
--->  Building '/usr/ports/multimedia/handbrake'
=3D=3D=3D>  Cleaning for atk-1.9.1
=3D=3D=3D>  Cleaning for unzip-5.52_1
=3D=3D=3D>  Cleaning for arts-1.4.0,1
=3D=3D=3D>  Cleaning for esound-0.2.35_1
=3D=3D=3D>  Cleaning for faac-1.24_4
=3D=3D=3D>  Cleaning for faad2-2.0_5,1
=3D=3D=3D>  Cleaning for jackit-0.99.0
=3D=3D=3D>  Cleaning for lame-3.96.1
=3D=3D=3D>  Cleaning for liba52-0.7.4_1
=3D=3D=3D>  Cleaning for libaudiofile-0.2.6
=3D=3D=3D>  Cleaning for libmad-0.15.1b_1
=3D=3D=3D>  Cleaning for libogg-1.1.2_1,3
=3D=3D=3D>  Cleaning for libsamplerate-0.1.2
=3D=3D=3D>  Cleaning for libsndfile-1.0.11
=3D=3D=3D>  Cleaning for libvorbis-1.1.0_1,3
=3D=3D=3D>  Cleaning for nas-1.7
=3D=3D=3D>  Cleaning for portaudio-18.1_2
=3D=3D=3D>  Cleaning for libiconv-1.9.2_1
=3D=3D=3D>  Cleaning for autoconf-2.53_3
=3D=3D=3D>  Cleaning for autoconf-2.59_2
=3D=3D=3D>  Cleaning for automake-1.5_2,1
=3D=3D=3D>  Cleaning for bison-1.75_2
=3D=3D=3D>  Cleaning for doxygen-1.4.1
=3D=3D=3D>  Cleaning for gettext-0.14.1
=3D=3D=3D>  Cleaning for glib-2.6.4
=3D=3D=3D>  Cleaning for gmake-3.80_2
=3D=3D=3D>  Cleaning for imake-6.8.2
=3D=3D=3D>  Cleaning for jam-2.5_2
=3D=3D=3D>  Cleaning for libltdl-1.5.10
=3D=3D=3D>  Cleaning for libtool-1.3.5_2
=3D=3D=3D>  Cleaning for libtool-1.5.10_1
=3D=3D=3D>  Cleaning for m4-1.4.3
=3D=3D=3D>  Cleaning for nasm-0.98.39,1
=3D=3D=3D>  Cleaning for p5-gettext-1.03
=3D=3D=3D>  Cleaning for pkgconfig-0.17.2
=3D=3D=3D>  Cleaning for qmake-3.3.4
=3D=3D=3D>  Cleaning for sdl-1.2.8,2
=3D=3D=3D>  Cleaning for t1lib-5.0.1,1
=3D=3D=3D>  Cleaning for aalib-1.4.r5_1
=3D=3D=3D>  Cleaning for gd-2.0.33_1,1
=3D=3D=3D>  Cleaning for graphviz-2.2
=3D=3D=3D>  Cleaning for imlib2-1.2.0_2
=3D=3D=3D>  Cleaning for jpeg-6b_3
=3D=3D=3D>  Cleaning for lcms-1.14,1
=3D=3D=3D>  Cleaning for libmng-1.0.8
=3D=3D=3D>  Cleaning for libungif-4.1.3
=3D=3D=3D>  Cleaning for png-1.2.8_1
=3D=3D=3D>  Cleaning for svgalib-1.4.3_4
=3D=3D=3D>  Cleaning for tiff-3.7.1_2
=3D=3D=3D>  Cleaning for perl-5.8.6_2
=3D=3D=3D>  Cleaning for python-2.4.1
=3D=3D=3D>  Cleaning for tcl-8.4.7,1
=3D=3D=3D>  Cleaning for djbfft-0.76_2
=3D=3D=3D>  Cleaning for fftw3-3.0.1_4
=3D=3D=3D>  Cleaning for help2man-1.35.1
=3D=3D=3D>  Cleaning for hicolor-icon-theme-0.5
=3D=3D=3D>  Cleaning for shared-mime-info-0.16_1
=3D=3D=3D>  Cleaning for ffmpeg-0.4.9.p1_2
=3D=3D=3D>  Cleaning for libdvdcss-1.2.8_1
=3D=3D=3D>  Cleaning for libdvdread-0.9.4_1
=3D=3D=3D>  Cleaning for libmpeg2-0.4.0b_1
=3D=3D=3D>  Cleaning for mpeg4ip-libmp4v2-1.1_1
=3D=3D=3D>  Cleaning for xvid-1.0.3,1
=3D=3D=3D>  Cleaning for amspsfnt-1.0_3
=3D=3D=3D>  Cleaning for cmpsfont-1.0_4
=3D=3D=3D>  Cleaning for cups-base-1.1.23.0_3
=3D=3D=3D>  Cleaning for dvipsk-tetex-5.95a_1
=3D=3D=3D>  Cleaning for freetype2-2.1.9
=3D=3D=3D>  Cleaning for ghostscript-gnu-7.07_12
=3D=3D=3D>  Cleaning for gsfonts-8.11_2
=3D=3D=3D>  Cleaning for teTeX-base-3.0_3
=3D=3D=3D>  Cleaning for teTeX-texmf-3.0_3
=3D=3D=3D>  Cleaning for tex-texmflocal-1.9
=3D=3D=3D>  Cleaning for gnutls-1.0.24_1
=3D=3D=3D>  Cleaning for libgcrypt-1.2.1
=3D=3D=3D>  Cleaning for libgpg-error-1.0_1
=3D=3D=3D>  Cleaning for expat-1.95.8
=3D=3D=3D>  Cleaning for intltool-0.33
=3D=3D=3D>  Cleaning for libxml2-2.6.19
=3D=3D=3D>  Cleaning for p5-XML-Parser-2.34_1
=3D=3D=3D>  Cleaning for texi2html-1.76_1,1
=3D=3D=3D>  Cleaning for libwww-5.4.0_1
=3D=3D=3D>  Cleaning for bitstream-vera-1.10_1
=3D=3D=3D>  Cleaning for fontconfig-2.2.3,1
=3D=3D=3D>  Cleaning for libXft-2.1.6_1
=3D=3D=3D>  Cleaning for p5-type1inst-0.6.1_2
=3D=3D=3D>  Cleaning for xorg-fonts-encodings-6.8.2
=3D=3D=3D>  Cleaning for xorg-fonts-truetype-6.8.2
=3D=3D=3D>  Cleaning for gtk-2.6.7
=3D=3D=3D>  Cleaning for pango-1.8.1
=3D=3D=3D>  Cleaning for qt-3.3.4
=3D=3D=3D>  Cleaning for tk-8.4.7,2
=3D=3D=3D>  Cleaning for xorg-clients-6.8.2
=3D=3D=3D>  Cleaning for xorg-libraries-6.8.2
=3D=3D=3D>  Cleaning for xterm-200_2
=3D=3D=3D>  Cleaning for handbrake-0.6.2_2
=3D=3D=3D>  Vulnerability check disabled, database not found
=3D=3D=3D>  Extracting for handbrake-0.6.2_2
=3D> Checksum OK for HandBrake-0.6.2-src.tar.gz.
=3D=3D=3D>  Patching for handbrake-0.6.2_2
=3D=3D=3D>  Applying FreeBSD patches for handbrake-0.6.2_2
=3D=3D=3D>   handbrake-0.6.2_2 depends on executable: jam - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on executable: nasm - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on file:
/usr/local/bin/intltool-extract - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on executable: pkg-config - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: a52.0 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: avcodec.1 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: dvdcss.2 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: dvdread.3 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: faac.0 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: mp3lame.0 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: mp4v2.0 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: mpeg2.0 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: ogg.5 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: samplerate.1 - fo=
und
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: vorbis.3 - found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: xvidcore.4 - foun=
d
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: atk-1.0.901 - fou=
nd
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: glib-2.0.600 - fo=
und
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: gtk-x11-2.0.600 -=
 found
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: pango-1.0.800 - f=
ound
=3D=3D=3D>   handbrake-0.6.2_2 depends on shared library: X11.6 - found
=3D=3D=3D>  Configuring for handbrake-0.6.2_2
=3D=3D=3D>  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 -O -pipe -g -Wall -W -I/usr/local/include
-DHB_FREEBSD -DHB_VERSION=3D\"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.



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