"make menuconfig" failing

1,269 views
Skip to first unread message

Richard Phillips

unread,
Feb 21, 2014, 10:08:00 AM2/21/14
to android-...@googlegroups.com
Hello all,

I'm trying to "make menuconfig" to set up my kernel, and I'm getting this issue:

  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help':
mconf.c:(.text+0x744): 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+0x41): undefined reference to `wmove'
checklist.c:(.text+0x61): undefined reference to `acs_map'
checklist.c:(.text+0x69): undefined reference to `waddch'
checklist.c:(.text+0x7b): undefined reference to `waddnstr'
checklist.c:(.text+0x8c): undefined reference to `wmove'
...
...
...

Now I read that to run "menuconfig", I need libncurses5-dev installed (I don't know if this is the problem, but it seems like a good place to start).  Problem is, I can't install it without removing libncurses5-dev:i386, which was installed in order to build Android in the first place.

After a bit of research, I can see that an option is to install lib32ncurses5-dev, but this has the same problem - it wants me to remove libncurses5-dev:i386 !!

I presume that removing libncurses5-dev:i386 will break my Android builds?

Can anyone advise me as to a solution for this?  Am I even heading in the right direction here?

Regards,
Richard.

andrew_esh

unread,
Feb 21, 2014, 5:24:47 PM2/21/14
to android-...@googlegroups.com
Can anyone advise me as to a solution for this?  Am I even heading in the right direction here?

Yes, you are headed in the right direction, for that problem. I haven't built kernels in an Android build environment, so I haven't dealt with the ncurses problems you are encountering. I've done a lot of kernel configs in other Linux environments, though.

Why not use "make config"? That will step you through all the choices, but will probably not require ncurses. There is also "make xconfig", if you have an X11 environment. You could also just edit the .config file in the top level kernel source directory with a text editor.

My favorite config to use is menuconfig, because it will search config tags if you press '/'. 

Richard Phillips

unread,
Feb 22, 2014, 4:13:05 AM2/22/14
to android-...@googlegroups.com
The main reason I'm not keen on "make config" is that I'm doing this for the first time in anger, so with the menu version I can examine current config and only change a few things here and there. With the text version, I need to understand *everything* from start to finish, answering questions on things with which I'm currently unfamiliar.

If I get really desperate, I can always create a VM that doesn't need to build Android, and "make menuconfig" there, but that's a poor solution...!

Paul Beeler

unread,
Feb 23, 2014, 1:20:02 PM2/23/14
to android-...@googlegroups.com

You were right in it's a issue with the package you have installed.  I've been building kernels outside the android ROM environment for a long time and I also encountered this issue.  You can safely remove the i386 package when you install the dev package.  Your android environment will still build and function fine.

On Feb 23, 2014 11:10 AM, "Richard Phillips" <rip...@gmail.com> wrote:
The main reason I'm not keen on "make config" is that I'm doing this for the first time in anger, so with the menu version I can examine current config and only change a few things here and there. With the text version, I need to understand *everything* from start to finish, answering questions on things with which I'm currently unfamiliar.

If I get really desperate, I can always create a VM that doesn't need to build Android, and "make menuconfig" there, but that's a poor solution...!

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Richard Phillips

unread,
Feb 23, 2014, 4:21:05 PM2/23/14
to android-...@googlegroups.com

Thanks Paul - if Android doesn't require the i386 version of the package, why is it stipulated that that particular version should be installed? Is it just a legacy instruction or something?

You received this message because you are subscribed to a topic in the Google Groups "Android Building" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-building/LgKgAqJMy6s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-buildi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages