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