Cactuar.net

How to run Debian natively on the Motorola Xoom

by on Jun.19, 2011, under Uncategorized

Hey all,

I’ve seen a lot of people running linux on their xoom and other android devices but chrooted under android and using a VNC client to make use of the chrooted install. quite messy and less than efficient IMHO, so I set out to install it natively on my Xoom

I’ve managed to get Debian installed on my Xoom with the only issues being no sound and no Bluetooth, this is due to the proprietary nature of the sound drivers for the Tegra, and the lack of documentation for the BCM4329 Bluetooth under linux. if anyone has any tips with these I’d love to hear them.

Anyway, since the Xoom is an android device with an unlockable bootloader from the factory this wasn’t too difficult. the only issues were with the TegraFB and Touchscreen drivers. Thankfully Lilstevie from GalaxyLinux helped me out with the touchscreen driver and Robert Morell from NVidia provided a patch to Chromium for the FB which is here http://codereview.chromium.org/6672056

(Todo: Add guide for using WIFI, upload prebuilt images)
(Update: Fixed the links)
(Update 14/2/12 Thanks to Thomas!)

 

Basically all you need to do is build a root fs and a kernel for your Debian install. this is actually quite easy. here’s how..

Contents:

  1. Requirements
  2. Building the RootFS
  3. Building the Kernel
  4. Preparing the SDCard
  5. Putting it all together
  6. Rolling back to Android
  7. Acknowledgements

 

Disclaimer

YOU DO THIS AT YOUR OWN RISK! I TAKE NO RESPONSIBILITY FOR ANY DAMAGES TO YOU, YOUR DEVICE,
YOUR COMPUTER, OR ANY OF YOUR PROPERTY OR SOMEONE ELSE’S PROPERTY

Requirements

 

Building the RootFS

Before we do anything we’ll need to get the Wifi Firmware off the default install of Android

To do this run the following commands

# adb pull /system/vendor/firmware/fw_bcm4329.bin
# adb pull /system/etc/wifi/bcm4329.cal

MAKE A BACKUP OF YOUR SDCARD AND YOUR XOOM USING CLOCKWORK RECOVERY BEFORE CONTINUING AND KEEP IT SOMEWHERE SAFE!

Now lets install the tools you’ll need to create the rootfs

# apt–get install binfmt–support qemu qemu–user–static debootstrap

Once that’s done, make a directory for the rootfs to sit in until it’s ready for the SDCard and start installing the debian base

# cd ~
# mkdir deb_arm
# mkdir deb_arm/boot
# sudo /usr/sbin/debootstrap ––foreign ––arch armel squeeze deb_arm/ \ http://ftp.au.debian.org/debian

Once that’s done you’ll need to copy across some qemu files so you can chroot into the deb_arm folder and finish the installation of the base system

# sudo cp /usr/bin/qemu–arm–static deb_arm/usr/bin
# sudo chroot deb_arm
# export LC_ALL=C
# export LANGUAGE=C
# export LANG=C
# cd /debootstrap
# ./debootstrap ––second–stage

once that’s done you’ll need to edit your apt sources, to do so run the following

# echo debandroid > /etc/hostname
# echo “deb http://ftp.debian.org/debian/ squeeze main contrib non–free” > /etc/apt/sources.list
# apt–get update

And then install any of the apps you’ll want to run on your xoom, I’d recommend at least xorg, gdm3 and gnome, so

# apt-get install xserver-xorg-video-fbdev xserver-xorg-input-evdev gdm3 gnome-session gnome-panel metacity gnome-terminal network-manager initramfs-tools wpasupplicant iceweasel network-manager-gnome

You may find that you get an error like the following

Errors were encountered while processing: bluez gnome–bluetooth gnome–user–share gnome–desktop–environment

If you do, it’s safe to ignore this for now. you can always complete the installation of any non–critical packages on the device. it seems to be something weird with the chroot or the qemu emulation of ARM (if anyone knows a way to fix this I’d be glad to hear it!)

Once that’s done, you’ll not only want to set your root password but you’ll want to add a standard user account too

# passwd root
# adduser liv2
# addgroup ––gid 3003 inet
# usermod –aG 3003 liv2

The addgroup and usermod are especially important, the android kernel doesn’t normally allow network access to non–root accounts. so we have to add the special group then give the user access to that group (or you could compile the kernel to not use the android paranoid network settings)

Clear up some space too

rm /var/cache/apt/archives/*.deb

Once that’s done, exit out of the chroot by hitting CTRL+D and copy the xorg config to deb_arm/etc/X11/ and copy in the wireless firmware you copied at the start

# mkdir ~/deb_arm/lib/firmware
# cp ~/fw_bcm4329.bin ~/deb_arm/lib/firmware
# cp ~/bcm4329.cal ~/deb_arm/lib/firmware

Building the Kernel

For this part, make sure you’ve extracted the kernel sources, and the android–ndk to somewhere, in my case they’ve been extracted in ~/Downloads

# cd ~/Downloads/Tiamat–AOSP–Tiamat–Xoom–798572c/
# export CROSS_COMPILE=~/Downloads/android–ndk–r5b/toolchains/arm–eabi–4.4.0/prebuilt/\
linux–x86/bin/arm–eabi–

# export ARCH=arm
# export INSTALL_PATH=~/deb_arm/boot
# export INSTALL_MOD_PATH=~/deb_arm
# make tiamat_defconfig
# make menuconfig

Once you’ve got the menuconfig screen up, go to Device Drivers > Character Devices > and enable “Virtual Terminal”
go to Device Drivers > Graphics Support > Console Display Driver support > enable “Framebuffer Console Support”

once you’ve enabled that, exit out and save the changes

Build the kernel and prepare it for use

# make –j2
# sudo -E make modules_install
# sudo cp arch/arm/boot/zImage ~/deb_arm/boot
# cp System.map ~/deb_arm/boot/
# chroot ~/deb_arm
# mkinitramfs –o /boot/initrd.img.gz `ls /lib/modules`

mkinitramfs may show some warnings like “warning: can’t open /etc/mtab:” and “pkg: version ‘2.6.36.4Tiamat_Xoom–v1.4.4–Full_Throttle’ has bad syntax: invalid character in version number” but it doesn’t seem to have caused any issues for me.

Preparing the SDCard

Plug your SDCard reader into your computer and insert the card, you’ll then need to partition and format it so make sure you’ve backed up the content of the card.

Partition it so you have two partitions, the first one being a FAT32 Partition for CWR and for anything you might want to use it for under Android.

Your second partition will need to be EXT3 and big enough to fit your debian install with some room to breathe (about 4GB in my case), you can check how much space you’ll need for this by running du -sh ~/deb_arm

Once you’ve partitioned it, format the first partition as FAT32 and the second partition as EXT3. once you’ve done that you should put the SDCard back in your Xoom and make a new nandroid backup just to be sure

# sudo mkfs.ext3 /dev/sdb2
# sudo mkfs.msdos /dev/sdb1

Putting it all together

First we’ll mount the SDCard on your PC and copy across the Root FS

# sudo mkdir /mnt/sdcard
# sudo mount /dev/sdb2 /mnt/sdcard
# sudo cp -arv ~/deb_arm/* /mnt/sdcard/
# umount /mnt/sdcard

Go to the folder you unpacked mkbootimg to  and copy in the boot.img from your CWR backup.

Once you’ve done that, follow the below steps to create the new boot.img for Debian to use

# cd ~/Downloads/mkbootimg
# cp ~/deb_arm/boot/zImage .
# cp ~/deb_arm/boot/initrd.img.gz .
# mkdir out
# ./unpackbootimg –i boot.img –o out/
# ./mkbootimg ––kernel zImage ––ramdisk initrd.img.gz ––base “`cat out/boot.img–base`” \
––cmdline “root=/dev/mmcblk0p2 console=tty0” –o newimg.img

Now reboot your Xoom into Fastboot mode and insert the SDCard, this can be done by holding power + volume up until the screen goes black, then power it back on and hold down the volume down key

# cp ~/Downloads/fastboot .
# ./fastboot flash boot newimg.img
# ./fastboot reboot

Your Xoom should now boot up into Debian, on the login screen select the accessibility options and enable on-screen keyboard to log in.
Alternatively, if you happen to have a USB-OTG adapter you can just use a keyboard and mouse to interact with the system.

Going Back to Android

To Roll back to Android, simply boot into Clockwork Recovery, go to Backup/Restore > Advanced Restore and restore boot.img only, reboot and you’ll be back in Android

 

Acknowledgements

Lopi from the IX Project was a great help, and so was everyone from #IX
Lilstevie from @GalaxyLinux provided the Touchscreen patches
Framebuffer Patch was originally provided by Robert Morell for the Chromium Project
RootFS instructions are based on info at the Debian Wiki

 

 

:, , , ,

50 Comments for this entry

  • Root Doe

    Few issues with the instructions:

    1. Tiamat-AOSP patch is broken
    2. # cd ~/Downloads/Tiamat–AOSP–Tiamat–Xoom–798572c/
    # cp ~/Downloads/xoomkernel–gnu.patch .

    Why do I copy the xoomkernel-gnu.patch file into Tiamat-AOSP-* ?
    When I attempt to run the patch it fails.

    3. There’s no make on my system so I manually have to get it via apt
    4. There’s no gcc on my system, same as above

    Do you have a complete set of steps to get this puppy built?

    Thanks!

  • LIV2

    I sorted this out with Root Doe, my links to the AOSP sources were incorrect, so it was impossible to build following this guide.

    Hopefully I’ll have the time to run through this guide again myself soon so i can fix any other issues with the guide there may be.

  • DiZzY

    How is the battery life on the one you have now? Can it run BT5? :)

  • DiZzY

    Btw, Great work!~ 3LiT3 Br0

  • LIV2

    Not sure on the battery life, though I’m betting it’s not good.

    Should be able to run any Linux Distro there is, as long as there are arm binaries for your distro you can build the rootfs and use it with this kernel.

  • Ouroboros

    Once you’ve booted into Debian can you put the Xoom’s wireless card in monitor mode?

  • LIV2

    Hi Ouroboros,

    Unfortunately not, it’s pretty hard to get the damn thing to connect to a network, or even successfully scan in the first place. :(

  • JeanSebTr

    Yayh ! Génial :)

    For the sound and bluetooth issues, shouldn’t be possible to use existing kernel/drivers for Android ?

    Do you think dual booting Android/Debian is technicaly possible ?
    Like an Android rom checking a flag on boot to load the Debian system or Android system (with the same kernel).

  • Ouroboros

    Have you tried to get a native copy of debian (or any other linux distro) using beagleboard?
    http://elinux.org/BeagleBoardUbuntu

    Seems interesting and worthy of investigation…

  • Justin

    getting a segmentation fault error on the last steps trying to unpack bootimg

  • lloyd

    hi ive just been given a xoom and reali want linux on it ive been trying for a week now and always get errors at some point atm its gnome any help would be great

  • LIV2

    Hey,

    What errors have you been getting?

  • lloyd

    ok so when installing apps i get

    Errors were encountered while processing:
    bluez
    gnome-bluetooth
    gnome-user-share
    gnome-desktop-environment
    gnome
    mono-gac
    mono-runtime
    libmono-corlib2.0-cil
    libglib2.0-cil
    libgconf2.0-cil
    libgmime2.4-cil
    libart2.0-cil
    libmono-cairo2.0-cil
    libgtk2.0-cil
    libglade2.0-cil
    libgnome-vfs2.0-cil
    libgnome2.24-cil
    libgnomepanel2.24-cil
    libmono-sharpzip2.84-cil
    libmono-addins0.2-cil
    libmono-addins-gui0.2-cil
    libndesk-dbus1.0-cil
    libndesk-dbus-glib1.0-cil
    tomboy
    libmono-i18n-west2.0-cil
    libmono-posix2.0-cil
    libmono-system2.0-cil
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • lloyd

    i have also tryed your boot.img from xda but get to large to be flashed

  • lloyd

    hmm looks like i might have to wait fro win 8 arm and hope its still got desktop on it :(

  • Thomas

    A very important think you should mention (took me many hours to figure out what was going wrong) is:
    sudo -E make modules_install

    You need the -E flag to preserve the INSTALL_MOD_PATH since most people will have different environment variables when using sudo.

  • LIV2

    Thanks Thomas! I’ll add it to the article :)

  • Igneo

    Hey, any pointers on how to build a kernel from what is supplied here and nvidia’s latest? They dropped the ventana (aka the tegra platform for the Xoom) and I’d like to pull together full functionality in the sound and Bluetooth department but don’t know how. I copied and pasted some folders together, compiled it, but I get stuck when I make the initramfs when it can’t throws several “can’t find lib/modules/2.6.35…” errors which isn’t even the kernel version. Any resources to push me in the right direction?

  • LIV2

    Hey Igneo,

    Unfortunately I haven’t been able to figure that out either, though I’m not too good with programming or anything like that
    Please let me know if you get anywhere with it though! I’d love to update the article :)

  • Erhan

    Hi,
    I compile Tiamat AOSP kernel (commit:798572cebf) and create root fs with debootstrap. After flashing new boot.img and power on Debian is correctly open but can not open X. I checked log file, I see following error message.

    (EE) open /dev/fb0: Device or resource busy

    Any idea ?

  • LIV2

    Hi Erhan,

    You’re getting that error because the Android kernel doesn’t allow your X server to take control of /dev/fb0
    To rectify this you’ll need to use the Framebuffer Patch I linked to in the article.

  • Erhan

    LIV2 thank you for quick response. I download patch set and I compile kernel again.
    I want to ask another question. is kernel support 3g modem on xoom ? can use 3g network with debian ?

  • LIV2

    Hi Erhan,

    Yep! the 3G Modem works out of the box, I literally just booted up my debian install and used the network settings to connect :)

  • Erhan

    I can not compile patched kernel :( I get following error :(

    drivers/video/tegra/dc/dc.c: In function ‘tegra_dc_suspend’:
    drivers/video/tegra/dc/dc.c:1339: error: implicit declaration of function ‘tegra_fb_suspend’
    make[4]: *** [drivers/video/tegra/dc/dc.o] Error 1
    make[3]: *** [drivers/video/tegra/dc] Error 2
    make[2]: *** [drivers/video/tegra] Error 2
    make[1]: *** [drivers/video] Error 2
    make: *** [drivers] Error 2

    Im so tired and very sleepy :( I try tomorrow.

    Thank you for everything.

  • LIV2

    If you don’t have any luck you can always use the kernel sources I’ve linked to, they may be a little old but that shouldn’t matter for the sake of debian on your tablet.

  • Erhan

    :) you use Tiamat–AOSP–Tiamat–Xoom–798572c source in this document. must I use this kernel or can I use your last committed LIV2 kernel ?
    When I use last committed kernel, tablet is crash on booting and reboot.

  • cod chambers

    Iv been trying to get this to work for a long time now and its really frustrating me.
    I am wondering if you could possibly upload the boot.img aswell as the root file system somewhere.
    If its to big could you make a torrent?
    Thanks

  • Erhan

    Hi LIV2,
    I compile kernel again with patch. Everything is ok. But I have a problem :( touchscreen not works. I use tablet with keyboard and mouse for now. When I find touch screen problem, I share solution here.

    Thank you.

  • Erhan

    Hi,
    I check log file and I see;

    qtouch-touchscreen: device file already in use. Ignoring.

    touchscreen device used :( is this kernel

    I can not find patch or another solution

    Any idea ?

  • Erhan

    Hi,

    I solved touchscreen problem, Im not use original file drivers/input/touchscreen/qtouch_obp_ts.c in kernel Tiamat-AOSP-Tiamat-Xoom-798572c. I change this file with same file in LIV2-LIV2-Xoom-GNU-ac21fdc kernel. And after recompile kernel, everything is ok. Touchscreen is works :)

    Thank you.

  • LIV2

    Awesome!

    Not sure why you got that message about it being already in use the first time, that’s weird!

  • Zer$0

    LIV2 Hi! I can not collect a kernel, I reach make – j2 and is farther than a mistake. Can at you there is a worker of boot.img for motorolla xoom mz601.Please..

  • Zer0

    Liv2 Hi! The third day I try to collect a kernel, I reach make – j2 and on this step comes to an end. Answer me please by e-mail and I will send you terminal ravine to find mistakes in my actions. Thanks!

  • Jonathan

    Congratulations on getting this working! I’ve upgraded to LibreOffice 3.4, installed some nice fonts and it looks fantastic.

    I have some immediate concerns, which you may already have a solution to:

    1. No mouse right-click option. I understand evdev has a hold-for-right-click option in a more recent version, so maybe an upgrade would help.

    2. xrandr won’t change screen rotation – also perhaps an upgrade to xserver-xorg would also help?

    3. Won’t resume on suspend. This is a dealbreaker for having a usable device. I don’t even know how to approach this problem, maybe someone has a suggestion?

    That’s all for now!

  • dave

    hi, was wonder wether or not there was any progress on the matter? – do sound devices work? does bluetooth?

    is it possible to install debian testing and go rolling?

    how open source is the motorola xoom by now?

    thanks

  • LIV2

    Hi Jonathan,

    For right-click I just used the hold for right click option in Accessibility, though I’m told that with a proper implementation of multitouch and newer versions of xorg it should support multi-touch, which would allow a 2-finger right click. haven’t managed to check that out yet.
    Rotation would require the use of the NVidia Xorg module as far as I know, and without some kernel modification it won’t work, unfortunately I don’t have the skills required to make this a reality
    No idea re: resume on suspend, I seem to remember seeing that it was something to do with the way the tegra drivers were written for Android, in that it doesn’t go into the same kind of suspend as a PC would.
    I remember seeing someone working on the same issue with the Asus TF101 but that was a while ago and I’ve been out of the loop. I’ll try to have a look when I get the time

    Cheers,
    Matt

  • Igneo676

    Making another attempt at getting this thing running. Followed instructions and modified them to get a Ubuntu rootfs but it’s telling me it cannot boot because the init is not found?

    Any insight?

  • creffett

    I’m making an attempt at getting this as well, but tweaking things to use Gentoo instead of Debian. The stopping point here is the initramfs–Gentoo doesn’t have “mkinitramfs” and I’m not sure that my solution (genkernel initramfs) made the initramfs the way that is needed. Right now, it hangs at the Motorola splash. Any thoughts on how to get useful debug output here so I can figure out what’s going wrong?

  • sbs

    That was nice. But how about using fedora 17 arm.and flashing on to this device. Also if there was a sound and bluetooth problem then can we not pull the original xoom drivers and recompile for the linux and then slipstream with this installation. If possible do a video on installing fedora 17 also. Can you not provide a boot menu to switch between android and fedora.

  • solcintra_jack

    Hey, sorry if this is too long, but this is what I get out of the first two make commands when attempting to build the kernel; I’m using android-ndk-r8e 64-bit, which DOESN’T have toolchains/arm-eabi-4.4.0 but rather arm-linux-androideabi-4.4.3, arm-linux-androideabi-4.6, and arm-linux-androideabi-4.7. Also, the kernel sources appear to have changed – at least in name, though I imagine the actual sources could not have NOT changed, since it’s been quite a while since I first saw your thread on xda-developers. At the time, I was certain I did not have the expertise required to perform such an endeavor, and I did not wish to be part of the cancer which is killing true development. In fact, your thread inspired me to take some IT classes at a local tech school, but I didn’t quite follow the Linux+ class (the curriculum is a poorly organized, as far as my brain is concerned – most of it was easy as pie, but some things seemed out of order).

    I’m not asking you, or anyone here, to do my work for me – actually, all I ask is that somebody give me some pointers, send me in the right direction to figure out what I’m doing wrong. I prefer to do things myself, as it gives me a sense of accomplishment I simply cannot derive from being told exactly what I should do.

    compiler2mint LIV2-Xoom-GNU-tiamat_stock_gpu # make tiamat_defconfig
    init/Kconfig:658:error: recursive dependency detected!
    init/Kconfig:658: symbol SYSFS_DEPRECATED is selected by SYSFS_DEPRECATED_V2
    init/Kconfig:795: symbol SYSFS_DEPRECATED_V2 depends on SYSFS_DEPRECATED
    #
    # configuration written to .config
    #
    compiler2mint LIV2-Xoom-GNU-tiamat_stock_gpu # make menuconfig
    HOSTLD scripts/kconfig/mconf
    scripts/kconfig/mconf.o: In function `show_help’:
    mconf.c:(.text+0x764): undefined reference to `stdscr’
    scripts/kconfig/mconf.o: In function `main’:
    mconf.c:(.text.startup+0x66): undefined reference to `initscr’
    mconf.c:(.text.startup+0x6d): undefined reference to `stdscr’
    scripts/kconfig/lxdialog/checklist.o: In function `print_arrows’:
    checklist.c:(.text+0x40): undefined reference to `wmove’
    checklist.c:(.text+0x60): undefined reference to `acs_map’
    checklist.c:(.text+0x68): undefined reference to `waddch’
    checklist.c:(.text+0x7a): undefined reference to `waddnstr’
    checklist.c:(.text+0x8a): undefined reference to `wmove’
    checklist.c:(.text+0xb4): undefined reference to `acs_map’
    checklist.c:(.text+0xbc): undefined reference to `waddch’
    checklist.c:(.text+0x10b): undefined reference to `acs_map’
    checklist.c:(.text+0x113): undefined reference to `waddch’
    checklist.c:(.text+0x11a): undefined reference to `acs_map’
    checklist.c:(.text+0x122): undefined reference to `waddch’
    checklist.c:(.text+0x129): undefined reference to `acs_map’
    checklist.c:(.text+0x131): undefined reference to `waddch’
    checklist.c:(.text+0x138): undefined reference to `acs_map’
    checklist.c:(.text+0x183): undefined reference to `acs_map’
    checklist.c:(.text+0x18b): undefined reference to `waddch’
    checklist.c:(.text+0x192): undefined reference to `acs_map’
    checklist.c:(.text+0x19a): undefined reference to `waddch’
    checklist.c:(.text+0x1a1): undefined reference to `acs_map’
    checklist.c:(.text+0x1a9): undefined reference to `waddch’
    checklist.c:(.text+0x1b0): undefined reference to `acs_map’
    checklist.c:(.text+0x1b8): undefined reference to `waddch’
    scripts/kconfig/lxdialog/checklist.o: In function `print_item’:
    checklist.c:(.text+0x23d): undefined reference to `wmove’
    checklist.c:(.text+0x25c): undefined reference to `waddch’
    checklist.c:(.text+0x275): undefined reference to `wmove’
    checklist.c:(.text+0x2ce): undefined reference to `wmove’
    checklist.c:(.text+0x2e0): undefined reference to `waddch’
    checklist.c:(.text+0x30d): undefined reference to `waddnstr’
    checklist.c:(.text+0x326): undefined reference to `wmove’
    checklist.c:(.text+0x32e): undefined reference to `wrefresh’
    checklist.c:(.text+0x368): undefined reference to `wprintw’
    scripts/kconfig/lxdialog/checklist.o: In function `print_buttons’:
    checklist.c:(.text+0x419): undefined reference to `wmove’
    scripts/kconfig/lxdialog/checklist.o: In function `dialog_checklist’:
    checklist.c:(.text+0x532): undefined reference to `stdscr’
    checklist.c:(.text+0x588): undefined reference to `COLS’
    checklist.c:(.text+0x59c): undefined reference to `stdscr’
    checklist.c:(.text+0x5a9): undefined reference to `LINES’
    checklist.c:(.text+0x5d2): undefined reference to `newwin’
    checklist.c:(.text+0x5e4): undefined reference to `keypad’
    checklist.c:(.text+0x635): undefined reference to `wmove’
    checklist.c:(.text+0x641): undefined reference to `acs_map’
    checklist.c:(.text+0x64b): undefined reference to `waddch’
    checklist.c:(.text+0x673): undefined reference to `acs_map’
    checklist.c:(.text+0x67f): undefined reference to `waddch’
    checklist.c:(.text+0x6a7): undefined reference to `acs_map’
    checklist.c:(.text+0x6af): undefined reference to `waddch’
    checklist.c:(.text+0x717): undefined reference to `subwin’
    checklist.c:(.text+0x729): undefined reference to `keypad’
    checklist.c:(.text+0x8be): undefined reference to `wnoutrefresh’
    checklist.c:(.text+0x8c8): undefined reference to `wnoutrefresh’
    checklist.c:(.text+0x8cd): undefined reference to `doupdate’
    checklist.c:(.text+0x8e6): undefined reference to `wgetch’
    checklist.c:(.text+0xa08): undefined reference to `doupdate’
    checklist.c:(.text+0xa1d): undefined reference to `delwin’
    checklist.c:(.text+0xa27): undefined reference to `delwin’
    checklist.c:(.text+0xabb): undefined reference to `wnoutrefresh’
    checklist.c:(.text+0xac5): undefined reference to `wrefresh’
    checklist.c:(.text+0xb1a): undefined reference to `scrollok’
    checklist.c:(.text+0xb29): undefined reference to `wscrl’
    checklist.c:(.text+0xb35): undefined reference to `scrollok’
    checklist.c:(.text+0xb8a): undefined reference to `wnoutrefresh’
    checklist.c:(.text+0xb94): undefined reference to `wrefresh’
    checklist.c:(.text+0xc35): undefined reference to `delwin’
    checklist.c:(.text+0xc3f): undefined reference to `delwin’
    checklist.c:(.text+0xc9c): undefined reference to `delwin’
    checklist.c:(.text+0xca6): undefined reference to `delwin’
    checklist.c:(.text+0xccf): undefined reference to `doupdate’
    checklist.c:(.text+0xd65): undefined reference to `scrollok’
    checklist.c:(.text+0xd74): undefined reference to `wscrl’
    checklist.c:(.text+0xd80): undefined reference to `scrollok’
    checklist.c:(.text+0xddf): undefined reference to `wnoutrefresh’
    checklist.c:(.text+0xde9): undefined reference to `wrefresh’
    checklist.c:(.text+0xe0e): undefined reference to `doupdate’
    checklist.c:(.text+0xe26): undefined reference to `doupdate’
    checklist.c:(.text+0xe63): undefined reference to `wrefresh’
    checklist.c:(.text+0xe68): undefined reference to `doupdate’
    checklist.c:(.text+0xe74): undefined reference to `acs_map’
    checklist.c:(.text+0xe7b): undefined reference to `waddch’
    scripts/kconfig/lxdialog/checklist.o: In function `print_arrows’:
    checklist.c:(.text+0xf0): undefined reference to `waddnstr’
    checklist.c:(.text+0x162): undefined reference to `waddch’
    scripts/kconfig/lxdialog/checklist.o: In function `print_buttons’:
    checklist.c:(.text+0x439): undefined reference to `wrefresh’
    scripts/kconfig/lxdialog/util.o: In function `init_one_color’:
    util.c:(.text+0x46f): undefined reference to `init_pair’
    scripts/kconfig/lxdialog/util.o: In function `attr_clear’:
    util.c:(.text+0x4d1): undefined reference to `wmove’
    util.c:(.text+0x4ec): undefined reference to `waddch’
    scripts/kconfig/lxdialog/util.o: In function `dialog_clear’:
    util.c:(.text+0x539): undefined reference to `COLS’
    util.c:(.text+0x53f): undefined reference to `LINES’
    util.c:(.text+0x546): undefined reference to `stdscr’
    util.c:(.text+0x561): undefined reference to `stdscr’
    util.c:(.text+0x57d): undefined reference to `wmove’
    util.c:(.text+0x590): undefined reference to `stdscr’
    util.c:(.text+0x59a): undefined reference to `waddnstr’
    util.c:(.text+0x5a1): undefined reference to `stdscr’
    util.c:(.text+0x5b0): undefined reference to `wmove’
    util.c:(.text+0x5b6): undefined reference to `COLS’
    util.c:(.text+0x5cb): undefined reference to `acs_map’
    util.c:(.text+0x5d2): undefined reference to `stdscr’
    util.c:(.text+0x5da): undefined reference to `waddch’
    util.c:(.text+0x5e0): undefined reference to `COLS’
    util.c:(.text+0x5ef): undefined reference to `stdscr’
    scripts/kconfig/lxdialog/util.o: In function `init_dialog’:
    util.c:(.text+0x605): undefined reference to `initscr’
    util.c:(.text+0x60c): undefined reference to `stdscr’
    util.c:(.text+0x7df): undefined reference to `stdscr’
    util.c:(.text+0x7e9): undefined reference to `keypad’
    util.c:(.text+0x7ee): undefined reference to `cbreak’
    util.c:(.text+0x7f3): undefined reference to `noecho’
    util.c:(.text+0x811): undefined reference to `has_colors’
    util.c:(.text+0x821): undefined reference to `start_color’
    util.c:(.text+0xcb7): undefined reference to `has_colors’
    util.c:(.text+0xcd6): undefined reference to `has_colors’
    util.c:(.text+0xcf1): undefined reference to `endwin’
    scripts/kconfig/lxdialog/util.o: In function `end_dialog’:
    util.c:(.text+0xd19): undefined reference to `stdscr’
    util.c:(.text+0xd1e): undefined reference to `wmove’
    util.c:(.text+0xd25): undefined reference to `stdscr’
    util.c:(.text+0xd2a): undefined reference to `wrefresh’
    scripts/kconfig/lxdialog/util.o: In function `print_title’:
    util.c:(.text+0xda8): undefined reference to `wmove’
    util.c:(.text+0xdba): undefined reference to `waddch’
    util.c:(.text+0xdc7): undefined reference to `wmove’
    util.c:(.text+0xdd9): undefined reference to `waddnstr’
    scripts/kconfig/lxdialog/util.o: In function `print_autowrap’:
    util.c:(.text+0xf82): undefined reference to `wmove’
    util.c:(.text+0xf92): undefined reference to `waddnstr’
    util.c:(.text+0x105b): undefined reference to `wmove’
    util.c:(.text+0x106b): undefined reference to `waddnstr’
    scripts/kconfig/lxdialog/util.o: In function `print_button’:
    util.c:(.text+0x10a3): undefined reference to `wmove’
    util.c:(.text+0x10d0): undefined reference to `waddnstr’
    util.c:(.text+0x112d): undefined reference to `waddch’
    util.c:(.text+0x115c): undefined reference to `waddch’
    util.c:(.text+0x117d): undefined reference to `waddnstr’
    util.c:(.text+0x119a): undefined reference to `waddnstr’
    util.c:(.text+0x11d8): undefined reference to `waddch’
    util.c:(.text+0x11f9): undefined reference to `waddnstr’
    util.c:(.text+0x121c): undefined reference to `waddch’
    util.c:(.text+0x1231): undefined reference to `waddnstr’
    scripts/kconfig/lxdialog/util.o: In function `draw_box’:
    util.c:(.text+0x12d7): undefined reference to `wmove’
    util.c:(.text+0x1334): undefined reference to `waddch’
    util.c:(.text+0x1376): undefined reference to `acs_map’
    util.c:(.text+0x137e): undefined reference to `waddch’
    util.c:(.text+0x1397): undefined reference to `acs_map’
    util.c:(.text+0x139f): undefined reference to `waddch’
    util.c:(.text+0x13bf): undefined reference to `acs_map’
    util.c:(.text+0x13c7): undefined reference to `waddch’
    util.c:(.text+0x13d6): undefined reference to `acs_map’
    util.c:(.text+0x13de): undefined reference to `waddch’
    util.c:(.text+0x13f6): undefined reference to `acs_map’
    util.c:(.text+0x13fe): undefined reference to `waddch’
    util.c:(.text+0x1418): undefined reference to `acs_map’
    util.c:(.text+0x1420): undefined reference to `waddch’
    util.c:(.text+0x1438): undefined reference to `acs_map’
    util.c:(.text+0x1440): undefined reference to `waddch’
    util.c:(.text+0x1458): undefined reference to `acs_map’
    util.c:(.text+0x1460): undefined reference to `waddch’
    scripts/kconfig/lxdialog/util.o: In function `draw_shadow’:
    util.c:(.text+0x148d): undefined reference to `has_colors’
    util.c:(.text+0x14ba): undefined reference to `wmove’
    util.c:(.text+0x14d0): undefined reference to `winch’
    util.c:(.text+0x14db): undefined reference to `waddch’
    util.c:(.text+0x14f9): undefined reference to `wmove’
    util.c:(.text+0x1504): undefined reference to `winch’
    util.c:(.text+0x150f): undefined reference to `waddch’
    util.c:(.text+0x1517): undefined reference to `winch’
    util.c:(.text+0x1522): undefined reference to `waddch’
    scripts/kconfig/lxdialog/util.o: In function `on_key_esc’:
    util.c:(.text+0x164d): undefined reference to `nodelay’
    util.c:(.text+0x1657): undefined reference to `keypad’
    util.c:(.text+0x165f): undefined reference to `wgetch’
    util.c:(.text+0x1669): undefined reference to `wgetch’
    util.c:(.text+0x1674): undefined reference to `wgetch’
    util.c:(.text+0x1683): undefined reference to `nodelay’
    util.c:(.text+0x1690): undefined reference to `keypad’
    util.c:(.text+0x16c6): undefined reference to `ungetch’
    scripts/kconfig/lxdialog/util.o: In function `attr_clear’:
    util.c:(.text+0x522): undefined reference to `wtouchln’
    scripts/kconfig/lxdialog/util.o: In function `dialog_clear’:
    util.c:(.text+0x5f4): undefined reference to `wnoutrefresh’
    scripts/kconfig/lxdialog/util.o: In function `end_dialog’:
    util.c:(.text+0xd33): undefined reference to `endwin’
    scripts/kconfig/lxdialog/util.o: In function `print_title’:
    util.c:(.text+0xdfe): undefined reference to `waddch’
    scripts/kconfig/lxdialog/util.o: In function `print_button’:
    util.c:(.text+0x11b8): undefined reference to `wmove’
    scripts/kconfig/lxdialog/util.o: In function `draw_shadow’:
    util.c:(.text+0x153d): undefined reference to `wnoutrefresh’
    scripts/kconfig/lxdialog/inputbox.o: In function `print_buttons’:
    inputbox.c:(.text+0x99): undefined reference to `wmove’
    scripts/kconfig/lxdialog/inputbox.o: In function `dialog_inputbox’:
    inputbox.c:(.text+0x12b): undefined reference to `stdscr’
    inputbox.c:(.text+0x167): undefined reference to `COLS’
    inputbox.c:(.text+0x17f): undefined reference to `LINES’
    inputbox.c:(.text+0x1a6): undefined reference to `newwin’
    inputbox.c:(.text+0x1b6): undefined reference to `keypad’
    inputbox.c:(.text+0x1f6): undefined reference to `wmove’
    inputbox.c:(.text+0x202): undefined reference to `acs_map’
    inputbox.c:(.text+0x20a): undefined reference to `waddch’
    inputbox.c:(.text+0x223): undefined reference to `acs_map’
    inputbox.c:(.text+0x22f): undefined reference to `waddch’
    inputbox.c:(.text+0x252): undefined reference to `acs_map’
    inputbox.c:(.text+0x257): undefined reference to `waddch’
    inputbox.c:(.text+0x2ea): undefined reference to `wmove’
    inputbox.c:(.text+0x37c): undefined reference to `waddch’
    inputbox.c:(.text+0x395): undefined reference to `wmove’
    inputbox.c:(.text+0x39d): undefined reference to `wrefresh’
    inputbox.c:(.text+0x3a5): undefined reference to `wgetch’
    inputbox.c:(.text+0x3f4): undefined reference to `delwin’
    inputbox.c:(.text+0x444): undefined reference to `delwin’
    inputbox.c:(.text+0x4ec): undefined reference to `wmove’
    inputbox.c:(.text+0x4fc): undefined reference to `waddch’
    inputbox.c:(.text+0x504): undefined reference to `wrefresh’
    inputbox.c:(.text+0x542): undefined reference to `delwin’
    inputbox.c:(.text+0x5c5): undefined reference to `wmove’
    inputbox.c:(.text+0x60b): undefined reference to `waddch’
    inputbox.c:(.text+0x6ce): undefined reference to `waddnstr’
    inputbox.c:(.text+0x745): undefined reference to `delwin’
    inputbox.c:(.text+0x75c): undefined reference to `delwin’
    inputbox.c:(.text+0x7cb): undefined reference to `wmove’
    inputbox.c:(.text+0x7d3): undefined reference to `wrefresh’
    inputbox.c:(.text+0x7eb): undefined reference to `acs_map’
    inputbox.c:(.text+0x7f2): undefined reference to `waddch’
    inputbox.c:(.text+0x86b): undefined reference to `wmove’
    inputbox.c:(.text+0x8a7): undefined reference to `wmove’
    inputbox.c:(.text+0x8af): undefined reference to `wrefresh’
    inputbox.c:(.text+0x90c): undefined reference to `wmove’
    inputbox.c:(.text+0x91e): undefined reference to `waddch’
    inputbox.c:(.text+0x92d): undefined reference to `wmove’
    inputbox.c:(.text+0x935): undefined reference to `wrefresh’
    inputbox.c:(.text+0x954): undefined reference to `flash’
    inputbox.c:(.text+0x96f): undefined reference to `wmove’
    inputbox.c:(.text+0x9ad): undefined reference to `waddch’
    scripts/kconfig/lxdialog/inputbox.o: In function `print_buttons’:
    inputbox.c:(.text+0xb9): undefined reference to `wrefresh’
    scripts/kconfig/lxdialog/textbox.o: In function `print_line’:
    textbox.c:(.text+0x1c0): undefined reference to `wmove’
    textbox.c:(.text+0x1d0): undefined reference to `waddch’
    textbox.c:(.text+0x1f0): undefined reference to `waddnstr’
    scripts/kconfig/lxdialog/textbox.o: In function `print_position’:
    textbox.c:(.text+0x240): undefined reference to `wbkgdset’
    textbox.c:(.text+0x285): undefined reference to `wmove’
    textbox.c:(.text+0x2a9): undefined reference to `wbkgdset’
    scripts/kconfig/lxdialog/textbox.o: In function `refresh_text_box’:
    textbox.c:(.text+0x363): undefined reference to `wnoutrefresh’
    textbox.c:(.text+0x37d): undefined reference to `wmove’
    scripts/kconfig/lxdialog/textbox.o: In function `dialog_textbox’:
    textbox.c:(.text+0x3ca): undefined reference to `stdscr’
    textbox.c:(.text+0x435): undefined reference to `COLS’
    textbox.c:(.text+0x466): undefined reference to `LINES’
    textbox.c:(.text+0x494): undefined reference to `newwin’
    textbox.c:(.text+0x4a4): undefined reference to `keypad’
    textbox.c:(.text+0x4c7): undefined reference to `subwin’
    textbox.c:(.text+0x4e8): undefined reference to `wbkgdset’
    textbox.c:(.text+0x4f5): undefined reference to `keypad’
    textbox.c:(.text+0x539): undefined reference to `wmove’
    textbox.c:(.text+0x545): undefined reference to `acs_map’
    textbox.c:(.text+0x54d): undefined reference to `waddch’
    textbox.c:(.text+0x563): undefined reference to `acs_map’
    textbox.c:(.text+0x56f): undefined reference to `waddch’
    textbox.c:(.text+0x596): undefined reference to `wbkgdset’
    textbox.c:(.text+0x59d): undefined reference to `acs_map’
    textbox.c:(.text+0x5a5): undefined reference to `waddch’
    textbox.c:(.text+0x5fa): undefined reference to `wnoutrefresh’
    textbox.c:(.text+0x659): undefined reference to `wgetch’
    textbox.c:(.text+0x754): undefined reference to `delwin’
    textbox.c:(.text+0x75c): undefined reference to `delwin’
    textbox.c:(.text+0x797): undefined reference to `delwin’
    textbox.c:(.text+0x79f): undefined reference to `delwin’
    textbox.c:(.text+0x887): undefined reference to `scrollok’
    textbox.c:(.text+0x894): undefined reference to `wscrl’
    textbox.c:(.text+0x89e): undefined reference to `scrollok’
    textbox.c:(.text+0x8f0): undefined reference to `wnoutrefresh’
    textbox.c:(.text+0x9bf): undefined reference to `scrollok’
    textbox.c:(.text+0x9cc): undefined reference to `wscrl’
    textbox.c:(.text+0x9d6): undefined reference to `scrollok’
    textbox.c:(.text+0x9ec): undefined reference to `wnoutrefresh’
    textbox.c:(.text+0xa03): undefined reference to `wmove’
    textbox.c:(.text+0xa0b): undefined reference to `wrefresh’
    textbox.c:(.text+0xa20): undefined reference to `delwin’
    textbox.c:(.text+0xa28): undefined reference to `delwin’
    textbox.c:(.text+0xa34): undefined reference to `stdscr’
    textbox.c:(.text+0xad0): undefined reference to `wbkgdset’
    textbox.c:(.text+0xad7): undefined reference to `acs_map’
    textbox.c:(.text+0xade): undefined reference to `waddch’
    textbox.c:(.text+0xb36): undefined reference to `wnoutrefresh’
    scripts/kconfig/lxdialog/textbox.o: In function `print_line’:
    textbox.c:(.text+0x214): undefined reference to `wclrtoeol’
    scripts/kconfig/lxdialog/textbox.o: In function `print_position’:
    textbox.c:(.text+0x29c): undefined reference to `wprintw’
    scripts/kconfig/lxdialog/textbox.o: In function `refresh_text_box’:
    textbox.c:(.text+0x394): undefined reference to `wrefresh’
    scripts/kconfig/lxdialog/yesno.o: In function `print_buttons’:
    yesno.c:(.text+0x94): undefined reference to `wmove’
    scripts/kconfig/lxdialog/yesno.o: In function `dialog_yesno’:
    yesno.c:(.text+0xfc): undefined reference to `stdscr’
    yesno.c:(.text+0x138): undefined reference to `COLS’
    yesno.c:(.text+0x151): undefined reference to `LINES’
    yesno.c:(.text+0x17a): undefined reference to `newwin’
    yesno.c:(.text+0x18a): undefined reference to `keypad’
    yesno.c:(.text+0x1cc): undefined reference to `wmove’
    yesno.c:(.text+0x1d8): undefined reference to `acs_map’
    yesno.c:(.text+0x1e0): undefined reference to `waddch’
    yesno.c:(.text+0x1f3): undefined reference to `acs_map’
    yesno.c:(.text+0x1ff): undefined reference to `waddch’
    yesno.c:(.text+0x222): undefined reference to `acs_map’
    yesno.c:(.text+0x227): undefined reference to `waddch’
    yesno.c:(.text+0x277): undefined reference to `wgetch’
    yesno.c:(.text+0x2b5): undefined reference to `delwin’
    yesno.c:(.text+0x2e2): undefined reference to `delwin’
    yesno.c:(.text+0x332): undefined reference to `wrefresh’
    yesno.c:(.text+0x34e): undefined reference to `delwin’
    yesno.c:(.text+0x368): undefined reference to `delwin’
    yesno.c:(.text+0x3af): undefined reference to `delwin’
    yesno.c:(.text+0x3c3): undefined reference to `acs_map’
    yesno.c:(.text+0x3ca): undefined reference to `waddch’
    scripts/kconfig/lxdialog/yesno.o: In function `print_buttons’:
    yesno.c:(.text+0xb4): undefined reference to `wrefresh’
    scripts/kconfig/lxdialog/menubox.o: In function `do_scroll’:
    menubox.c:(.text+0x21): undefined reference to `scrollok’
    menubox.c:(.text+0x2b): undefined reference to `wscrl’
    menubox.c:(.text+0x35): undefined reference to `scrollok’
    scripts/kconfig/lxdialog/menubox.o: In function `do_print_item’:
    menubox.c:(.text+0xf6): undefined reference to `wmove’
    menubox.c:(.text+0xfe): undefined reference to `wclrtoeol’
    menubox.c:(.text+0x125): undefined reference to `wmove’
    menubox.c:(.text+0x13a): undefined reference to `waddnstr’
    menubox.c:(.text+0x16e): undefined reference to `wmove’
    menubox.c:(.text+0x181): undefined reference to `waddch’
    menubox.c:(.text+0x19a): undefined reference to `wmove’
    menubox.c:(.text+0x1d8): undefined reference to `wmove’
    menubox.c:(.text+0x1df): undefined reference to `wclrtoeol’
    scripts/kconfig/lxdialog/menubox.o: In function `print_buttons’:
    menubox.c:(.text+0x2b0): undefined reference to `wmove’
    scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0′:
    menubox.c:(.text+0x32e): undefined reference to `wmove’
    menubox.c:(.text+0x349): undefined reference to `acs_map’
    menubox.c:(.text+0x351): undefined reference to `waddch’
    menubox.c:(.text+0x363): undefined reference to `waddnstr’
    menubox.c:(.text+0x371): undefined reference to `wmove’
    menubox.c:(.text+0x379): undefined reference to `wrefresh’
    menubox.c:(.text+0x3a1): undefined reference to `acs_map’
    menubox.c:(.text+0x3a9): undefined reference to `waddch’
    menubox.c:(.text+0x3b0): undefined reference to `acs_map’
    menubox.c:(.text+0x3b8): undefined reference to `waddch’
    menubox.c:(.text+0x3bf): undefined reference to `acs_map’
    menubox.c:(.text+0x3c7): undefined reference to `waddch’
    menubox.c:(.text+0x3ce): undefined reference to `acs_map’
    menubox.c:(.text+0x3d6): undefined reference to `waddch’
    menubox.c:(.text+0x3e5): undefined reference to `wmove’
    menubox.c:(.text+0x42b): undefined reference to `acs_map’
    menubox.c:(.text+0x433): undefined reference to `waddch’
    menubox.c:(.text+0x445): undefined reference to `waddnstr’
    menubox.c:(.text+0x45e): undefined reference to `acs_map’
    menubox.c:(.text+0x466): undefined reference to `waddch’
    menubox.c:(.text+0x46d): undefined reference to `acs_map’
    menubox.c:(.text+0x475): undefined reference to `waddch’
    menubox.c:(.text+0x47c): undefined reference to `acs_map’
    menubox.c:(.text+0x484): undefined reference to `waddch’
    menubox.c:(.text+0x48b): undefined reference to `acs_map’
    menubox.c:(.text+0x493): undefined reference to `waddch’
    menubox.c:(.text+0x4a6): undefined reference to `wmove’
    scripts/kconfig/lxdialog/menubox.o: In function `dialog_menu’:
    menubox.c:(.text+0x4d4): undefined reference to `stdscr’
    menubox.c:(.text+0x574): undefined reference to `COLS’
    menubox.c:(.text+0x588): undefined reference to `stdscr’
    menubox.c:(.text+0x598): undefined reference to `LINES’
    menubox.c:(.text+0x5ca): undefined reference to `newwin’
    menubox.c:(.text+0x5dc): undefined reference to `keypad’
    menubox.c:(.text+0x630): undefined reference to `wmove’
    menubox.c:(.text+0x63c): undefined reference to `acs_map’
    menubox.c:(.text+0x646): undefined reference to `waddch’
    menubox.c:(.text+0x66b): undefined reference to `acs_map’
    menubox.c:(.text+0x676): undefined reference to `waddch’
    menubox.c:(.text+0x6a8): undefined reference to `wbkgdset’
    menubox.c:(.text+0x6af): undefined reference to `acs_map’
    menubox.c:(.text+0x6b9): undefined reference to `waddch’
    menubox.c:(.text+0x71c): undefined reference to `subwin’
    menubox.c:(.text+0x72c): undefined reference to `keypad’
    menubox.c:(.text+0x876): undefined reference to `wnoutrefresh’
    menubox.c:(.text+0x8c8): undefined reference to `wmove’
    menubox.c:(.text+0x8d0): undefined reference to `wrefresh’
    menubox.c:(.text+0x8ec): undefined reference to `wgetch’
    menubox.c:(.text+0x9c9): undefined reference to `delwin’
    menubox.c:(.text+0x9d3): undefined reference to `delwin’
    menubox.c:(.text+0xb2d): undefined reference to `wnoutrefresh’
    menubox.c:(.text+0xb35): undefined reference to `wrefresh’
    menubox.c:(.text+0xb47): undefined reference to `delwin’
    menubox.c:(.text+0xb51): undefined reference to `delwin’
    menubox.c:(.text+0xe8b): undefined reference to `scrollok’
    menubox.c:(.text+0x1025): undefined reference to `wrefresh’
    menubox.c:(.text+0x10df): undefined reference to `wbkgdset’
    menubox.c:(.text+0x10e6): undefined reference to `acs_map’
    menubox.c:(.text+0x10ed): undefined reference to `waddch’
    menubox.c:(.text+0x1134): undefined reference to `delwin’
    menubox.c:(.text+0x113e): undefined reference to `delwin’
    menubox.c:(.text+0x1145): undefined reference to `stdscr’
    scripts/kconfig/lxdialog/menubox.o: In function `do_scroll’:
    menubox.c:(.text+0x53): undefined reference to `wrefresh’
    scripts/kconfig/lxdialog/menubox.o: In function `do_print_item’:
    menubox.c:(.text+0x1cc): undefined reference to `wrefresh’
    scripts/kconfig/lxdialog/menubox.o: In function `print_buttons’:
    menubox.c:(.text+0x2d0): undefined reference to `wrefresh’
    scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0′:
    menubox.c:(.text+0x40f): undefined reference to `wrefresh’
    collect2: error: ld returned 1 exit status
    make[1]: *** [scripts/kconfig/mconf] Error 1
    make: *** [menuconfig] Error 2

  • LIV2

    Hi,

    In regards to the make errors, It’s probably due to missing ncurses or nurses-devel packages, I’d recommend installing/updating those packages on your system to make sure it works.

    As for the compiler, I did find that I had issues using some other compilers at the time. there were two included when I downloaded NDK R5B, one being the arm-linux-gnueabi compiler and the other being the arm-eabi compiler.
    If you keep having issues with your compiler, there are still download links for the r5b version I used on this page: http://androgeek.info/?p=296

    Let me know how that goes!

  • LIV2

    Hey Creffett,
    Unfortunately I know nothing about how initramfs’s are packed on gentoo, maybe try just using the same tools as me? I believe you should be able to build initramfs-tools from these sources: https://launchpad.net/ubuntu/raring/+source/initramfs-tools/0.103ubuntu0.7

  • LIV2

    How did you go with this Igneo676?
    It sounds like it’s mounting the wrong device as the root device, did you format your sdcard exactly like I specified in the article? if not you’ll need to update the boot args to use the correct root= line
    You can check this by booting up your Xoom into Android with the sdcard in, then check to see what the device name is with the mount command inside the adb shell.

  • solcintra_jack

    Haven’t been able to try to build for a while. Now that I can, this is what I get when I try to compile the kernel.

    Btw, libncurses5 was fine but libncurses5-dev needed installed, and I’m using r5b now.

    jdelaughder@mint-NV53A ~/linuxoom/LIV2-Xoom-GNU-tiamat_stock_gpu $ make -j 2
    scripts/kconfig/conf –silentoldconfig arch/arm/Kconfig
    init/Kconfig:658:error: recursive dependency detected!
    init/Kconfig:658: symbol SYSFS_DEPRECATED is selected by SYSFS_DEPRECATED_V2
    init/Kconfig:795: symbol SYSFS_DEPRECATED_V2 depends on SYSFS_DEPRECATED
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    CC scripts/mod/empty.o
    as: unrecognized option ‘-EL’
    make[2]: *** [scripts/mod/empty.o] Error 1
    make[1]: *** [scripts/mod] Error 2
    make: *** [scripts] Error 2
    make: *** Waiting for unfinished jobs….
    jdelaughder@mint-NV53A ~/linuxoom/LIV2-Xoom-GNU-tiamat_stock_gpu $

    It looks like Erhan had similar issues, maybe a similar solution?

  • solcintra_jack

    Just noticed Zer0 had the same (or VERY close to the same) problem. I don’t know the term ‘terminal ravine’, but can one of you two help me through this?

    Thanks!
    Solcintra Jack

  • LIV2

    Hey,

    I’ve seen that error before, it generally means that your export variables haven’t been set properly. i.e
    # export CROSS_COMPILE=~/Downloads/android–ndk–r5b/toolchains/arm–eabi–4.4.0/prebuilt/linux–x86/bin/arm–eabi–
    # export ARCH=arm

    If that doesn’t work you can also try going into the android–ndk–r5b/toolchains/arm–eabi–4.4.0/prebuilt/linux–x86/bin folder and creating a copy of arm-eabi-as and name it as, then export PATH=~/Downloads/android–ndk–r5b/toolchains/arm–eabi–4.4.0/prebuilt/linux–x86/bin:$PATH and try again.

  • solcintra_jack

    Hey LIV2,

    I set the variables exactly as specified; no joy. Made absolutely certain the PATH variable was properly set; no joy. Also tried copying ‘arm-eabi-as’ and renaming the copy ‘as’; still no joy. I’m going to try using Debian instead of Linux Mint; maybe that will make the needed difference.

    Wish me luck,
    Solcintra Jack

  • solcintra_jack

    Think I’ve nailed down my problem, tried in ext2 environment (had been using ext4) and it started to compile…then my hard disk overheated and shut down.

    Dammit.

    Trying again later on, in a better spot.

    Solcintra Jack

  • Jeff

    Hi LIV2,

    I’m having a problem, either I’m not seeing the accessibility menu, or the right place to enable the touchscreen keyboard, or something is missing from my setup. It’s the little blue-circle button with a man on it, right? I don’t seem to have the options for the keyboard there.

    I have an error mounting my filesystem at first, the kernel would say it couldn’t find init, then rebooted. I went into menuconfig and turned on ext2 (M) and ext3 (*) filesystems, however I also found I’d left off the leading “/” in my command-line, not sure which fixed it. Probably the typo was the problem.

    Can you give me an idea of where to look?

    Thanks

  • Enrique

    Hi!, congratulation for your post. I’m very interested in How install Debian in my Motorola Xoom and your post is very helpful for me.

    I was reading your post and I’ve a question, when you build The Kernel, you execute this line:

    export CROSS_COMPILE=~/Downloads/android-ndk-r5b/toolchains/arm–eabi–4.4.0/prebuilt/linux–x86/bin/arm-eabi-

    My question is about the end of that line, because I download android-ndk-r5b and I searched this file: ‘arm-eabi-‘ into: android-ndk-r5b/toolchains/arm–eabi–4.4.0/prebuilt/linux–x86/bin/.

    But I found other files, like: arm-eabi-ar, arm-eabi-as… Which file I need to use?.

    Thanks a lot!

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...