jbrjake: I did not post the full build log because I thought it would be obvious (to current developers) what the problem was given the files that failed to build - "Oh, that is the _____ problem. You need to do this..." kind of thing. I think it was a reasonable assumption given that I followed directions on the website for checking out and building the code. Many forums do not want you posting an entire build log - I kept it short since I do not see a way to attach the log as a file. I don't know why you would assume I enjoy wasting my and others time after one post.
belloq: Thanks for the pointer on yasm. When I went to the wiki page on how to build HandBrake, I clicked on the link to build for Mac which skips over the note about yasm that followed the platform build links. I would suggest that the yasm link be moved above the platform build links so that everyone sees it before jumping to their specific platform. I installed yasm using MacPorts and am still getting the same build errors.
jzietman: Thanks for the pointer on Jam. I built HandBrake like that in the past, back when it was the suggested way. I am going to hold off for the time being and see if my full build log strikes anyone. I think incomplete instructions and/or makefiles aren't helpful to an open source project, and, hopefully, once this gets figured out, documentation can be revised or code can be fixed.
Anyway, here is the full build log. Thanks for the help.
(OH and BTW, the forum won't let me post a full build log. I will try and truncate without raising jbrjake's ire. Sigh. I have cut after the first error as a result of the missing headers. There are more, this should give a better picture.)
Code: Select all
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/decmpeg2.o /Users/willie/src/HandBrake-source/macosx/../libhb/decmpeg2.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/decmpeg2.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/decmpeg2.o
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/decmpeg2.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:5:32: error: libavcodec/avcodec.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:6:34: error: libavformat/avformat.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:7:32: error: libswscale/swscale.h: No such file or directory
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/decmpeg2.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:10: error: syntax error before '*' token
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/encavcodec.o /Users/willie/src/HandBrake-source/macosx/../libhb/encavcodec.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/encavcodec.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/encavcodec.o
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/encavcodec.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:5:32: error: libavcodec/avcodec.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:6:34: error: libavformat/avformat.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:7:32: error: libswscale/swscale.h: No such file or directory
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/encavcodec.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:10: error: syntax error before '*' token
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/hb.o /Users/willie/src/HandBrake-source/macosx/../libhb/hb.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/hb.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/hb.o
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/hb.c:2:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:5:32: error: libavcodec/avcodec.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:6:34: error: libavformat/avformat.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:7:32: error: libswscale/swscale.h: No such file or directory
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/hb.c:2:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:10: error: syntax error before '*' token
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/muxavi.o /Users/willie/src/HandBrake-source/macosx/../libhb/muxavi.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/muxavi.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/muxavi.o
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/muxavi.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:5:32: error: libavcodec/avcodec.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:6:34: error: libavformat/avformat.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:7:32: error: libswscale/swscale.h: No such file or directory
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/muxavi.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:10: error: syntax error before '*' token
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/muxmp4.o /Users/willie/src/HandBrake-source/macosx/../libhb/muxmp4.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/muxmp4.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/muxmp4.o
/Users/willie/src/HandBrake-source/macosx/../libhb/muxmp4.c:7:25: error: mp4v2/mp4v2.h: No such file or directory
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/muxmp4.c:8:
/Users/willie/src/HandBrake-source/macosx/../contrib/include/a52dec/a52.h:55: error: syntax error before 'mm_accel'
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/render.o /Users/willie/src/HandBrake-source/macosx/../libhb/render.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/render.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/render.o
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/render.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:5:32: error: libavcodec/avcodec.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:6:34: error: libavformat/avformat.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:7:32: error: libswscale/swscale.h: No such file or directory
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/render.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:10: error: syntax error before '*' token
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/sync.o /Users/willie/src/HandBrake-source/macosx/../libhb/sync.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/sync.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/sync.o
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/sync.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:5:32: error: libavcodec/avcodec.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:6:34: error: libavformat/avformat.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:7:32: error: libswscale/swscale.h: No such file or directory
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/sync.c:8:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:10: error: syntax error before '*' token
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/work.o /Users/willie/src/HandBrake-source/macosx/../libhb/work.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/work.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/work.o
/Users/willie/src/HandBrake-source/macosx/../libhb/work.c:10:34: error: libavformat/avformat.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/work.c: In function 'do_job':
/Users/willie/src/HandBrake-source/macosx/../libhb/work.c:525: error: 'MAX_STREAMS' undeclared (first use in this function)
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/deca52.o /Users/willie/src/HandBrake-source/macosx/../libhb/deca52.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/deca52.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/deca52.o
/Users/willie/src/HandBrake-source/macosx/../libhb/deca52.c:10:27: error: libavutil/crc.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/deca52.c:33: warning: no semicolon at end of struct or union
/Users/willie/src/HandBrake-source/macosx/../libhb/deca52.c:33: error: syntax error before '*' token
[...]
CompileC build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/decavcodec.o /Users/willie/src/HandBrake-source/macosx/../libhb/decavcodec.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/willie/src/HandBrake-source/macosx
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DJOB_GROUPS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -gdwarf-2 -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/hb.hmap -F/Users/willie/src/HandBrake-source/macosx/../libhb -I/Users/willie/src/HandBrake-source/macosx/../libhb/include -I/Users/willie/src/HandBrake-source/macosx/../contrib/include -I/Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/DerivedSources -D__LIBHB__ -DSYS_DARWIN -DUSE_PTHREAD -c /Users/willie/src/HandBrake-source/macosx/../libhb/decavcodec.c -o /Users/willie/src/HandBrake-source/macosx/build/HandBrake.build/Deployment/libhb.build/Objects-normal/i386/decavcodec.o
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/decavcodec.c:63:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:5:32: error: libavcodec/avcodec.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:6:34: error: libavformat/avformat.h: No such file or directory
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:7:32: error: libswscale/swscale.h: No such file or directory
In file included from /Users/willie/src/HandBrake-source/macosx/../libhb/decavcodec.c:63:
/Users/willie/src/HandBrake-source/macosx/../libhb/hbffmpeg.h:10: error: syntax error before '*' token