
If anyone else wants to do this, cd to the folder: I then manually re-ran the command and added in the cpu.o that it was complaining about not having. I ran the make in debug mode (-d) and saw the actual command that was executed.

Make: Leaving directory `/home/pi/Downloads/HandBrake-0.9.8/build/gtk'įinally managed to get it to build. Make: Leaving directory `/home/pi/Downloads/HandBrake-0.9.8/build/gtk/src' Utils.c:(.text+0x22e4): undefined reference to `av_get_cpu_flags' home/pi/Downloads/HandBrake-0.9.8/build//contrib/lib/libswscale.a(utils.o): In function `sws_init_context': Libtool: link: g++ -g -O2 -I/home/pi/Downloads/HandBrake-0.9.8/build//libhb -D_ENABLE_GST -D_USE_APP_IND -Wl,-export-dynamic -Wl,-exclude-libs -Wl,ALL -Wl,-S -g0 -O3 -o ghb callbacks.o queuehandler.o audiohandler.o subtitlehandler.o x264handler.o main.o settings.o resources.o presets.o preview.o icons.o icon_tools.o values.o appcast.o plist.o hb-backend.o renderer_button.o ghbcellrenderertext.o ghbcompositor.o ghb-dvd.o marshalers.o -pthread -L/home/pi/Downloads/HandBrake-0.9.8/build//libhb -L/home/pi/Downloads/HandBrake-0.9.8/build//contrib/lib -lhb /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/liba52.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libmkv.a -lavformat -lavcodec -lavutil /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libdca.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libdvdnav.a -L/home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libdvdread.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib//lib/libfaac.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib//lib/libmp3lame.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib//lib/libmpeg2.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libvorbisenc.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libvorbis.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib//lib/libsamplerate.a -lx264 /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libmp4v2.a -lswscale /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libtheora.a -L/home/pi/Downloads/HandBrake-0.9.8/build/contrib//lib /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libogg.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libbluray.a -lpthread /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libass.a -lfribidi -lgstinterfaces-0.10 -lgstvideo-0.10 /usr/lib/arm-linux-gnueabihf/libgstbase-0.10.so -lgstpbutils-0.10 /usr/lib/arm-linux-gnueabihf/libgstreamer-0.10.so -lgmodule-2.0 -lgthread-2.0 -lrt -lnotify -ldbus-glib-1 -ldbus-1 -lgudev-1.0 -lwebkitgtk-1.0 -lsoup-2.4 -ljavascriptcoregtk-1.0 -lappindicator -ldbusmenu-glib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/arm-linux-gnueabihf/libcairo.so -lpango-1.0 /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libfontconfig.a /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libfreetype.a -lbz2 /home/pi/Downloads/HandBrake-0.9.8/build/contrib/lib/libxml2.a -ldl -lz -lm -lgobject-2.0 -lglib-2.0 -pthread Here is a dump of the last thing it tried to do and the associated error:
#Install handbrake update
I even tried to tried to build HandBrake on my desktop machine (Ubuntu 10.04) but it complained of an old version of yasm - I so need to update things. I even managed to successfully build ffmpeg.


I found the av_get_spu_flags function in one of the ffmpeg libraries (HandBrake-0.9.8/build/contrib/ffmpeg/ffmpeg-v0.7-1696-gcae4f4b/libavutil/cpu.c). Mostly deprecation warnings set but not used initialization from incompatible pointer type and may be used uninitialized in this function.īeen years since I have done any programming but I had a look through the code.
