[Gen8 Android Development] CalcProgrammer1:
I've been trying to build from source but lately I've been having an error. I've re-downloaded the repository several times and also did git resets on everything, but I'm still getting the following error:

target Executable: jpeg_bench (out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/LINKED/jpeg_bench)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.o: in function EFactory(SkImageEncoder::Type):frameworks/base/media/tests/omxjpegdecoder/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp:1030: error: undefined reference to 'dlopen'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.o: in function EFactory(SkImageEncoder::Type):frameworks/base/media/tests/omxjpegdecoder/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp:1032: error: undefined reference to 'dlerror'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.o: in function EFactory(SkImageEncoder::Type):frameworks/base/media/tests/omxjpegdecoder/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp:1045: error: undefined reference to 'dlsym'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.o: in function EFactory(SkImageEncoder::Type):frameworks/base/media/tests/omxjpegdecoder/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp:1050: error: undefined reference to 'dlerror'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.o: in function DFactory(SkStream*):frameworks/base/media/tests/omxjpegdecoder/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp:983: error: undefined reference to 'dlopen'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.o: in function DFactory(SkStream*):frameworks/base/media/tests/omxjpegdecoder/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp:985: error: undefined reference to 'dlerror'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.o: in function DFactory(SkStream*):frameworks/base/media/tests/omxjpegdecoder/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp:1003: error: undefined reference to 'dlsym'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.o: in function DFactory(SkStream*):frameworks/base/media/tests/omxjpegdecoder/../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp:1009: error: undefined reference to 'dlerror'
collect2: ld returned 1 exit status
make: *** [out/target/product/gen8/obj/EXECUTABLES/jpeg_bench_intermediates/LINKED/jpeg_bench] Error 1
make: *** Waiting for unfinished jobs....

This was observed on both Ubuntu 11.04 and 12.04 (11.04 being configured using the openaos-setup script). What is going on here?