[Android] skyhigh2004:
I noticed it seemed like it was looking for kernel source in the `device/samsung/d2tmo/kernel' path so I copied the kernel source and made that path. I still havent gotten it to finish building yet. Every error I fix another comes up.

---------- Post added at 01:59 PM ---------- Previous post was at 01:47 PM ----------

I think I just ran into the same problem you encountered earlier. How did you fix these errors?

Install: out/target/product/d2tmo/system/lib/libWnnEngDic.so
/home/skylar/AOSP_JB/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d2tmo/obj/SHARED_LIBRARIES/lights.msm8960_intermediates/lights.o: in function close_lights:device/samsung/d2-common/liblights/lights.c:145: error: undefined reference to 'LOGV'
/home/skylar/AOSP_JB/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d2tmo/obj/SHARED_LIBRARIES/lights.msm8960_intermediates/lights.o: in function write_rgb:device/samsung/d2-common/liblights/lights.c:84: error: undefined reference to 'LOGV'
/home/skylar/AOSP_JB/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d2tmo/obj/SHARED_LIBRARIES/lights.msm8960_intermediates/lights.o: in function write_rgb:device/samsung/d2-common/liblights/lights.c:95: error: undefined reference to 'LOGE'
/home/skylar/AOSP_JB/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d2tmo/obj/SHARED_LIBRARIES/lights.msm8960_intermediates/lights.o: in function set_light_leds:device/samsung/d2-common/liblights/lights.c:156: error: undefined reference to 'LOGV'
/home/skylar/AOSP_JB/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d2tmo/obj/SHARED_LIBRARIES/lights.msm8960_intermediates/lights.o: in function set_light_leds:device/samsung/d2-common/liblights/lights.c:167: error: undefined reference to 'LOGV'
/home/skylar/AOSP_JB/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d2tmo/obj/SHARED_LIBRARIES/lights.msm8960_intermediates/lights.o: in function set_light_leds:device/samsung/d2-common/liblights/lights.c:174: error: undefined reference to 'LOGE'
/home/skylar/AOSP_JB/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d2tmo/obj/SHARED_LIBRARIES/lights.msm8960_intermediates/lights.o: in function write_int:device/samsung/d2-common/liblights/lights.c:67: error: undefined reference to 'LOGE'
collect2: ld returned 1 exit status
make: *** [out/target/product/d2tmo/obj/SHARED_LIBRARIES/lights.msm8960_intermediates/LINKED/lights.msm8960.so] Error 1

EDIT: Did you just add those define lines to your d2-common light.c?

EDIT2: Well I added those lines to light.c and then I got this kernel error. So its still not building the kernel or finding a prebuilt. IDK what to try now.

Target boot image: out/target/product/d2tmo/boot.img
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/noproguard.classes.dex
target Dex: bouncycastle
error: could not load kernel 'out/target/product/d2tmo/kernel'
make: *** [out/target/product/d2tmo/boot.img] Error 1
make: *** Waiting for unfinished jobs....
target SharedLib: libhardware (out/target/product/d2tmo/obj/SHARED_LIBRARIES/libhardware_intermediates/LINKED/libhardware.so)
target SharedLib: libcorkscrew (out/target/product/d2tmo/obj/SHARED_LIBRARIES/libcorkscrew_intermediates/LINKED/libcorkscrew.so)