yashsingh1/xdaforums huggingface dataset:
[Android] skyhigh2004:
I was doing some reading in the pdk and found that it says we have to have an android.mk file to tell it to find the pre built so I made a generic one but don't think I wrote it right as it still failed due to the kernel. I'm guessing we need a device specific one that has the correct paths for all the sources.

Sent from one of my Galaxies
[Android] solracarevir:
Help here please!

I've spent like 5 hours looking online and researching trying to solve this one by myself but with no luck...

make: *** No rule to make target `NOTICE-TARGET-STATIC_LIBRARIES-lib_driver_cmd_wl12xx', needed by `out/target/product/ville/system/bin/wpa_supplicant'. Stop.
make: *** Waiting for unfinished jobs....
target thumb C: wpa_supplicant <= external/wpa_supplicant_8/wpa_supplicant/src/drivers/driver_nl80211.c
external/wpa_supplicant_8/wpa_supplicant/src/drivers/driver_nl80211.c:343:1: [B]error: expected identifier or '(' before string constant[/B]
external/wpa_supplicant_8/wpa_supplicant/src/drivers/driver_nl80211.c:9046:45:[B] error: expected expression before ',' token[/B]
make: *** [out/target/product/ville/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_nl80211.o] Error 1

My first guess was like: "Oh! this one is easy, just open driver_nl80211.c , add the mising "(" and the missing "," and Game over" but both "(" and "," were present on the code, so im stuck....

Any help would be Appreciated
[Android] brfield:
I put it into the BoardConfig.mk file, as directed by the CM wiki
[Android] BENETNATH:
Hi guys,

quick question.

I'm currently creating from scratch a device tree and i have difficulties to get it boot.

i'm stuck on one line in boardconfig:

BOARD_MKBOOTIMG_ARGS

here is what i got from unpackbootimg:

Kernel Size : 5603576 bytes

Kernel Base Address : 0x10000000

Ramdisk Size : 236785 bytes

Ramdisk Load Address : 0x11000000

Second Stage Size : 0 bytes

Second Stage Load Address : 0x10f00000

Page Size : 2048 bytes

ASCIIZ Product Name : (None)

could someone point me the good way to add info ?
[Android] ColeTrain!:
data lte

i compiled my first rom, beanstalk aosp for l900 sprint galaxy note 2 - with a lot of help. but 3g and LTE isnt right. LTE doesnt work at all and 3g is just poor to none. beanstalk is based on cyanaginmod, are there some libs i can steal and replace on my rom to get it working? which ones are they. it works fantastic on wifi
[Android] :
try to exclude #

build/core/dynamic_binary.mk:44: *** device/htc/m7-common/rootdir: LOCAL_MODULE not defined before call to local-intermediates-dir. Stop

in dynamic_binary line 44

or

you have to point to the "missing source"
[Android] Slimegod:
In step 6 can I also use this command $ ../tools/releasetools/ota_target_from_phone -r?
[Android] Slimegod:
I've also had issues with this. Is there a fix for it? Nothing I do is fixing this :banghead:

Edit: so I was doing some searching and dug up some information. Was reading that you can't build AOSP with cm. I was getting that error with the cm_d2lte-eng. That was my selection name when I did the lunch command. They stated I had to build AOSP and referred to other AOSP files that were in the selection and go off that. Can anyone verify that?
[Android] pcwizzy37:
It still gives me that error even when I put "QCOM_NO_SECURE_PLAYBACK := true" in the BoardConfig.mk.
[Android] wzj186@126.com:
I also have this problem, how to solve?

---------- Post added at 12:24 PM ---------- Previous post was at 12:18 PM ----------

I also have this problem, how to solve?
[Android] ttibbetts83:
build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/samsung/n7000/full_n7000.mk]]: "frameworks/base/build/phone-xhdpi-1024-dalvik-heap.mk" does not exist. Stop.

** Don't have a product spec for: 'full_crespo'

** Do you have the right repo manifest?

how do i get past this error
[Android] dastin1015:
Change all references in device repos from frameworks/base to frameworks/native
[Android] ttibbetts83:
where would i do that
[Android] brfield:
device/samsung/n7000/full_n7000.mk

or, in one of my previous posts is another solution

@dastin1015

You wouldn't know how to fix the problem me and skyhigh2004 are having, would you?
[Android] skyhigh2004:
Well I know its possible. I see cyanogen and bigxie both have a booting build of JB for our phones. Now to just figure out what they changed lol.

Sent from one of my Galaxies
[Android] chukis13:
No private recovery resources for TARGET_DEVICE pyramid

make: *** No rule to make target `hardware/qcom/gps/loc_api/libloc_api-rpc/inc-50000/loc_api_cb.h', needed by `out/target/product/pyramid/obj/include/libloc_api-rpc/inc/loc_api_cb.h'. Stop.

Any ideas?
[Android] brfield:
search your source files for the file needed then link the blob to it.

---------- Post added at 06:45 PM ---------- Previous post was at 06:44 PM ----------

That could also be because they have CM10 source setup though.
[Android] chukis13:
Source files in my device/htc/pyramid folder or in the WORKING_DIRECTORY/hardware folders?
[Android] ttibbetts83:
# Copyright (C) 2009 The Android Open Source Project

#

# Licensed under the Apache License, Version 2.0 (the "License");

# you may not use this file except in compliance with the License.

# You may obtain a copy of the License at

#

# http://www.apache.org/licenses/LICENSE-2.0

#

# Unless required by applicable law or agreed to in writing, software

# distributed under the License is distributed on an "AS IS" BASIS,

# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

# See the License for the specific language governing permissions and

# limitations under the License.

#

# This file is the build configuration for a full Android

# build for crespo hardware. This cleanly combines a set of

# device-specific aspects (drivers) with a device-agnostic

# product configuration (apps).

#

# Inherit from those products. Most specific first.

$(call inherit-product, $build/target/product/full_base_telephony.mk)

#$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)

#$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk)

$(call inherit-product, device/samsung/n7000/n7000.mk)

# Discard inherited values and use our own instead.

PRODUCT_NAME := full_n7000

PRODUCT_DEVICE := n7000

PRODUCT_BRAND := samsung

PRODUCT_MANUFACTURER := samsung

PRODUCT_MODEL := GT-N7000

this is my full_n7000.mk what to change?
[Android] brfield:
Do you have a folder equivalent to msm8x60?

in there, change the msm8x60.mk file.

or follow these instructions:

I believe it goes in Working_Dir/frameworks/base

so it would be "cd frameworks && mkdir base && git clone git://github.com/CyanogenMod/android_frameworks_base base"

If /base already exists; delete it, then run again with respective commands based on current shell location
[Android] ttibbetts83:
Thanks for your help I will give it a try tomorrow this is the first time I have tried to do this and don't know to much about it just trying to learn as I go and sew what happens
[Android] CallMeVentus:
I fixed the bionic for ARMv6 by commenting out the problematic chunk , but it causes a problem with InterpAsm-armv6-vfp.S with undefined symbol used as an immediate value

"I have to go. It's just....they really need me." - Sora
[Android] brfield:
So I redownloaded everything, here's the current error:

build/core/base_rules.mk:171: *** frameworks/base/build: MODULE.TARGET.JAVA_LIBRARIES.framework already defined by frameworks/base. Stop.
[Android] CallMeVentus:
Remove your duplicates

"I have to go. It's just....they really need me." - Sora
[Android] brfield:
I'm either dumb or tired. Even after you posted it took me like 5 minutes to figure out what I did.
[Android] CallMeVentus:
Make sure the file is executable

"I have to go. It's just....they really need me." - Sora
[Android] hotTACOcheese:
Yeah I already checked that. It is marked as an executable in its properties
[Android] afiqr:
how to compile it, i've done everything but, it is cannot be done when i tried to pull this code " source build.envsetup.sh" file does not exist, something, help me anyone
[Android] brfield:
chown user file/folder (if folder add --recursive)

chmod a+x file/folder (if folder add --recursive)
[Android] CallMeVentus:
You sure you installed all the prerequisites ?

"I have to go. It's just....they really need me." - Sora
[Android] brfield:
Needs to be . build/envsetup.sh

you have a " . " where a " / " should have been.
[Android] hotTACOcheese:
it is "source build/envsetup.sh" not "source build.envsetup.sh"

---------- Post added at 01:43 AM ---------- Previous post was at 01:31 AM ----------

Thanks, but no luck with this

Yeah, pretty sure I did. I can do my gb and ics builds without issues
[Android] brfield:
So far, so good. I have been compiling the current run for approx 10 minutes now. I am actively using my computer for other intense things :O probably shouldn't.

I find it kinda amusing how some files take all day to compile, while others will be so fast you can't read it.

---------- Post added at 10:56 PM ---------- Previous post was at 10:53 PM ----------

You did use sudo right?

sudo chown [user] [DIR]/prebuilts --recursive

sudo mod a+x [DIR]/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc

plus any other files that give problems.
[Android] skyhigh2004:
How did you get to get past the kernel building part?

Im building a cm10 build for the d2tmo right now. I'm hoping it finishes just to see if its bootable and if anything works.

Sent from one of my Galaxies
[Android] brfield:
NOOOOOOOOO!!!!

http://pastebin.com/jQbkyG8g

This one has me completely baffled. I can't find anything in searching, nor do I see any references to a file so I can get rid or ad LOGE and LOGV

---------- Post added at 11:01 PM ---------- Previous post was at 10:58 PM ----------

I used Romann's github kernel prebuilt, and told BoardConfig.mk to use it. Tired of messing with building them and getting it to build inline.
[Android] hotTACOcheese:
yeah tried with and with out
[Android] brfield:
Try setting your path to a different toolchain. When you make use Make ARCH=arm CROSS_COMPILE=[patch to]/arm-eabi-
[Android] GalaxyNexusPH:
I just compiled without problems but the OTA zip cannot be installed using CWM. I't complains about broken symlinks. Any ideas?

make CXX=g++-4.4 CC=gcc-4.4 -j4 otapackage

I also tried the no recovery patch and its not working on the 4.1.1_r1 make file and releasetools. I got it to work on 4.0.4_r2.1 without problems. I can't build an otapackage without recovery using that patch.
[Android] brfield:
Think I found my issue's solution.

search yielded:

define in problem file:

#define LOGE
#define LOGE_IF
#define LOGV

CM-DEV IRC yielded
[Android] djsubtronic:
What does this mean on a frozen adb logcat?

I/QCOMWIFI( 354): No Target Info
I/QCOMWIFI( 360): No Target Info
I/QCOMWIFI( 366): No Target Info
I/QCOMWIFI( 379): No Target Info
I/QCOMWIFI( 388): No Target Info
I/rmt_storage( 221): unblock rmt_storage client thread
D/QMI_FW ( 221): QCSI: QMI_CSI_RX: cntl_flag - 00, txn_id - 0001, msg_id - 0003, msg_len - 002b
D/QMI_FW ( 221): QCSI: xport_handle_event[13]
I/rmt_storage( 221): rmt_storage fop(1): bytes transferred = 3145216
I/rmt_storage( 221): rmt_storage fop(1): bytes transferred = 512
D/QMI_FW ( 221): QCSI: QMI_CSI_TX: cntl_flag - 02, txn_id - 0001, msg_id - 0003, msg_len - 0007
D/QMI_FW ( 221): QCSI: Sent[13]: 14 bytes to port 3072
D/QMI_FW ( 221): QCSI: Received REMOVE_CLIENT cmd for 00000000:0000000c
[Android] thomas1991_12:
I still have the following problem:

I got rid of the already defined error stuff with:

LOCAL_MODULE_TAGS := optional in the specific mk files.

But when i try to make now it says:

build/core/main.mk:484: *** The following variables have been changed: PRODUCT_COPY_FILES.

I tried to change build_executable to build_prebuilt but its not working..

Any suggestion?
[Android] BENETNATH:
thanks a lot

to have java on old ubuntu, a useful link :

http://softwareinabottle.wordpress.com/2011/11/17/install-sun-jdk-6-on-ubuntu-11-10/
[Android] rheza02:
anyone know how to fix this ?, i can't find anything about it. thanks

http://pastebin.com/yV6AB1Xu
[Android] T-Macgnolia:
Hey chukis I had this exact same error and this is how I got past it. I was looking to see if i could find the inc-50000 folder but only saw inc-1240 and inc-3200. I opened both og thos folders and noticed they both had the same files and one of the files was the oc_api_cb.h that the error was calling for. So I went to WORKING_DIRECTORY/harware/qcom/gps/loc_api/libloc_api_rpc. Then I created a folder and named it inc-50000 and then I copied all the files out of inc-1240 and pasted them in the folder I created.
[Android] CallMeVentus:
Actually all you had to do was to take the files from CM9 or rather CM10

"I have to go. It's just....they really need me." - Sora
[Android] rheza02:
i'm stuck on this

system/extras/ext4_utils/make_ext4fs.c: In function 'make_ext4fs':

system/extras/ext4_utils/make_ext4fs.c:314:2: warning: passing argument 3 of 'make_ext4fs_internal' discards 'const' qualifier from pointer target type [enabled by default]

system/extras/ext4_utils/make_ext4fs.h:40:5: note: expected 'char *' but argument is of type 'char const *'

anyone know how to fix this ?
[Android] CallMeVentus:
That's not the error

"I have to go. It's just....they really need me." - Sora
[Android] rheza02:
nvm, i didn't know that.

i'm stuck on this now,

et/product/i9300/obj/include/libsecmm/mfc_interface.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'

build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'

build/core/base_rules.mk:171: *** hardware/samsung/exynos/multimedia/openmax/osal: MODULE.TARGET.STATIC_LIBRARIES.libsecosal already defined by device/samsung/crespo/sec_mm/sec_omx/sec_osal. Stop.

any workaround for this ?
[Android] CallMeVentus:
Delete the duplicate one: /device/samsung/crespo/sec_mm/sec_omx/sec_osal

"I have to go. It's just....they really need me." - Sora
[Android] skyhigh2004:
We'll cm10 finished building :-). It was way to late last night for me to flash it but I'm gonna when I get home tonight.

Sent from one of my Galaxies
[Android] rheza02:
now, this. :(

hopefully this is last.

No private recovery resources for TARGET_DEVICE i9300

Target boot image: out/target/product/i9300/boot.img

error: could not load kernel 'out/target/product/i9300/kernel'

make: *** [out/target/product/i9300/boot.img] Error

anyone ?
[Android] CallMeVentus:
Does a file named "kernel" exist in out/target/i9300 ?

"I have to go. It's just....they really need me." - Sora
[Android] rheza02:
there is folder named kernel. :X
[Android] CallMeVentus:
It's supposed to be a file .

Delete that and copy and paste the kernel from /device/samsung/i9300 to here

"I have to go. It's just....they really need me." - Sora
[Android] rheza02:
i don't have kernel on that folder. :(
[Android] Drgravy:
could someone please help me with this error

thanks in advance

make: *** No rule to make target `vendor/asus/tf300t/proprietary/etc/dbus.conf', needed by `out/target/product/tf300t/system/etc/dbus.conf'. Stop.
make: *** Waiting for unfinished jobs....
system/core/libmincrypt/tools/DumpPublicKey.java:27: warning: sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
import sun.misc.BASE64Encoder;
^
1 warning
[Android] CallMeVentus:
That is your problem . Find a working zImage for i9300 and rename it to kernel and place it there , then follow my previous instructions

Did you run extract-files.sh properly ?

"I have to go. It's just....they really need me." - Sora
[Android] Drgravy:
yes I believe so

all the files extracted fine
[Android] rubervalrfl:
Help.

Good morning guys, I'm trying to compile manguro, but I can not, of the following error:

build / core / java.mk: 30: *** cts / apps / CtsVerifier: Invalid LOCAL_SDK_VERSION 'current' Choices are:. Stop it.

But I can compile for CM9 normal, the sdk is in place properly, someone could help me?

Sorry my bad English.

Actually I wanted to build galaxysmtd, if someone has an idea, accepted the help too.
[Android] CallMeVentus:
Pull dbus.conf from your device and place it in the destination specified

"I have to go. It's just....they really need me." - Sora
[Android] Drgravy:
thanks that fixed it

compiling now we will see what happens
[Android] rheza02:
another error, hmmm

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:36:43: fatal error: media/stagefright/HardwareAPI.h: No such file or directory

compilation terminated.

make: *** [out/target/product/i9300/obj/STATIC_LIBRARIES/libsecosal_intermediates/SEC_OSAL_Android.o] Error 1

make: *** Waiting for unfinished jobs....

out/host/linux-x86/bin/mkbootimg --kernel out/target/product/i9300/kernel --ramdisk out/target/product/i9300/ramdisk-recovery.img --cmdline ""console=ttySAC2,115200"" --base 0x40000000 --pagesize 2048 --output out/target/product/i9300/recovery.img

----- Made recovery image -------- out/target/product/i9300/recovery.img

out/target/product/i9300/recovery.img maxsize=8562048 blocksize=4224 total=5961728 reserve=88704
[Android] djsubtronic:
Any ideas on phone frozen on white HTC screen and logcat frozen on here?

D/QMI_FW ( 222): QCSI: Sent[13]: 14 bytes to port 1024
D/QMI_FW ( 222): QCSI: xport_handle_event[13]
I/QCOMWIFI( 342): No Target Info
I/QCOMWIFI( 348): No Target Info
I/QCOMWIFI( 354): No Target Info
I/QCOMWIFI( 360): No Target Info
I/QCOMWIFI( 375): No Target Info
I/QCOMWIFI( 385): No Target Info
I/rmt_storage( 222): unblock rmt_storage client thread
D/QMI_FW ( 222): QCSI: QMI_CSI_RX: cntl_flag - 00, txn_id - 0001, msg_id - 000
3, msg_len - 002b
D/QMI_FW ( 222): QCSI: xport_handle_event[13]
I/rmt_storage( 222): rmt_storage fop(1): bytes transferred = 3145216
I/rmt_storage( 222): rmt_storage fop(1): bytes transferred = 512
D/QMI_FW ( 222): QCSI: QMI_CSI_TX: cntl_flag - 02, txn_id - 0001, msg_id - 000
3, msg_len - 0007
D/QMI_FW ( 222): QCSI: Sent[13]: 14 bytes to port 3072
D/QMI_FW ( 222): QCSI: Received REMOVE_CLIENT cmd for 00000000:0000000c

This is while trying to boot up a built otapackage.
[Android] cdesai:
Remove stagefright from the header path

Post a full log on pastebin

Also, upload your sources to github if you can

Sent from my GT-P1000
[Android] djsubtronic:
Ok I will do one when I can get onto a terminal later as I have restored my phone for now.

I use sources from interviligium's github for htc ville. I am not too familiar with setting one up myself but that one is where I get all my files from.
[Android] Drgravy:
I get this error I cant seem to fix any ideas

Thanks

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
host C: emulator-libqemu <= external/qemu/distrib/jpeg-6b/jccoefct.c
host C: emulator-libqemu <= external/qemu/distrib/jpeg-6b/jccolor.c
make: *** [out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
external/qemu/distrib/jpeg-6b/jccolor.c: In function 'null_convert':
external/qemu/distrib/jpeg-6b/jccolor.c:479:1: warning: label 'SLOW' defined but not used [-Wunused-label]

and here is the rest of my terminal

http://pastebin.com/ttUGsUKp
[Android] nerotNS:
Hi so i got this error and i tried searching about it but no luck can someone help me out?

Which would you like? [full-eng] 7
build/core/config.mk:150: no file name for `include'
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
make: *** No rule to make target `dumpvar-TARGET_DEVICE'. Stop.

** Don't have a product spec for: 'cm_pecan'
** Do you have the right repo manifest?
[CODE]

[/CODE]
[Android] Joey1.0:
Can I get help with the following. -trying to build CM10 for Maguro

http://pastebin.com/9SQFZ9iX

find: `src': No such file or directory
build/core/Makefile:38: warning: overriding commands for target `out/target/product/maguro/system/etc/mkshrc'
build/core/base_rules.mk:529: warning: ignoring old commands for target `out/target/product/maguro/system/etc/mkshrc'
PRODUCT_COPY_FILES device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.
No private recovery resources for TARGET_DEVICE maguro
build/core/tasks/vendor_module_check.mk:45: *** Error: Product "cm_maguro" can not have overlay in vendor tree: vendor/cm/overlay/dictionaries vendor/cm/overlay/common. Stop.
[Android] lithid-cm:
I use maguro as well. Go to full_maguro.mk and turn

PRODUCT_RESTRICT_VENDOR_FILES := true

to False. The issue is jellybean has a toggle now for restricting vendor files.
[Android] championswimmer:
we could use master instead of jb-dev?

i guess as of now both trees will receive the same updates... ?
[Android] cdesai:
No.

jb-dev would not get major updates (e.g. master was already using the 4.6 toolchain), and master will be kept updated forever.
[Android] podanimesh:
what will be the size of master will it be same as jb-dev..
[Android] LucusFocus:
Excellent Tutorial!
[Android] sthomas38:
Thank you very much for this tutorial!

But I'm running into some errors at the beggining of the build. I've properly synced Google source and my device source tree (located at /device/samsung/galaxysmtd) and successfully extracted proprietary files.

. build/envsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/moto/wingray/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh
including device/samsung/galaxysmtd/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including sdk/bash_completion/adb.bash
thomas@ubuntu:/media/f7edc69b-5e4e-cd01-d0ec-c69b5e4ecd01/Android/jbsource$ lunch

You're building on Linux

Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_grouper-userdebug
5. mini_armv7a_neon-userdebug
6. mini_armv7a-userdebug
7. full_wingray-userdebug
8. full_crespo-userdebug
9. full_galaxysmtd-eng
10. full_maguro-userdebug
11. full_panda-userdebug

Which would you like? [full-eng] full_galaxysmtd-eng

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=full_galaxysmtd
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-25-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================

thomas@ubuntu:/media/f7edc69b-5e4e-cd01-d0ec-c69b5e4ecd01/Android/jbsource$ make -j2 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=full_galaxysmtd
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-25-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
find: "src": No such file or directory.
build/core/base_rules.mk:171: *** system/extras/ext4_utils: MODULE.TARGET.EXECUTABLES.setup_fs already defined by device/samsung/galaxysmtd. Stop.

I hope it's not because I'm running 12.04... I've successfully compiled CM9 without issue :).