yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] ngoralph:
anyone else face this problem??

Export includes file: frameworks/av/drm/libdrmframework/Android.mk -- /home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libdrmframework_intermediates/export_includes
make: *** No rule to make target `/home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes', needed by `/home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libstagefright_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/icu4c/i18n/Android.mk -- /home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libicui18n_intermediates/export_includes

and... anyone knows how to fix it??

EDIT:

another one

target arm C: libspeexresampler <= external/speex/libspeex/resample.c
make: *** No rule to make target `/home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes', needed by `/home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libstagefright_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
external/speex/libspeex/resample.c: In function 'update_filter':
external/speex/libspeex/resample.c:605:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c:686:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c:694:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c:697:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c:704:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c: In function 'speex_resampler_process_int':
external/speex/libspeex/resample.c:870:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c:873:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c: In function 'speex_resampler_process_float':
external/speex/libspeex/resample.c:926:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c:933:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/speex/libspeex/resample.c:943:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ralph@ralph-H61H2-M2 ~/MiniCM10/android/system $
[Android Q&A, Help & Troubleshooting] ilbarone87:
hello, i get this error during the repo,

curl: (22) The requested URL returned error: 404 Server does not provide clone.bundle; ignoring.

How can i fix this?

i've achieved to finish the all repository, but i saw some of these errors during the dl, and maybe it losts something.
[Android Q&A, Help & Troubleshooting] speed_bot:
nothing to worry move on
[Android Q&A, Help & Troubleshooting] ilbarone87:
ok, thank you
[Android Q&A, Help & Troubleshooting] obsolete1:
great idea for a thread (just found at random)

well on to my problem

device: otter2 (aka KindleFire 2)

device tree: https://github.com/KFire-Android

build: aokp

I can get CM10.1 to build just fine but am having trouble with AOKP

the pastebin

http://pastebin.com/Q7nk3dNc

Thanks in advance
[Android Q&A, Help & Troubleshooting] speed_bot:
disable hwcomposer..
[Android Q&A, Help & Troubleshooting] speed_bot:
this has been answered before ..just search the thread you will get it..
[Android Q&A, Help & Troubleshooting] obsolete1:
may sound silly but how? just by renaming it? I assume its called but I'm a little rusty on my programming

EDIT:

commented it out in the Android.mk file
[Android Q&A, Help & Troubleshooting] speed_bot:
compile as root
[Android Q&A, Help & Troubleshooting] speed_bot:
just for educational purpose wrong overlays are used hence this error..
[Android Q&A, Help & Troubleshooting] cj360:
Slowly making progress on 4.2.2, wondering if anyone has come across this error and knows of a fix?

Export includes file: external/oprofile/libutil/Android.mk -- /home/andrew/xylon/out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_util_intermediates/export_includes
make: *** No rule to make target `/home/andrew/xylon/out/host/linux-x86/obj/STATIC_LIBRARIES/libbfd_intermediates/export_includes', needed by `/home/andrew/xylon/out/host/linux-x86/obj/EXECUTABLES/opannotate_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[Android Q&A, Help & Troubleshooting] speed_bot:
again already answered .thats an empty file you could create an empty file and rename it
[Android Q&A, Help & Troubleshooting] ngoralph:
libstagefright

target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ACodec.cpp
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
In file included from frameworks/av/media/libstagefright/ACodec.cpp:44:0:
./hardware/qcom/display/libqdutils/qcom_ui.h:43:38: error: 'hwc_display_contents_1_t' does not name a type
./hardware/qcom/display/libqdutils/qcom_ui.h:43:64: error: ISO C++ forbids declaration of 'list' with no type [-fpermissive]
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/AMRExtractor.cpp
make: *** [/home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.o] Error 1
make: *** Waiting for unfinished jobs....

sir can you help me with this?
[Android Q&A, Help & Troubleshooting] speed_bot:
use the caf hardware..this is becasue of higher api..
[Android Q&A, Help & Troubleshooting] ngoralph:
ummm... where can i find it??
[Android Q&A, Help & Troubleshooting] speed_bot:
www.codeaurorforum.org contact any dev of ur forum ask him for patched display drivers
[Android Q&A, Help & Troubleshooting] speed_bot:
btw which device?
[Android Q&A, Help & Troubleshooting] ngoralph:
htc pico
[Android Q&A, Help & Troubleshooting] cj360:
Got further along,

make[1]: Entering directory `/home/andrew/xylon/kernel/semc/msm7x30'
host C: acp <= build/tools/acp/acp.c
host Executable: mkbootfs (/home/andrew/xylon/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host StaticLib: libhost (/home/andrew/xylon/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
cc1: error: unrecognized command line option ‘-mthumb-interwork’
make: *** [/home/andrew/xylon/out/target/product/zeusc/obj/lib/crtbegin_static1.o] Error 1

edited- got past it by commenting out libc_crt_target_cflags := -mthumb-interwork in bionic/libc. As well as moving __dso_handle.h from bionic/libc/private to bionic/libc/arch-arm/bionic.
[Android Q&A, Help & Troubleshooting] speed_bot:
if you dont mind join here

http://www.facebook.com/groups/Devs.HTC.Explorer/

and see the cm2pico github afaik pico's cm10 had patched stuff from lirokoa sakinda123 and derefas
[Android Q&A, Help & Troubleshooting] cj360:
So now my bionic is erroring out on flags that don't exist in there

target thumb C: libc_netbsd <= bionic/libc/upstream-netbsd/libc/gen/ftw.c
cc1: error: unrecognized command line option ‘-mfloat-abi=softfp’
cc1: error: unrecognized command line option ‘-mfpu=neon’
cc1: error: unrecognized command line option ‘-mthumb-interwork’
cc1: error: unrecognized command line option ‘-mthumb’
bionic/libc/bionic/ssp.c:1:0: error: bad value (armv7-a) for -march= switch
make: *** [/home/andrew/xylon/out/target/product/zeusc/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/bionic/ssp.o] Error 1
make: *** Waiting for unfinished jobs....
cc1: error: unrecognized command line option ‘-mfloat-abi=softfp’
cc1: error: unrecognized command line option ‘-mfpu=neon’
cc1: error: unrecognized command line option ‘-mthumb-interwork’
cc1: error: unrecognized command line option ‘-mthumb’
bionic/libc/upstream-netbsd/libc/compat-43/creat.c:1:0: error: bad value (armv7-a) for -march= switch
make: *** [/home/andrew/xylon/out/target/product/zeusc/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/upstream-netbsd/libc/compat-43/creat.o] Error 1
cc1: error: unrecognized command line option ‘-mfloat-abi=softfp’
cc1: error: unrecognized command line option ‘-mfpu=neon’
cc1: error: unrecognized command line option ‘-mthumb-interwork’
cc1: error: unrecognized command line option ‘-mthumb’
bionic/libc/upstream-netbsd/libc/gen/ftw.c:1:0: error: bad value (armv7-a) for -march= switch
make: *** [/home/andrew/xylon/out/target/product/zeusc/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/upstream-netbsd/libc/gen/ftw.o] Error 1
make: *** wait: No child processes. Stop.

I've looked with grep inside the whole bionic dir for the -m options above and they're not there.
[Android Q&A, Help & Troubleshooting] Jimmy422:
I'm currently working on building CM10.1 for my Samsung Galaxy Reverb. It's building just fine, but the framework folder in the built rom is empty and none of the custom libs in my vendor folder are being copied into the ROM either. What would cause this?

Here's my device repo: https://github.com/Jimmyk422/android_device_samsung_iconvmu

And the vendor: https://github.com/Jimmyk422/android_vendor_samsung_iconvmu
[Android Q&A, Help & Troubleshooting] Sushibagel:
Hi everyone I need some help! I posted about this in another thread but was asked to post here. I'm trying to build Pac-man for grouper. I was able to fumble my way through getting the build to complete but when I flashed the file I just got a black screen when I tried to boot and it also deleted my recovery. Any hello would be greatly appreciated. Thanks in advance.
[Android Q&A, Help & Troubleshooting] shimp208:
From what I can tell it sounds as if your missing critical binaries such as the Touch Panel (Display) binary which is likely why your getting the black screen. I would recommend downloading the Nexus 7 (Wifi) grouper binaries that corresponds to the version of Android you are compiling (For example if your building PacMan ROM based on Android 4.2 download the 4.2 version binaries) then placing them in the appropriate folder, usually the vendor folder. As far as recovery is concerned make sure that the ROM file you are flashing just includes META-INF and System folders, and Boot.img and not Recovery.img because if it includes Recovery.img it will overwrite your current recovery.
[Android Q&A, Help & Troubleshooting] Sushibagel:
I added the 4.2 grouper from the muppets (CM) vendor tree to my local manifest so shouldn't that include the binaries? I'm not at my computer at the moment but I will check for the boot.img to verify that. Thanks for the help

Edit: Confirmed no recovery.img. My ROM file just has (System, META-INF, boot.img)
[Android Q&A, Help & Troubleshooting] speed_bot:
first of all your device config has a differnet way of using vendors so just having the path and project added to the manifest wont help you.l.there gotta be a makefile which inlcudes the vendors...delete the current vendors..connect your phone via adb and cd into device/asus/grouper then copy the extract-files.sh script into the terminal hit enter then compile.
[Android Q&A, Help & Troubleshooting] ngoralph:
another one..

target thumb C++: libgui <= frameworks/native/libs/gui/SurfaceTexture.cpp
frameworks/native/libs/gui/SurfaceTexture.cpp:43:24: fatal error: gpuformats.h: No such file or directory
compilation terminated.
make: *** [/home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libgui_intermediates/SurfaceTexture.o] Error 1
make: *** Waiting for unfinished jobs....
warning: (MTD_MSM_NAND && MTD_DOC2000 && MTD_DOC2001 && MTD_DOC2001PLUS) selects MTD_NAND_IDS which has unmet direct dependencies (MTD && MTD_NAND)
warning: (MTD_MSM_NAND && MTD_DOC2000 && MTD_DOC2001 && MTD_DOC2001PLUS) selects MTD_NAND_IDS which has unmet direct dependencies (MTD && MTD_NAND)
#
# configuration written to .config
#
make[1]: Leaving directory `/home/ralph/MiniCM10/android/system/kernel/htc/pico'
[Android Q&A, Help & Troubleshooting] speed_bot:
read the error carefully mate

frameworks/native/libs/gui/SurfaceTexture.cpp:43:24: fatal error: gpuformats.h: No such file or directory
[Android Q&A, Help & Troubleshooting] ngoralph:
fixed the error already :)

thanks bro :)

target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ACodec.cpp
In file included from frameworks/native/include/utils/RefBase.h:27:0,
from frameworks/native/include/binder/IBinder.h:21,
from frameworks/native/include/binder/Binder.h:20,
from frameworks/native/include/binder/IInterface.h:21,
from frameworks/av/include/media/IOMX.h:21,
from frameworks/av/include/media/stagefright/ACodec.h:23,
from frameworks/av/media/libstagefright/ACodec.cpp:20:
frameworks/native/include/utils/StrongPointer.h: In destructor 'android::sp<T>::~sp() [with T = android::ACodec::FlushingOutputState]':
frameworks/av/media/libstagefright/ACodec.cpp:340:21: instantiated from here
frameworks/native/include/utils/StrongPointer.h:149:16: error: invalid use of incomplete type 'struct android::ACodec::FlushingOutputState'
frameworks/av/include/media/stagefright/ACodec.h:91:12: error: forward declaration of 'struct android::ACodec::FlushingOutputState'
make: *** [/home/ralph/MiniCM10/android/system/out/target/product/pico/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.o] Error 1
make: *** Waiting for unfinished jobs....

i went further this time..

about 15 mins without error

any idea about this?
[Android Q&A, Help & Troubleshooting] Sushibagel:
Okay, did this but now I keep getting stuck here http://pastie.org/6418911.
[Android Q&A, Help & Troubleshooting] speed_bot:
your release tool is deprecated
[Android Q&A, Help & Troubleshooting] Sushibagel:
Okay.... what exactly is my release tool and how do I update it? Is it the Android SDK? Java Version? I've googled it and found nothing.
[Android Q&A, Help & Troubleshooting] speed_bot:
its says a custom version is used use the stock ones
[Android Q&A, Help & Troubleshooting] mic213:
I been trying to build a PACMan Rom for the droid razr m. I managed to compile the ROM, but when I try it, it boots and gets stuck in a bootloop on the PACMan bootanimation. I attached a logcat. I'm not real sure where to go from here to get it working.
[Android Q&A, Help & Troubleshooting] mikshepard:
I'm having a problem trying to port a LiquidSmooth ROM over to my Jewel device. I keep getting hung up on this error when compiling:

In file included from /root/android/liquidsmooth/kernel/htc/msm8960/arch/arm/mach-msm/smd.c:43:0:
/root/android/liquidsmooth/kernel/htc/msm8960/arch/arm/mach-msm/smd.c: In function 'smsm_irq_handler':
/root/android/liquidsmooth/kernel/htc/msm8960/arch/arm/mach-msm/include/mach/restart.h:56:13: error: inlining failed in call to always_inline 'notify_modem_cache_flush_done': function body not available
/root/android/liquidsmooth/kernel/htc/msm8960/arch/arm/mach-msm/smd.c:2265:33: error: called from here
make[3]: *** [arch/arm/mach-msm/smd.o] Error 1
make[2]: *** [arch/arm/mach-msm] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/root/android/liquidsmooth/kernel/htc/msm8960'
make: *** [TARGET_KERNEL_BINARIES] Error 2

Any ideas on a fix for this?

Thanks for all the help in this forum, it's greatly appreciated.

-Mike
[Android Q&A, Help & Troubleshooting] Sushibagel:
Is it the release tools in the build/tool directory? Would I simply just delete the folder and add the ones straight from AOSP?
[Android Q&A, Help & Troubleshooting] Jimmy422:
I'm building my kernel and I get stopped at this:

make[1]: Leaving directory `/home/james/android/kernel/samsung/iconvmu'
make -C kernel/samsung/iconvmu/ O=/home/james/android/out/target/product/iconvmu/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/james/android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" headers_install
make[1]: Entering directory `/home/james/android/kernel/samsung/iconvmu'
build/tools/generate-notice-files.py /home/james/android/out/target/product/iconvmu/obj/NOTICE.txt /home/james/android/out/target/product/iconvmu/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" /home/james/android/out/target/product/iconvmu/obj/NOTICE_FILES/src
Combining NOTICE files into HTML
Combining NOTICE files into text
CHK include/linux/version.h
make[5]: *** No rule to make target `/home/james/android/kernel/samsung/iconvmu/include/linux/netfilter/xt_CONNSECMARK.h', needed by `/home/james/android/out/target/product/iconvmu/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop.
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [netfilter] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/james/android/kernel/samsung/iconvmu'
make: *** [/home/james/android/out/target/product/iconvmu/obj/KERNEL_OBJ/usr] Error 2

Any idea what's causing this?
[Android Q&A, Help & Troubleshooting] speed_bot:
use a prebuilt kernel why compile the kernel all over everytime..

put the flag in boardconfig and you are good to go.

it is you can use the aosp ones..its pretty weird why people have problems with releasetools

yes it is the last part where the flashable zip is made...do you mind sharing your fix in a more precise way so when others have this problem they should get a solution rather than seeing the problem got fixed with no proper fix.

see if the file exists

/home/james/android/kernel/samsung/iconvmu/include/linux/netfilter/xt_CONNSECMARK.h
[Android Q&A, Help & Troubleshooting] speed_bot:
for pacman you need to use the pac.sh not envsetup.sh
[Android Q&A, Help & Troubleshooting] obsolete1:
No problem....

file location: /build/core/MakeFile

section of code (approx line 1300):

$(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(DISTTOOLS)
@echo "Package OTA: $@"
$(OTA_FROM_TARGET_SCRIPT) -v \
-p $(HOST_OUT) \
-k $(KEY_CERT_PAIR) \
**> --no_assert=false \
--override_device=otter2 \
$(BUILT_TARGET_FILES_PACKAGE) $@

there is a call for the

--no_assert=false \

I just deleted the call from the above section, then the section that defines it a few lines above. I tried to comment them out but it did not work for me, so I just deleted them and the packaging finished up
[Android Q&A, Help & Troubleshooting] obsolete1:
Okay it booted...but I get a system ui failure.

I think I found the problem area in the logcat

http://pastebin.com/2RFfJkqt

Everything seems to work but the status bar. I've got softkeys on the bottom and wifi works but no status bar, just the annoyong SystemUI failure popup...
[Android Q&A, Help & Troubleshooting] djmatt604:
Sounds like missing overlay details... I had a similar problem compiling AOKP not long ago....

Sent from my 4.2.GSII
[Android Q&A, Help & Troubleshooting] obsolete1:
I had the same issue using two different overlays...one compile with aokps common_tablet overlay and one with one I put together. Which is why I went with the aokp overlay, I had thought I put something together wrong. I'll take a look under the hood and compile again thanks for a direction to look...
[Android Q&A, Help & Troubleshooting] speed_bot:
dont use common overlays use your dpis overlays
[Android Q&A, Help & Troubleshooting] cj360:
edit- wow I'm not sure if it was a goof I brought in from a bad repo sync or if it was one I made but the two lines in my device's make file were pointing to incorrect places.

device/semc/zeusc/prebuilt/bootrec-device:recovery/bootrec-device \
device/semc/zeusc/recovery.fstab:root/recovery.fstab

is what they should be. pfft :silly: Thanks for your help people! lol
[Android Q&A, Help & Troubleshooting] speed_bot:
Did that fix your problem??

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] speed_bot:
Try to building after make clean just a try because I don't see any buggy text out there..

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] srinath2912:
1.What happens when power is lost or internet is disconnected while downloading sources

2.I installed Ubuntu x64 side by windows.. what type of partation(ntfs or ext4) required for storing sources

Please help I am so interested in development....
[Android Q&A, Help & Troubleshooting] speed_bot:
You need sources in your home folder.. Ext4... When power goes off just do repo sync again.. Btw what's the size that you have dedicated to your Ubuntu.??

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] srinath2912:
I have free space more than 80Gb in ntfs format. I installed Ubuntu, it taken 10gb ext4 and 500mb swap default by its own.

1.How ext4 space is required for 1 build(jb source) ?

2. can I partation the disk and increase the space? Ans how much u recommend bro for ext4 and swap

Thanks bro I will resume my stopped development because of ur thread support... :)
[Android Q&A, Help & Troubleshooting] speed_bot:
You need atleast 50gb of ext 4 for jb

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] srinath2912:
And what about swap
[Android Q&A, Help & Troubleshooting] speed_bot:
What's your rig specs??

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] srinath2912:
2.7ghz dual core 4gb ram 1Tb hdd
[Android Q&A, Help & Troubleshooting] speed_bot:
You don't need swap then.. If you still want it 2gb would be enough

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] speed_bot:
You have done a wubi install or a normal dual boot.??

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] srinath2912:
Wubi install
[Android Q&A, Help & Troubleshooting] speed_bot:
Wubi can't go above 30gb so I would recommend you to switch to a normal install with sufficient space..

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] cybojenix:
what? I've had a 100gb wubi before. have they changed it now??
[Android Q&A, Help & Troubleshooting] speed_bot:
try hokking up wubi.exe the max by default now is 30gb ... to increase you need to do a lot of workaround..
[Android Q&A, Help & Troubleshooting] hashroot:
Yup...wubi is limited to 30gb...cant install beyond 30gb
[Android Q&A, Help & Troubleshooting] srinath2912:
I am confused after Googling... while manually selecting partitions tell me

I have 160gb hdd with windows 7 and 500gb as gpt hdd

I like to install Ubuntu in my 500gb hdd which is divided into 3*150gb partition. In that 1st 150 gb partition is empty and to install Ubuntu there

1.how much root partition

2.how much home partition

3.how much swap

4.any other partition if I missed (mention it)

Waiting for ur reply and I will start partitioning that 150 gb volume....

Thanks in advance:confused:

---------- Post added at 10:51 PM ---------- Previous post was at 10:48 PM ----------

If I install Ubuntu and win7 in different hard disks as mentioned above will I have any booting problems?
[Android Q&A, Help & Troubleshooting] speed_bot:
ok remove wubi ...

i hope you have a empty drice ( c , d or e etc )

let your empty drive be drive c..

note down the size of drive c ...

download gparted burn it into a cd ...

boot from it ....

format the c drive to ext4 ( you won t see c , d etc in gparted it will appera as dev/sda1 , dev/sda2 ) compare the sizes and you will know which is drive c..

then boot from ubuntu cd then install it in the ext4 partition .. say no to swap ...

and the empty drive must be atleast 50gigs in size...
[Android Q&A, Help & Troubleshooting] DNRDustin:
Swap should be 1-2 times physical memory. But I'm doing 3 times on my netbook.
[Android Q&A, Help & Troubleshooting] speed_bot:
the products name should be unique and should match all dependencies
[Android Q&A, Help & Troubleshooting] linkscue:
Thanks a lot