Project

General

Profile

Errors when building custom kernel .config file

Added by Mike Costa about 13 years ago

Hi,

I am trying to build a custom kernel that supports USB mass storage according to these isntructions http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Kernel
I was able to build the default image and verify it boots fine, but when I try to run the script with menuconfig, I get a the following errors:

mitydsp@mitydsp-dev:~/linux-davinci$ make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- menuconfig
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `main':
mconf.c:(.text+0x1552): undefined reference to `initscr'
mconf.c:(.text+0x1557): undefined reference to `stdscr'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x3d): undefined reference to `wmove'
checklist.c:(.text+0x5a): undefined reference to `acs_map'
checklist.c:(.text+0x66): undefined reference to `waddch'
checklist.c:(.text+0x7e): undefined reference to `waddnstr'
checklist.c:(.text+0x92): undefined reference to `wmove'
checklist.c:(.text+0xbc): undefined reference to `acs_map'

I am running the default ubuntu VM image that came with my CD. I also called environment-setup previously in this terminal instance.

Thanks,
Mike


Replies (3)

RE: Errors when building custom kernel .config file - Added by Gregory Gluszek about 13 years ago

Hi Mike,

Did you clone a copy of the Kernel from the git repository or are you using what is in the MDK at MDK/sw/ARM/linux/linux-davinci?

Also, did run the 'make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- mityomapl138_defconfig' command before attempting to launch the menuconfig?

A quick check you can run to make sure everything is fine on your system would be to run:

user@desktop->. /usr/local/angstrom/arm/environment-setup
user@desktop->cd linux-davinci
user@desktop->make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- mityomapl138_defconfig
user@desktop->make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- menuconfig

on the linux-davnci/ directory in a clean copy of the MDK and make sure that the menuconfig comes up correctly.

\Greg

RE: Errors when building custom kernel .config file - Added by Mike Costa about 13 years ago

Hi Greg,

I cloned a copy from the git repository and I did run the mityomapl138_defconfig command first. I exactly followed the directions in http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Kernel.

After following the instructions, when I reach the line for

user@desktop->make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- menuconfig

I get the errors I reported.

thanks
Mike

RE: Errors when building custom kernel .config file - Added by Mike Costa about 13 years ago

Hi Greg,

From your response I got the sense that this is the sort of thing that should have just worked, so I just tried again & of course it worked. I closed all my shells, opened a new one and went from there. The one hitch was that I needed to install the ncurses library for menuconfig to run.

Thanks,
Mike

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)