Unable to compile 0.9.2 and svn1681

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
SnorreSelmer
Posts: 31
Joined: Thu Aug 14, 2008 7:02 pm

Unable to compile 0.9.2 and svn1681

Post by SnorreSelmer »

I've compiled SVN successfully for a few weeks (before I did a clean install of Ubuntu) but now I can't.

First I tried to compile svn1681 using "./configure && jam" and got this:

Code: Select all

libhb/decavcodec.c:410: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c:411: error: ‘hb_work_private_t’ has no member named ‘nframes’
libhb/decavcodec.c: In function ‘decodeVideo’:
libhb/decavcodec.c:429: error: ‘hb_work_private_t’ has no member named ‘parser’
libhb/decavcodec.c:429: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:435: error: ‘hb_work_private_t’ has no member named ‘pts’
libhb/decavcodec.c:435: error: ‘hb_work_private_t’ has no member named ‘parser’
libhb/decavcodec.c: In function ‘link_buf_list’:
libhb/decavcodec.c:448: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c:452: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c:456: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c:458: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c: In function ‘decavcodecvInit’:
libhb/decavcodec.c:473: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c:476: error: ‘hb_work_private_t’ has no member named ‘parser’
libhb/decavcodec.c:477: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:477: warning: implicit declaration of function ‘avcodec_alloc_context2’
libhb/decavcodec.c:477: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
libhb/decavcodec.c:480: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:481: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:481: error: ‘get_frame_buf’ undeclared (first use in this function)
libhb/decavcodec.c:483: error: ‘AVCodec’ undeclared (first use in this function)
libhb/decavcodec.c:483: error: ‘codec’ undeclared (first use in this function)
libhb/decavcodec.c:490: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:491: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:491: warning: implicit declaration of function ‘av_malloc’
libhb/decavcodec.c:491: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:492: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c: In function ‘decavcodecvWork’:
libhb/decavcodec.c:511: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c:514: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:514: error: ‘hb_work_private_t’ has no member named ‘nframes’
libhb/decavcodec.c:514: error: ‘hb_work_private_t’ has no member named ‘decode_errors’
libhb/decavcodec.c:525: error: ‘hb_work_private_t’ has no member named ‘new_chap’
libhb/decavcodec.c:526: error: ‘hb_work_private_t’ has no member named ‘chap_time’
libhb/decavcodec.c:526: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c: In function ‘decavcodecvInfo’:
libhb/decavcodec.c:540: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:542: error: ‘AVCodecContext’ undeclared (first use in this function)
libhb/decavcodec.c:542: error: ‘context’ undeclared (first use in this function)
libhb/decavcodec.c:542: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c: In function ‘init_ffmpeg_context’:
libhb/decavcodec.c:610: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:614: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:616: error: ‘AVCodec’ undeclared (first use in this function)
libhb/decavcodec.c:616: error: ‘codec’ undeclared (first use in this function)
libhb/decavcodec.c:616: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:617: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:622: error: ‘AVStream’ undeclared (first use in this function)
libhb/decavcodec.c:622: error: ‘st’ undeclared (first use in this function)
libhb/decavcodec.c:623: error: ‘AVRational’ undeclared (first use in this function)
libhb/decavcodec.c:623: error: expected ‘;’ before ‘tb’
libhb/decavcodec.c:629: error: ‘tb’ undeclared (first use in this function)
libhb/decavcodec.c:647: error: ‘hb_work_private_t’ has no member named ‘duration’
libhb/decavcodec.c:650: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:651: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:651: error: ‘get_frame_buf’ undeclared (first use in this function)
libhb/decavcodec.c: In function ‘prepare_ffmpeg_buffer’:
libhb/decavcodec.c:663: error: ‘FF_INPUT_BUFFER_PADDING_SIZE’ undeclared (first use in this function)
libhb/decavcodec.c: In function ‘decavcodecviInit’:
libhb/decavcodec.c:677: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c: In function ‘decavcodecviWork’:
libhb/decavcodec.c:686: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:690: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:701: error: ‘CODEC_ID_MPEG2VIDEO’ undeclared (first use in this function)
libhb/decavcodec.c:702: error: ‘CODEC_ID_RAWVIDEO’ undeclared (first use in this function)
libhb/decavcodec.c:703: error: ‘CODEC_ID_H264’ undeclared (first use in this function)
libhb/decavcodec.c:704: error: ‘CODEC_ID_VC1’ undeclared (first use in this function)
libhb/decavcodec.c:708: error: ‘hb_work_private_t’ has no member named ‘ignore_pts’
libhb/decavcodec.c:724: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c:727: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:727: error: ‘hb_work_private_t’ has no member named ‘nframes’
libhb/decavcodec.c:727: error: ‘hb_work_private_t’ has no member named ‘decode_errors’
libhb/decavcodec.c:728: error: ‘hb_work_private_t’ has no member named ‘ndrops’
libhb/decavcodec.c:735: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:737: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:740: error: ‘hb_work_private_t’ has no member named ‘ignore_pts’
libhb/decavcodec.c:743: error: ‘hb_work_private_t’ has no member named ‘pts’
libhb/decavcodec.c:746: error: ‘hb_work_private_t’ has no member named ‘pts’
libhb/decavcodec.c:746: error: ‘hb_work_private_t’ has no member named ‘pts’
libhb/decavcodec.c:748: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:748: error: ‘hb_work_private_t’ has no member named ‘duration’
libhb/decavcodec.c:753: error: ‘hb_work_private_t’ has no member named ‘ndrops’
libhb/decavcodec.c:756: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:756: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:761: error: ‘hb_work_private_t’ has no member named ‘pts’
libhb/decavcodec.c:767: error: ‘hb_work_private_t’ has no member named ‘new_chap’
libhb/decavcodec.c:768: error: ‘hb_work_private_t’ has no member named ‘chap_time’
libhb/decavcodec.c:768: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c: In function ‘decavcodecviInfo’:
libhb/decavcodec.c:790: error: ‘AVStream’ undeclared (first use in this function)
libhb/decavcodec.c:790: error: ‘st’ undeclared (first use in this function)
libhb/decavcodec.c:791: error: ‘AVRational’ undeclared (first use in this function)
libhb/decavcodec.c:791: error: expected ‘;’ before ‘tb’
libhb/decavcodec.c:797: error: ‘tb’ undeclared (first use in this function)
libhb/decavcodec.c: In function ‘decodeAudio’:
libhb/decavcodec.c:827: error: ‘AVCodecContext’ undeclared (first use in this function)
libhb/decavcodec.c:827: error: ‘context’ undeclared (first use in this function)
libhb/decavcodec.c:827: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:832: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared (first use in this function)
libhb/decavcodec.c:845: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:848: error: ‘hb_work_private_t’ has no member named ‘duration’
libhb/decavcodec.c:850: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:858: error: ‘hb_work_private_t’ has no member named ‘list’
libhb/decavcodec.c:832: warning: unused variable ‘buffer’
libhb/decavcodec.c: In function ‘decavcodecaiWork’:
libhb/decavcodec.c:875: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:878: error: ‘hb_work_private_t’ has no member named ‘duration’
libhb/decavcodec.c:879: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:879: error: ‘hb_work_private_t’ has no member named ‘context’
libhb/decavcodec.c:884: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:884: error: ‘hb_work_private_t’ has no member named ‘pts_next’
libhb/decavcodec.c:886: error: ‘hb_work_private_t’ has no member named ‘pts_next’

gcc -c -o libhb/decavcodec.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DUSE_PTHREAD -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHB_VERSION=\"svn1681\" -DHB_BUILD=2008090901 -D__LIBHB__ -Ilibhb libhb/decavcodec.c

...failed Cc libhb/decavcodec.o ...
Cc libhb/encxvid.o 
Cc libhb/muxavi.o 
libhb/muxavi.c:8:32: error: libavcodec/avcodec.h: No such file or directory
libhb/muxavi.c: In function ‘AVIInit’:
libhb/muxavi.c:397: error: ‘AVRational’ undeclared (first use in this function)
libhb/muxavi.c:397: error: (Each undeclared identifier is reported only once
libhb/muxavi.c:397: error: for each function it appears in.)
libhb/muxavi.c:397: error: expected ‘;’ before ‘sample_aspect_ratio’
libhb/muxavi.c:398: error: expected ‘;’ before ‘dar’
libhb/muxavi.c:400: warning: implicit declaration of function ‘av_reduce’
libhb/muxavi.c:400: error: ‘dar’ undeclared (first use in this function)

gcc -c -o libhb/muxavi.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DUSE_PTHREAD -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHB_VERSION=\"svn1681\" -DHB_BUILD=2008090901 -D__LIBHB__ -Ilibhb libhb/muxavi.c

...failed Cc libhb/muxavi.o ...
Cc libhb/enclame.o 
Cc libhb/muxogm.o 
Cc libhb/encvorbis.o 
Cc libhb/dvd.o 
Cc libhb/muxmkv.o 
Cc libhb/deblock.o 
libhb/deblock.c:20:32: error: libavcodec/avcodec.h: No such file or directory
libhb/deblock.c:56: error: expected specifier-qualifier-list before ‘AVPicture’
libhb/deblock.c: In function ‘hb_deblock_init’:
libhb/deblock.c:357: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
libhb/deblock.c:357: error: (Each undeclared identifier is reported only once
libhb/deblock.c:357: error: for each function it appears in.)
libhb/deblock.c:409: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deblock.c: In function ‘hb_deblock_close’:
libhb/deblock.c:421: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deblock.c:423: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deblock.c: In function ‘hb_deblock_work’:
libhb/deblock.c:444: warning: implicit declaration of function ‘avpicture_fill’
libhb/deblock.c:444: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deblock.c:447: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deblock.c:447: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deblock.c:453: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deblock.c:454: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deblock.c:462: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deblock.c:463: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deblock.c:471: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deblock.c:472: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deblock.c:481: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deblock.c:484: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deblock.c:486: error: ‘hb_filter_private_t’ has no member named ‘buf_out’

gcc -c -o libhb/deblock.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DUSE_PTHREAD -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHB_VERSION=\"svn1681\" -DHB_BUILD=2008090901 -D__LIBHB__ -Ilibhb libhb/deblock.c

...failed Cc libhb/deblock.o ...
Cc libhb/deinterlace.o 
libhb/deinterlace.c:20:32: error: libavcodec/avcodec.h: No such file or directory
libhb/deinterlace.c:67: error: expected specifier-qualifier-list before ‘AVCodecContext’
libhb/deinterlace.c:97: warning: initialization from incompatible pointer type
libhb/deinterlace.c: In function ‘mcdeint_filter’:
libhb/deinterlace.c:372: warning: implicit declaration of function ‘av_log_get_level’
libhb/deinterlace.c:373: warning: implicit declaration of function ‘av_log_set_level’
libhb/deinterlace.c:373: error: ‘AV_LOG_QUIET’ undeclared (first use in this function)
libhb/deinterlace.c:373: error: (Each undeclared identifier is reported only once
libhb/deinterlace.c:373: error: for each function it appears in.)
libhb/deinterlace.c:378: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/deinterlace.c:379: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/deinterlace.c:381: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/deinterlace.c:381: error: ‘FF_CMP_SAD’ undeclared (first use in this function)
libhb/deinterlace.c:382: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/deinterlace.c:383: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/deinterlace.c:383: error: ‘FF_QP2LAMBDA’ undeclared (first use in this function)
libhb/deinterlace.c:385: warning: implicit declaration of function ‘avcodec_encode_video’
libhb/deinterlace.c:385: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/deinterlace.c:388: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/deinterlace.c:390: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/deinterlace.c:390: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/deinterlace.c:396: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/deinterlace.c:408: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/deinterlace.c:450: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/deinterlace.c:462: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/deinterlace.c: In function ‘hb_deinterlace_init’:
libhb/deinterlace.c:480: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
libhb/deinterlace.c:495: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:496: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:497: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/deinterlace.c:578: warning: implicit declaration of function ‘avcodec_init’
libhb/deinterlace.c:579: warning: implicit declaration of function ‘avcodec_register_all’
libhb/deinterlace.c:581: error: ‘AVCodec’ undeclared (first use in this function)
libhb/deinterlace.c:581: error: ‘enc’ undeclared (first use in this function)
libhb/deinterlace.c:581: warning: implicit declaration of function ‘avcodec_find_encoder’
libhb/deinterlace.c:581: error: ‘CODEC_ID_SNOW’ undeclared (first use in this function)
libhb/deinterlace.c:586: error: ‘AVCodecContext’ undeclared (first use in this function)
libhb/deinterlace.c:586: error: ‘avctx_enc’ undeclared (first use in this function)
libhb/deinterlace.c:588: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/deinterlace.c:588: warning: implicit declaration of function ‘avcodec_alloc_context’
libhb/deinterlace.c:592: error: ‘AVRational’ undeclared (first use in this function)
libhb/deinterlace.c:592: error: expected ‘;’ before ‘{’ token
libhb/deinterlace.c:596: error: ‘CODEC_FLAG_QSCALE’ undeclared (first use in this function)
libhb/deinterlace.c:596: error: ‘CODEC_FLAG_LOW_DELAY’ undeclared (first use in this function)
libhb/deinterlace.c:597: error: ‘FF_COMPLIANCE_EXPERIMENTAL’ undeclared (first use in this function)
libhb/deinterlace.c:599: error: ‘CODEC_FLAG2_MEMC_ONLY’ undeclared (first use in this function)
libhb/deinterlace.c:600: error: ‘FF_CMP_SAD’ undeclared (first use in this function)
libhb/deinterlace.c:602: error: ‘FF_CMP_SSE’ undeclared (first use in this function)
libhb/deinterlace.c:609: error: ‘ME_UMH’ undeclared (first use in this function)
libhb/deinterlace.c:611: error: ‘CODEC_FLAG_4MV’ undeclared (first use in this function)
libhb/deinterlace.c:614: error: ‘CODEC_FLAG_QPEL’ undeclared (first use in this function)
libhb/deinterlace.c:617: warning: implicit declaration of function ‘avcodec_open’
libhb/deinterlace.c:620: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/deinterlace.c:620: warning: implicit declaration of function ‘avcodec_alloc_frame’
libhb/deinterlace.c: In function ‘hb_deinterlace_close’:
libhb/deinterlace.c:636: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:638: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:640: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:642: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:644: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/deinterlace.c:646: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/deinterlace.c:688: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/deinterlace.c:690: warning: implicit declaration of function ‘avcodec_close’
libhb/deinterlace.c:690: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/deinterlace.c:691: warning: implicit declaration of function ‘av_freep’
libhb/deinterlace.c:691: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/deinterlace.c: In function ‘hb_deinterlace_work’:
libhb/deinterlace.c:717: warning: implicit declaration of function ‘avpicture_fill’
libhb/deinterlace.c:717: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deinterlace.c:723: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deinterlace.c:723: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:726: warning: implicit declaration of function ‘avpicture_deinterlace’
libhb/deinterlace.c:726: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deinterlace.c:726: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deinterlace.c:729: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:731: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:748: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deinterlace.c:753: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deinterlace.c:755: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/deinterlace.c:771: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deinterlace.c:771: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:774: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deinterlace.c:778: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deinterlace.c:778: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:781: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/deinterlace.c:781: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/deinterlace.c:783: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:787: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/deinterlace.c:792: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/deinterlace.c:795: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’

gcc -c -o libhb/deinterlace.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DUSE_PTHREAD -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHB_VERSION=\"svn1681\" -DHB_BUILD=2008090901 -D__LIBHB__ -Ilibhb libhb/deinterlace.c

...failed Cc libhb/deinterlace.o ...
Cc libhb/denoise.o 
libhb/denoise.c:20:32: error: libavcodec/avcodec.h: No such file or directory
libhb/denoise.c:39: error: expected specifier-qualifier-list before ‘AVPicture’
libhb/denoise.c: In function ‘hb_denoise_init’:
libhb/denoise.c:301: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
libhb/denoise.c:301: error: (Each undeclared identifier is reported only once
libhb/denoise.c:301: error: for each function it appears in.)
libhb/denoise.c:372: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/denoise.c: In function ‘hb_denoise_close’:
libhb/denoise.c:404: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/denoise.c:406: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/denoise.c: In function ‘hb_denoise_work’:
libhb/denoise.c:427: warning: implicit declaration of function ‘avpicture_fill’
libhb/denoise.c:427: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/denoise.c:430: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/denoise.c:430: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/denoise.c:433: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/denoise.c:434: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/denoise.c:443: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/denoise.c:444: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/denoise.c:453: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/denoise.c:454: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/denoise.c:463: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/denoise.c:465: error: ‘hb_filter_private_t’ has no member named ‘buf_out’

gcc -c -o libhb/denoise.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DUSE_PTHREAD -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHB_VERSION=\"svn1681\" -DHB_BUILD=2008090901 -D__LIBHB__ -Ilibhb libhb/denoise.c

...failed Cc libhb/denoise.o ...
Cc libhb/detelecine.o 
libhb/detelecine.c:2:32: error: libavcodec/avcodec.h: No such file or directory
libhb/detelecine.c:90: error: expected specifier-qualifier-list before ‘AVPicture’
libhb/detelecine.c: In function ‘hb_detelecine_init’:
libhb/detelecine.c:817: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
libhb/detelecine.c:817: error: (Each undeclared identifier is reported only once
libhb/detelecine.c:817: error: for each function it appears in.)
libhb/detelecine.c:831: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/detelecine.c: In function ‘hb_detelecine_close’:
libhb/detelecine.c:895: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/detelecine.c:897: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/detelecine.c: In function ‘hb_detelecine_work’:
libhb/detelecine.c:937: warning: implicit declaration of function ‘avpicture_fill’
libhb/detelecine.c:937: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/detelecine.c:940: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/detelecine.c:942: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/detelecine.c:944: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/detelecine.c:946: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/detelecine.c:971: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/detelecine.c:1021: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/detelecine.c:1021: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/detelecine.c:1024: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/detelecine.c:1026: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/detelecine.c:1028: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/detelecine.c:1034: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/detelecine.c:1042: error: ‘hb_filter_private_t’ has no member named ‘buf_out’

gcc -c -o libhb/detelecine.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DUSE_PTHREAD -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHB_VERSION=\"svn1681\" -DHB_BUILD=2008090901 -D__LIBHB__ -Ilibhb libhb/detelecine.c

...failed Cc libhb/detelecine.o ...
Cc libhb/decomb.o 
libhb/decomb.c:9:32: error: libavcodec/avcodec.h: No such file or directory
libhb/decomb.c:47: error: expected specifier-qualifier-list before ‘AVCodecContext’
libhb/decomb.c: In function ‘store_ref’:
libhb/decomb.c:112: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:113: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:116: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:117: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:124: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:128: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c:127: warning: unused variable ‘h’
libhb/decomb.c: In function ‘get_ref’:
libhb/decomb.c:146: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:148: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c: In function ‘blend_filter_line’:
libhb/decomb.c:190: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c: In function ‘check_combing_mask’:
libhb/decomb.c:253: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c:271: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:272: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:277: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:278: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:283: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:284: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:285: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:296: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/decomb.c:304: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/decomb.c: In function ‘tritical_detect_comb’:
libhb/decomb.c:352: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c:374: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:375: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:376: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:377: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:378: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:392: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:393: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:394: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:395: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:396: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:397: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:398: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:399: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:400: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:401: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:419: error: ‘hb_filter_private_t’ has no member named ‘yadif_deinterlaced_frames’
libhb/decomb.c:419: error: ‘hb_filter_private_t’ has no member named ‘blend_deinterlaced_frames’
libhb/decomb.c:419: error: ‘hb_filter_private_t’ has no member named ‘unfiltered_frames’
libhb/decomb.c:429: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:433: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:444: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:446: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:461: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:463: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:468: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:473: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c: In function ‘yadif_filter_line’:
libhb/decomb.c:498: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c: In function ‘yadif_filter’:
libhb/decomb.c:612: error: ‘hb_filter_private_t’ has no member named ‘yadif_deinterlaced_frames’
libhb/decomb.c:616: error: ‘hb_filter_private_t’ has no member named ‘blend_deinterlaced_frames’
libhb/decomb.c:620: error: ‘hb_filter_private_t’ has no member named ‘unfiltered_frames’
libhb/decomb.c:628: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c:635: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:636: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:637: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:637: warning: unused variable ‘next’
libhb/decomb.c:635: warning: unused variable ‘prev’
libhb/decomb.c:644: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:645: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:646: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:654: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c: In function ‘mcdeint_filter’:
libhb/decomb.c:671: warning: implicit declaration of function ‘av_log_get_level’
libhb/decomb.c:672: warning: implicit declaration of function ‘av_log_set_level’
libhb/decomb.c:672: error: ‘AV_LOG_QUIET’ undeclared (first use in this function)
libhb/decomb.c:672: error: (Each undeclared identifier is reported only once
libhb/decomb.c:672: error: for each function it appears in.)
libhb/decomb.c:677: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/decomb.c:678: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/decomb.c:680: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/decomb.c:680: error: ‘FF_CMP_SAD’ undeclared (first use in this function)
libhb/decomb.c:681: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/decomb.c:682: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/decomb.c:682: error: ‘FF_QP2LAMBDA’ undeclared (first use in this function)
libhb/decomb.c:684: warning: implicit declaration of function ‘avcodec_encode_video’
libhb/decomb.c:684: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/decomb.c:687: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/decomb.c:689: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/decomb.c:689: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/decomb.c:695: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/decomb.c:707: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/decomb.c:749: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/decomb.c:761: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame_dec’
libhb/decomb.c: In function ‘hb_decomb_init’:
libhb/decomb.c:779: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
libhb/decomb.c:794: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:795: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:796: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/decomb.c:798: error: ‘hb_filter_private_t’ has no member named ‘yadif_deinterlaced_frames’
libhb/decomb.c:799: error: ‘hb_filter_private_t’ has no member named ‘blend_deinterlaced_frames’
libhb/decomb.c:800: error: ‘hb_filter_private_t’ has no member named ‘unfiltered_frames’
libhb/decomb.c:842: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c:846: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:857: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:863: warning: implicit declaration of function ‘avcodec_init’
libhb/decomb.c:864: warning: implicit declaration of function ‘avcodec_register_all’
libhb/decomb.c:866: error: ‘AVCodec’ undeclared (first use in this function)
libhb/decomb.c:866: error: ‘enc’ undeclared (first use in this function)
libhb/decomb.c:866: warning: implicit declaration of function ‘avcodec_find_encoder’
libhb/decomb.c:866: error: ‘CODEC_ID_SNOW’ undeclared (first use in this function)
libhb/decomb.c:871: error: ‘AVCodecContext’ undeclared (first use in this function)
libhb/decomb.c:871: error: ‘avctx_enc’ undeclared (first use in this function)
libhb/decomb.c:873: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/decomb.c:873: warning: implicit declaration of function ‘avcodec_alloc_context’
libhb/decomb.c:877: error: ‘AVRational’ undeclared (first use in this function)
libhb/decomb.c:877: error: expected ‘;’ before ‘{’ token
libhb/decomb.c:881: error: ‘CODEC_FLAG_QSCALE’ undeclared (first use in this function)
libhb/decomb.c:881: error: ‘CODEC_FLAG_LOW_DELAY’ undeclared (first use in this function)
libhb/decomb.c:882: error: ‘FF_COMPLIANCE_EXPERIMENTAL’ undeclared (first use in this function)
libhb/decomb.c:884: error: ‘CODEC_FLAG2_MEMC_ONLY’ undeclared (first use in this function)
libhb/decomb.c:885: error: ‘FF_CMP_SAD’ undeclared (first use in this function)
libhb/decomb.c:887: error: ‘FF_CMP_SSE’ undeclared (first use in this function)
libhb/decomb.c:894: error: ‘ME_UMH’ undeclared (first use in this function)
libhb/decomb.c:896: error: ‘CODEC_FLAG_4MV’ undeclared (first use in this function)
libhb/decomb.c:899: error: ‘CODEC_FLAG_QPEL’ undeclared (first use in this function)
libhb/decomb.c:902: warning: implicit declaration of function ‘avcodec_open’
libhb/decomb.c:905: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_frame’
libhb/decomb.c:905: warning: implicit declaration of function ‘avcodec_alloc_frame’
libhb/decomb.c: In function ‘hb_decomb_close’:
libhb/decomb.c:920: error: ‘hb_filter_private_t’ has no member named ‘yadif_deinterlaced_frames’
libhb/decomb.c:920: error: ‘hb_filter_private_t’ has no member named ‘blend_deinterlaced_frames’
libhb/decomb.c:920: error: ‘hb_filter_private_t’ has no member named ‘unfiltered_frames’
libhb/decomb.c:920: error: ‘hb_filter_private_t’ has no member named ‘yadif_deinterlaced_frames’
libhb/decomb.c:920: error: ‘hb_filter_private_t’ has no member named ‘blend_deinterlaced_frames’
libhb/decomb.c:920: error: ‘hb_filter_private_t’ has no member named ‘unfiltered_frames’
libhb/decomb.c:923: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:925: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:927: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:929: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:931: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/decomb.c:933: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/decomb.c:940: error: ‘hb_filter_private_t’ has no member named ‘ref’
libhb/decomb.c:943: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c:951: error: ‘hb_filter_private_t’ has no member named ‘mask’
libhb/decomb.c:954: error: ‘hb_filter_private_t’ has no member named ‘ref_stride’
libhb/decomb.c:962: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/decomb.c:964: warning: implicit declaration of function ‘avcodec_close’
libhb/decomb.c:964: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/decomb.c:965: warning: implicit declaration of function ‘av_freep’
libhb/decomb.c:965: error: ‘hb_filter_private_t’ has no member named ‘mcdeint_avctx_enc’
libhb/decomb.c: In function ‘hb_decomb_work’:
libhb/decomb.c:993: warning: implicit declaration of function ‘avpicture_fill’
libhb/decomb.c:993: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/decomb.c:1008: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/decomb.c:1013: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/decomb.c:1015: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/decomb.c:1031: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/decomb.c:1031: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:1034: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/decomb.c:1039: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/decomb.c:1039: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:1042: error: ‘hb_filter_private_t’ has no member named ‘pic_in’
libhb/decomb.c:1042: error: ‘hb_filter_private_t’ has no member named ‘pic_out’
libhb/decomb.c:1045: error: ‘hb_filter_private_t’ has no member named ‘buf_out’
libhb/decomb.c:1049: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’
libhb/decomb.c:1052: error: ‘hb_filter_private_t’ has no member named ‘buf_settings’

gcc -c -o libhb/decomb.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DUSE_PTHREAD -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHB_VERSION=\"svn1681\" -DHB_BUILD=2008090901 -D__LIBHB__ -Ilibhb libhb/decomb.c

...failed Cc libhb/decomb.o ...
Cc libhb/lang.o 
Cc libhb/enctheora.o 
...skipped libhb.a for lack of libhb.a(hb.o)...
Cc test/test.o 
test/test.c:91: warning: ‘cfr’ defined but not used
Cc test/parsecsv.o 
...skipped HandBrakeCLI for lack of libhb.a...
...failed updating 16 target(s)...
...skipped 5 target(s)...
...updated 58 target(s)...
snorre@snorre-desktop:~/src/hb/trunk$
Seems to be a lot of issues with libhb here...

Then I tried to compile release 0.9.2 using "./configure && jam" and got this:

Code: Select all

18:19:52 (581.54 KB/s) - `contrib/xvidcore.tar.gz' saved [740185/740185]

LibXvidCore contrib/lib/libxvidcore.a 
patching file build/generic/configure
configure: loading cache /home/snorre/src/hb/0.9.2/contrib/config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
checking target system type... (cached) x86_64-unknown-linux-gnu
checking whether to use default CFLAGS... yes
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking for whether to use assembly code... yes
checking for architecture type... x86_64
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for int *... yes
checking size of int *... 8
checking whether byte ordering is bigendian... (cached) no
checking for build extensions... .so .a .o
checking for platform specific LDFLAGS/CFLAGS... ok
checking for yasm... yes
checking for asm object format... elf
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
updating cache /home/snorre/src/hb/0.9.2/contrib/config.cache
configure: creating ./config.status
config.status: creating platform.inc
  D: =build
  C: ./decoder.c
  C: ./encoder.c
  C: ./xvid.c
  C: bitstream/bitstream.c
  C: bitstream/cbp.c
  C: bitstream/mbcoding.c
  C: dct/fdct.c
  C: dct/idct.c
  C: dct/simple_idct.c
  C: image/colorspace.c
  C: image/image.c
  C: image/interpolate8x8.c
  C: image/font.c
  C: image/postprocessing.c
  C: image/qpel.c
  C: image/reduced.c
  C: motion/estimation_bvop.c
  C: motion/estimation_common.c
  C: motion/estimation_gmc.c
  C: motion/estimation_pvop.c
  C: motion/estimation_rd_based.c
  C: motion/estimation_rd_based_bvop.c
  C: motion/gmc.c
  C: motion/motion_comp.c
  C: motion/vop_type_decision.c
  C: motion/sad.c
  C: prediction/mbprediction.c
  C: plugins/plugin_single.c
  C: plugins/plugin_2pass1.c
  C: plugins/plugin_2pass2.c
  C: plugins/plugin_lumimasking.c
  C: plugins/plugin_dump.c
  C: plugins/plugin_psnr.c
  C: quant/quant_h263.c
  C: quant/quant_matrix.c
  C: quant/quant_mpeg.c
  C: utils/emms.c
  C: utils/mbtransquant.c
  C: utils/mem_align.c
  C: utils/mem_transfer.c
  C: utils/timer.c
  A: dct/x86_64_asm/fdct_mmx_skal.asm
  A: dct/x86_64_asm/idct_mmx.asm
  A: image/x86_64_asm/interpolate8x8_mmx.asm
  A: image/x86_64_asm/interpolate8x8_xmm.asm
  A: image/x86_64_asm/qpel_mmx.asm
  A: motion/x86_64_asm/sad_mmx.asm
  A: motion/x86_64_asm/sad_xmm.asm
  A: quant/x86_64_asm/quantize_h263_mmx.asm
  A: quant/x86_64_asm/quantize_mpeg_xmm.asm
  A: utils/x86_64_asm/cpuid.asm
  A: utils/x86_64_asm/interlacing_mmx.asm
  A: utils/x86_64_asm/mem_transfer_mmx.asm
  L: libxvidcore.a
C++ libhb/ipodutil.o 
libhb/ipodutil.cpp: In constructor ‘IPodUUIDAtom::IPodUUIDAtom()’:
libhb/ipodutil.cpp:22: warning: deprecated conversion from string constant to ‘char*’
Cc libhb/common.o 
Cc libhb/hb.o 
Cc libhb/ports.o 
Cc libhb/scan.o 
Cc libhb/work.o 
Cc libhb/decmpeg2.o 
Cc libhb/encavcodec.o 
Cc libhb/update.o 
Cc libhb/demuxmpeg.o 
Cc libhb/fifo.o 
Cc libhb/render.o 
Cc libhb/reader.o 
Cc libhb/muxcommon.o 
Cc libhb/muxmp4.o 
Cc libhb/sync.o 
Cc libhb/stream.o 
Cc libhb/decsub.o 
Cc libhb/deca52.o 
Cc libhb/decdca.o 
Cc libhb/encfaac.o 
Cc libhb/declpcm.o 
Cc libhb/encx264.o 
Cc libhb/decavcodec.o 
libhb/decavcodec.c: In function ‘decavcodecWork’:
libhb/decavcodec.c:108: warning: ‘avcodec_decode_audio’ is deprecated (declared at ./contrib/include/ffmpeg/avcodec.h:2552)
Cc libhb/encxvid.o 
Cc libhb/muxavi.o 
Cc libhb/enclame.o 
Cc libhb/muxogm.o 
Cc libhb/encvorbis.o 
Cc libhb/dvd.o 
Cc libhb/muxmkv.o 
Cc libhb/deblock.o 
Cc libhb/deinterlace.o 
libhb/deinterlace.c:83: warning: initialization from incompatible pointer type
libhb/deinterlace.c: In function ‘yadif_store_ref’:
libhb/deinterlace.c:105: warning: unused variable ‘h’
Cc libhb/denoise.o 
Cc libhb/detelecine.o 
Cc libhb/lang.o 
Archive libhb/libhb.a 
ar: creating libhb/libhb.a
Ranlib libhb/libhb.a 
Cc test/test.o 
Cc test/parsecsv.o 
Link HandBrakeCLI 
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status

g++  -o HandBrakeCLI  test/test.o test/parsecsv.o libhb/libhb.a contrib/lib/liba52.a contrib/lib/libavformat.a contrib/lib/libavcodec.a contrib/lib/libavutil.a contrib/lib/libdca.a contrib/lib/libdvdread.a contrib/lib/libmp4v2.a contrib/lib/libfaac.a contrib/lib/libmp3lame.a contrib/lib/libmpeg2.a contrib/lib/libvorbis.a contrib/lib/libvorbisenc.a contrib/lib/libogg.a contrib/lib/libsamplerate.a contrib/lib/libx264.a contrib/lib/libxvidcore.a contrib/lib/libmkv.a contrib/lib/libswscale.a contrib/lib/libdvdcss.a -lz -lpthread 

...failed Link HandBrakeCLI ...
...failed updating 1 target(s)...
...updated 73 target(s)...
snorre@snorre-desktop:~/src/hb/0.9.2$
I'm running Ubuntu 8.04.1 x86_64 and I've installed build-essential, subversion, jam, libhal-storage1, libhal-storage-dev and libhal-dev from the Ubuntu repos, built yasm 0.7.1 from source and installed.
As far as I can remember, I didn't do anything different last time I prepped to compile HandBrake from source, yet "nothing" woks now...

Anyone out there who has any insights?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Unable to compile 0.9.2 and svn1681

Post by JohnAStebbins »

Your first log appears to be missing the beginning. There's probably something interesting happening earlier. I can't tell anything from the rest.

In the second, the problems fairly obvious.
/usr/bin/ld: cannot find -lz
You need to install whatever package supplies this.

EDIT: looking further down the first log. header files for libavcodec are missing. My guess is that ffmpeg failed earlier in the build.
SnorreSelmer
Posts: 31
Joined: Thu Aug 14, 2008 7:02 pm

Re: Unable to compile 0.9.2 and svn1681

Post by SnorreSelmer »

JohnAStebbins wrote:Your first log appears to be missing the beginning. There's probably something interesting happening earlier. I can't tell anything from the rest.
I'll try to pipe the output of the compile to a file.. The text you see is all I could copy out of my terminal window.
JohnAStebbins wrote:In the second, the problems fairly obvious.
/usr/bin/ld: cannot find -lz
You need to install whatever package supplies this.

EDIT: looking further down the first log. header files for libavcodec are missing. My guess is that ffmpeg failed earlier in the build.
I have no idea what might satisfy that missing "something", so I'll just have to leave it for now. Any suggestions on the ffmpeg-issue? (Maybe go to the contrib-folder and manually compile it separately to see?)
SnorreSelmer
Posts: 31
Joined: Thu Aug 14, 2008 7:02 pm

Re: Unable to compile 0.9.2 and svn1681

Post by SnorreSelmer »

I looked over the log from the second run and found this:

Code: Select all

./bootstrap: 3: aclocal: not found
./bootstrap: 4: autoheader: not found
./bootstrap: 9: libtoolize: not found
./bootstrap: 10: automake: not found
./bootstrap: 11: autoconf: not found
I installed the automake and autoconf packages from repo (the other files must be part of some package because I couldn't get them with apt-get) and I'm trying again now
SnorreSelmer
Posts: 31
Joined: Thu Aug 14, 2008 7:02 pm

Re: Unable to compile 0.9.2 and svn1681

Post by SnorreSelmer »

So close, but not quite there.
I ran another "make | grep 'not found'" and libtoolize popped up again.
libtoolize was resolved by installing libtool but now I seem to need some bzip2 sources.
My problem now is that I can't find a suitable package. libbz2 is obsoleted, bzip2 is already installed, so gets me no closer..

Grrr...
SnorreSelmer
Posts: 31
Joined: Thu Aug 14, 2008 7:02 pm

Re: Unable to compile 0.9.2 and svn1681

Post by SnorreSelmer »

More googling and I found this thread on this forum gave me the final packages I needed. :) Someone should sticky it for the future (and I should have looked a bit better before starting this thread).

Finally got HandBrakeCLI up and running. I'm in my happy-place now.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Unable to compile 0.9.2 and svn1681

Post by JohnAStebbins »

It's difficult to keep such a list up to date. And it's only valid for one platform. For example, on fedora (which i develop on) I don't have to install any extra packages. The default install has everything I need.

This person did a pretty thorough write-up for ubuntu though: http://filthypants.blogspot.com/
Post Reply