View Single Post
  #157 (permalink)  
Old 04-21-2011, 01:27 PM
cmajewsk's Avatar
cmajewsk
VIP Member
Offline
Location: Abu Dhabi, UAE
 
Join Date: Oct 2006
Posts: 1,267
Reputation: 2990
cmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIPcmajewsk is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

You state the folder structure should be:

Since the modules are now applied through androidupdate.tgz, you will need to make a directory structure in ~/android to look like this:

~/android
|--- androidupdate
|--- data
|--- system
|--- lib
|--- modules

Does that mean they are on the root of '/android'? Because you go on to note," put under /androidupdate/system/lib/modules". So are they inside each other like .android/andriodupdate/data/system...etc..? Plus I seem to already have a 'modules' folder under '/android'.

Also does it matter where you extract squashfs tools? Cause when I ran MAKE I received the following output:

cmajewski@cmlan-linux:~/squashfs3.4$ cd ~/squashfs3.4/squashfs-tools
cmajewski@cmlan-linux:~/squashfs3.4/squashfs-tools$ make
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -c -o mksquashfs.o mksquashfs.c
mksquashfs.c:39: fatal error: zlib.h: No such file or directory
compilation terminated.
make: *** [mksquashfs.o] Error 1

Any suggestions?

Thanks for all your help on this, you've done an amazing job!

Last edited by cmajewsk; 04-21-2011 at 01:57 PM.
Reply With Quote