yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] sooorajjj:
Hey guys

iam trying to compile kernel from source here is the source link

i get this error

AS arch/arm/kernel/debug.o
CC arch/arm/kernel/early_printk.o
LD arch/arm/kernel/built-in.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds
CC arch/arm/mm/dma-mapping.o
arch/arm/mm/dma-mapping.c: In function '__dma_alloc_remap':
arch/arm/mm/dma-mapping.c:229:25: warning: array subscript is above array bounds [-Warray-bounds]
error, forbidden warning: dma-mapping.c:229
make[1]: *** [arch/arm/mm/dma-mapping.o] Error 1
make: *** [arch/arm/mm] Error 2
traeko@Sooraj:~/Desktop/slimkat/kernel/lge/e400$

i have attached dma-mapping.c

so someone can comment out this error for me

bcs iam not good with c/c++ :(

error in 25-229 line which is 229

bit = fls(size - 1);
if (bit > SECTION_SHIFT)
bit = SECTION_SHIFT;
align = 1 << bit;

/*
* Allocate a virtual address in the consistent mapping region.
*/
c = arm_vmregion_alloc(&consistent_head, align, size,
gfp & ~(__GFP_DMA | __GFP_HIGHMEM));
if (c) {
pte_t *pte;
int idx = CONSISTENT_PTE_INDEX(c->vm_start);
u32 off = CONSISTENT_OFFSET(c->vm_start) & (PTRS_PER_PTE-1);

pte = consistent_pte[idx] + off;
c->vm_pages = page;

do {
BUG_ON(!pte_none(*pte));

set_pte_ext(pte, mk_pte(page, prot), 0);
page++;
pte++;
off++;
if (off >= PTRS_PER_PTE) {
off = 0;
pte = consistent_pte[++idx];
}
[Android Q&A, Help & Troubleshooting] Shmarkus:
try to use another version of toolchain: 4.4, 4.6, 4.8 see if the results differ
[Android Q&A, Help & Troubleshooting] sooorajjj:
thanks for reply Markus

it was not problem with gcc compiler i tried every possibilities

anyways at last got it fixed by adding respective errored lines in gcc-wrapper.py

For example if your error is

CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds
CC arch/arm/mm/dma-mapping.o
arch/arm/mm/dma-mapping.c: In function '__dma_alloc_remap':
arch/arm/mm/dma-mapping.c:229:25: warning: array subscript is above array bounds [-Warray-bounds]
error, forbidden warning: dma-mapping.c:229
make[1]: *** [arch/arm/mm/dma-mapping.o] Error 1
make: *** [arch/arm/mm] Error 2
traeko@Sooraj:~/Desktop/slimkat/kernel/lge/e400$

FIX

open gcc-wrapper.py in scripts folder

there u ill see

# Note that gcc uses unicode, which may depend on the locale. TODO:
# force LANG to be set to en_US.UTF-8 to get consistent warnings.

allowed_warnings = set([
"alignment.c:720",
"async.c:122",
"async.c:270",
"dir.c:43",
"dm.c:1053",
"dm.c:1080",
"dm-table.c:1120",
"dm-table.c:1126",
"drm_edid.c:1303",
"eventpoll.c:1143",
"f_mass_storage.c:3368",
"inode.c:72",
"inode.c:73",
"inode.c:74",
"msm_sdcc.c:126",
"msm_sdcc.c:128",
"nf_conntrack_netlink.c:790",
"nf_nat_standalone.c:118",
"return_address.c:61",
"soc-core.c:1719",
"xt_log.h:50",
"dma-mapping.c:229" ,
])

# Capture the name of the object file, can find it.
ofile = None

simply add the line there which is giving error

note : u must add "," at the end of line most important

another error which can be fixed similar way

CC mm/maccess.o
CC mm/page_alloc.o
mm/page_alloc.c: In function 'set_migratetype_isolate':
mm/page_alloc.c:5440:6: warning: variable 'zone_idx' set but not used [-Wunused-but-set-variable]
error, forbidden warning: page_alloc.c:5440
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2
traeko@Sooraj:~/Desktop/slimkat/kernel/lge/e400$

FIX

add the sentence to gcc-wrapper.py which is giving error in this case page_alloc.c:5440

in gcc-wrapper.py

allowed_warnings = set([
"alignment.c:720",
"async.c:122",
"async.c:270",
"dir.c:43",
"dm.c:1053",
"dm.c:1080",
"dm-table.c:1120",
"dm-table.c:1126",
"drm_edid.c:1303",
"eventpoll.c:1143",
"f_mass_storage.c:3368",
"inode.c:72",
"inode.c:73",
"inode.c:74",
"msm_sdcc.c:126",
"msm_sdcc.c:128",
"nf_conntrack_netlink.c:790",
"nf_nat_standalone.c:118",
"return_address.c:61",
"soc-core.c:1719",
"xt_log.h:50",
"dma-mapping.c:229" ,
"dma-mapping.c:275" ,
"alignment.c:298" ,
"smd.c:2473" ,
"smd_rpcrouter_device.c:419" ,
"adsp.c:394" ,
"audpp.c:372" ,
"audio_voicememo.c:383" ,
"rpc_server_misc.c:558" ,
"LG_rapi_client.c:929" ,
"LG_rapi_client.c:921" ,
"LG_rapi_client.c:1194" ,
"LG_rapi_client.c:1242" ,
"LG_rapi_client.c:1289" ,
"swab.h:36" ,
"lg_diag_testmode.c:272" ,
"lg_diag_testmode.c:1025" ,
"lg_diag_testmode.c:1143" ,
"lg_diag_testmode.c:2714" ,
"lg_diag_dload.c:325" ,
"sched.c:8268" ,
"sched.c:8359" ,
"params.c:830" ,
"wakelock.c:137" ,
"fbearlysuspend.c:45" ,
"module.c:1372" ,
"cgroup.c:718" ,
"page_alloc.c:5440" ,
])

Hope it helps :)
[Android Q&A, Help & Troubleshooting] IGGYVIP:
Update Needed

Fixed incomplete ? 64Bit (Will Update)

sudo apt-get install git-core gnupg flex bison gperf build-essential
sudo apt-get install zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs
sudo apt-get install x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z1-dev
sudo apt-get install libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown
sudo apt-get install libxml2-utils g++-multilib

Errors encountered :

Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'

Package lib32readline5-dev is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

However the following packages replace it:

lib32readline-gplv2-dev

where to get those :

E: Unable to locate package gcc-4.3-multilib

E: Couldn't find any package by regex 'gcc-4.3-multilib'

E: Unable to locate package g++-4.3-multilib

E: Couldn't find any package by regex 'g++-4.3-multilib' ??

would it be *-4.4-multilib ?

sudo apt-get install gcc-4.4-multilib g++-4.4-multilib

these are suggested

sudo apt-get install gcc-4.4-locales gcc-4.4-doc libstdc++6-4.4-dbg lib32stdc++6-4.4-dbg libmudflap0-4.4-dev libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 lib32mudflap0 libstdc++6-4.4-doc

Will this setup allow to build any android ? I.E. ics jb kk ?
[Android Q&A, Help & Troubleshooting] sooorajjj:
try updale 1st

sudo apt-get install update

then try to set up environment

hope it wrks ;)
[Android Q&A, Help & Troubleshooting] lols21.10:
i am getting this error

Notice file: system/extras/ext4_utils/NOTICE -- /home/himanshu/cm11/out/target/product/delos3geur/obj/NOTICE_FILES/src//system/bin/setup_fs.txt
Import includes file: /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/sftp_intermediates/import_includes
Export includes file: external/openssh/Android.mk -- /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/sftp_intermediates/export_includes
Import includes file: /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/showlease_intermediates/import_includes
Export includes file: external/dhcpcd/Android.mk -- /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/showlease_intermediates/export_includes
Notice file: external/dhcpcd/NOTICE -- /home/himanshu/cm11/out/target/product/delos3geur/obj/NOTICE_FILES/src//system/bin/showlease.txt
Import includes file: /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/ssh_intermediates/import_includes
Export includes file: external/openssh/Android.mk -- /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/ssh_intermediates/export_includes
Import includes file: /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/ssh-keygen_intermediates/import_includes
Export includes file: external/openssh/Android.mk -- /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/ssh-keygen_intermediates/export_includes
Import includes file: /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/sshd_intermediates/import_includes
Export includes file: external/openssh/Android.mk -- /home/himanshu/cm11/out/target/product/delos3geur/obj/EXECUTABLES/sshd_intermediates/export_includes
Symlink: /home/himanshu/cm11/out/target/product/delos3geur/system/bin/su -> /system/xbin/su
Export includes file: frameworks/native/services/surfaceflinger/Android.mk -- /home/himanshu/cm11/out/target/product/delos3geur/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/export_includes
make: *** No rule to make target `/home/himanshu/cm11/out/target/product/delos3geur/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes', needed by `/home/himanshu/cm11/out/target/product/delos3geur/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....

no solution is working :(:(:(
[Android Q&A, Help & Troubleshooting] aweosomeabhijeet:
I did build CM9 successfully for my device. But now it doesn't go past bootanimation.

Any suggestions?
[Android Q&A, Help & Troubleshooting] Nekator:
Try to get a log. Otherwise it is nearly inpossible to figure out the problem.

Gesendet von meinem Nexus 4 mit Tapatalk
[Android Q&A, Help & Troubleshooting] aweosomeabhijeet:
Thanks.

Any way to keep adb working even after wiping data?
[Android Q&A, Help & Troubleshooting] hhp_211:
Samsung fascinate sch-i500

AOSPA_Legacy https://github.com/AOSPA-legacy

well trying to run a PA build and came up with this error,,,

WARNING: device/samsung/fascinatemtd/pa.dependencies file not found

I did some searching and made this below named it

pa.dependencies

I tried this a few different ways, without much luck

[
{
"remote": "github",
"repository": "TeamRegular/android_device_samsung_aries-common",
"target_path": "device/samsung/aries-common"
"revision": "cm-11.0"
},
{
"remote": "github",
"repository": "hhp211/samsung_kernel_aries",
"target_path": "kernel/samsung/aries"
"revision": "cm-11.0"
},
{
"remote": "github",
"repository": "TeamRegular/android_device_samsung_fascinatemtd",
"target_path": "device/samsung/fascinatemtd"
"revision": "cm-11.0"
},
{
"remote": "github",
"repository": "omnirom/android_hardware_samsung",
"target_path": "hardware/samsung"
"revision": "android-4.4"
},
{
"remote": "github",
"repository": "hhp211/android_vendor_samsung_fascinatemtd",
"target_path": "vendor/samsung"
"revision": "kitkat"
}
]

----------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------

Now after a repo sync ,

I get this error::

and I am kind of stuck...

----------------------------------------------------------------------------------------

Traceback (most recent call last):

File "build/tools/roomservice.py", line 295, in <module>

fetch_dependencies(device)

File "build/tools/roomservice.py", line 250, in fetch_dependencies

dependencies = parse_dependency_file(location)

File "build/tools/roomservice.py", line 216, in parse_dependency_file

raise Exception("ERROR: malformed dependency file")

Exception: ERROR: malformed dependency file

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

** Do you have the right repo manifest?

----------------------------------------------------------------------------------------

I also may have wanted to type some more info, but I have to head out and I wanted to at least get this up to see if anyone knows about it..

Thanks!

.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Hmu on hangouts in a few hours
[Android Q&A, Help & Troubleshooting] speed_bot:
try once after make clean..its a compiler dependency afaik.else use prebuilt libwebcore
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
I've tried make clean but it still didn't work, if its a compiler dependency then I might use a more up to date version like 4.8.x. How do I use a prebuilt libwebcore? Can I just extract the libwebcore.so file from an existing 4.2.2 ROM? Thanks for your help :)
[Android Q&A, Help & Troubleshooting] speed_bot:
yeah you can use prebuilt libwebcore by adding it in your boardconfig ..search around for the excat line... you will get it ..
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
Awesome :) I've done it a messy way right now by removing the external/webkit folder and adding the libwebcore.so file from an existing CM10.1 ROM to the final zip, but at least it compiles now! :D I'll thank you tomorrow, I've reached my limit for today.

EDIT: [MENTION=4445428]speed_bot[/MENTION] it won't boot now, the screen comes on and off momentarily after the splash image. I can't get a logcat for some reason, my terminal just says "waiting for device" and my logcat.txt is empty. What could be going wrong?
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
[MENTION=4445428]speed_bot[/MENTION] I'm trying to compile AOSP 4.2 now, I get this error: http://pastebin.com/ATKbR5U9 it should work fine because it's from official unofficial CM sources (I mean, Vision isn't supported by CM but it's supported by Andromadus and should compile fine). It's similar to the one before, but do you have any ideas still? Thanks

EDIT a make clean bizarrely fixed the problem
[Android Q&A, Help & Troubleshooting] speed_bot:
if your build environment set up properly?
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
Yeah, a make clean fixed it. Can I suggest that you put in the OP that most obj/lib/SHARED_LIBRARY errors can be fixed with a make clean?
[Android Q&A, Help & Troubleshooting] speed_bot:
sure
[Android Q&A, Help & Troubleshooting] hhp_211:
well I think I have gotten past my previous errors...

Its trying to build now, but it came up with this error about the Kernel...

build/tools/post_process_props.py /home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/root/default.prop
Target ram disk: /home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/ramdisk.img
make: Circular /home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/boot.img <- /home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/kernel dependency dropped.
make: Circular /home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/boot.img <- /home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/kernel dependency dropped.
Boot image: /home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/boot.img
acp: file '/home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/kernel' does not exist
make: *** [/home/hhp211/Source/AOSPA/out/target/product/fascinatemtd/boot.img] Error 1
hhp211@hhp211-Q500A:~/Source/AOSPA$
[Android Q&A, Help & Troubleshooting] speed_bot:
define kernel source or use prebuilt kernel
[Android Q&A, Help & Troubleshooting] hhp_211:
Thanks,

,,,wait for it,,,

were do i need to define it at?

:o

from where i've looked and searched it's not obvious to me :o
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
Am I right in thinking that you need to add the line:

TARGET_KERNEL_SOURCE := kernel/<devicemanufacturer>/<kernelsource>

To your /device/<devicemanufacturer>/<devicename>/BoardConfig.mk file?

E.g. for me it's

TARGET_KERNEL_SOURCE := kernel/htc/msm7x30-3.0

in my /device/htc/vision/BoardConfig.mk file for my HTC Vision. Try it and see
[Android Q&A, Help & Troubleshooting] hhp_211:
[MENTION=4445428]speed_bot[/MENTION]

Thanks this is there in mine already though...

/device/samsung/fascinatemtd/BoardConfig.mk

# Kernel Config

TARGET_KERNEL_SOURCE := kernel/samsung/aries

TARGET_KERNEL_CONFIG := cyanogenmod_fascinatemtd_defconfig
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Make sure kernel/samsung/aries exists
[Android Q&A, Help & Troubleshooting] hhp_211:
it does....

.
[Android Q&A, Help & Troubleshooting] androidGuillaume:
[/COLOR]

Hi, and sorry for my late reply. It looks like you have the wrong Java SDK installed on your machine. You must have the original Java SDK 6 from Oracle installed.

See the official android web site (Initializing the build environment) for more information on the JDK installation.

And since you were unable to compile, it is normal that you cannot run the emulator.

Hope this helps.

Guillaume
[Android Q&A, Help & Troubleshooting] speed_bot:
proivde log let me see whats derped
[Android Q&A, Help & Troubleshooting] hhp_211:
here is a folder with links to the build logs

https://drive.google.com/folderview?id=0B3AUH60sw6CYZ1hSZ1NHVkRhNWM&usp=sharing

aospa-build info --- log the original kernel error

build log 1-a -- this picks up where I tried a mka bootimage

build log 1-b -- back up with some help from unjust last night,, make installclean && rm -rf out/target/product/fascinatemtd/obj/KERNEL_OBJ/

and a make bootimage, produced the boot.img :)

build log 2 -- Finally building :fingers-crossed: ,, picks up from the "make -j8" with an "error: Resource" problems :crying: ,,, and attempted re-runs after trying to address those issues :crying:

build log 3 -- more foobars and errors,,, brings me up to where I'm currently at with the build... :eek:
[Android Q&A, Help & Troubleshooting] forzaferrari0:
i got this error during building dirty unicorns fo desire hd

/home/android/du/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: /home/android/du/out/target/product/ace/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_pow.o): multiple definition of 'pow'
/home/android/du/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: /home/android/du/out/target/product/ace/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_pow.o): previous definition here
collect2: error: ld returned 1 exit status
make: *** [/home/android/du/out/target/product/ace/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so] Error 1
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
make[1]: Leaving directory `/home/android/du/kernel/htc/ace'

it's came out after the execution of the repo sync command,before i've successfully finished the build

Anyone can help me?
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
You probably need to make clean and start over, that's the only way I ever fixed those STATIC_LIBRARIES and SHARDE_LIBRARIES errors
[Android Q&A, Help & Troubleshooting] forzaferrari0:
i tried it but the error is still here

thanks for the quick reply

other tips?
[Android Q&A, Help & Troubleshooting] maniknarang:
Hello,

I am building cm11 for HTC Desire C...I am getting the following error:(LINE 370)

http://pastebin.com/3HgcSZfX

Please Help:)
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Hello, I am building for the Micromax A110 and I got this error:

Brunch:command not found
[Android Q&A, Help & Troubleshooting] HTCDreamOn:
do lunch instead, pick yourdevice-userdebug, then make; I assume you've already run source build/envsetup.sh?
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Yes.I'll try.
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
I got this error while building cm11 for unsupported device Micromax A110.

including vendor/cm/vendorsetup.sh

device/micromax/a110/device_a110.mk:104: *** commands commence before first target. Stop.

Device a110 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Traceback (most recent call last):

File "build/tools/roomservice.py", line 76, in <module>

result = json.loads(urllib.request.urlopen(githubreq).read().decode())

File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen

return _opener.open(url, data, timeout)

File "/usr/lib/python2.7/urllib2.py", line 410, in open

response = meth(req, response)

File "/usr/lib/python2.7/urllib2.py", line 523, in http_response

'http', request, response, code, msg, hdrs)

File "/usr/lib/python2.7/urllib2.py", line 448, in error

return self._call_chain(*args)

File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain

result = func(*args)

File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default

raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

urllib2.HTTPError: HTTP Error 403: Forbidden

device/micromax/a110/device_a110.mk:104: *** commands commence before first target. Stop.

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

** Do you have the right repo manifest?
[Android Q&A, Help & Troubleshooting] speed_bot:
You could import it on eclipse then build it..
[Android Q&A, Help & Troubleshooting] cbucz24:
lol, sorry...it really didnt give me much more. But on a side note, i think ive deduced part of the problem but i may be wrong. im still learning.

Like i had stated before, the device files, etc ive pulled from a user who is building at 4.2...and i wasnt sure how well this would play overall with 4.1 like most of pacman was setup...

well to answer my own question, it hasnt played well. Ive been going thru errors one after another. So on my next effort, i am attempting to update my main info from my manifest.

github is down yet again...so it will be a few before i can try a full sync and building again...ughh:silly:

is any of this right?? am i going in the right direction?

my manifest.xml was looking for

<default remote="github"
revision="refs/heads/jellybean"
sync-c="true"
sync-j="4" />

but it looks like thats all been switched to

<default remote="github"
revision="refs/heads/cm-10.1"
sync-c="true"
sync-j="4" />

---------- Post added at 02:16 PM ---------- Previous post was at 01:20 PM ----------

Building only an individual program or module
If you use build/envsetup.sh, you can use some of the defined functions to build only a part of the tree. Use the 'mm' or 'mmm' commands to do this.
The 'mm' command makes stuff in the current directory (and sub-directories, I believe). With the 'mmm' command, you specify a directory or list of directories, and it builds those.
To install your changes, do 'make snod' from the top of tree. 'make snod' builds a new system image from current binaries.

here is another option to make just parts of the build. this would be if you dont want to use another program like eclipse. just figure i would throw in my .001
[Android Q&A, Help & Troubleshooting] mikshepard:
Thanks for the help, I pulled the libacdbloader.so from my phone and put in the folder you mentioned. That got me past that error but I now have a new one;

host C: libmincrypt <= system/core/libmincrypt/sha.c
system/core/libmincrypt/sha.c: In function 'SHA_update':
system/core/libmincrypt/sha.c:153:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/root/cm10/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/root/cm10/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/rsa.o] Error 1
make: *** Waiting for unfinished jobs....
/root/cm10/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/root/cm10/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/sha.o] Error 1

Seems it's now having problems with libz.so.1 , before I pull more files to put in manually. I'm wondering if I'm missing something in my local_manifest.xml? Here's the contents:

<manifest>
<project name="CyanogenMod/android_device_htc_jewel" path="device/htc/jewel" remote="github" revision="jellybean"/>
<project name="CyanogenMod/android_device_htc_msm8960-common" path="device/htc/msm8960-common" remote="github" revision="jellybean"/>
<project name="CyanogenMod/android_kernel_htc_msm8960" path="kernel/htc/msm8960" remote="github" revision="jellybean"/>
</manifest>

Any ideas or suggestions would be much appreciated, this forum is a great help resource for this.

-Mike

EDIT: I'm building on a 64 bit debian weezy system, for my HTC Evo LTE (Jewel) using the msm8960 kernel base for my device, trying to following the CM10 repos for my source. Let me know if more info is required. Thanks again
[Android Q&A, Help & Troubleshooting] DNRDustin:
I have ~/android/vendor/lge/ms840/proprietary, BoardConfigVendor.mk, ms840-vendor.mk, ms840-VendorBlbs.mk

and ~/android/system/vendor/cm/config, overlay, prebuilt, proprietary, tools, CHANGELOG.mkdn, CONTRIBUTORS.mkdn, get-prebuilts, jenkins-build-targets, LICENSE, README.mkdn, vendor-setup.sh
[Android Q&A, Help & Troubleshooting] ktempleton:
Sorry i forgot put it in Jenkins build targets