Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Linux Mint This forum is for the discussion of Linux Mint.


  Search this Thread
Old 02-12-2013, 10:20 AM   #1
Registered: Jun 2007
Posts: 84

Rep: Reputation: 15
'make menuconfig' Fails on Linux Mint 14, works fine on Ubuntu 12.04

Hello everyone,

While trying to resurrect an old embedded Linux project I've run into some problems. I have installed a clean Linux Mint 14 VM, installed the required compilers & tools (a long list) and copied the usual build files I need from a .iso file used to compile an ARM cross-compiler toolchain.

The next step is the configuration, which immediately fails:
linuxmint ~/ICnova $ make menuconfig
/bin/bash: package/config/mconf: No such file or directory
The package/config/mconf file is present, the libncurses5-dev is installed, and indeed
make busybox-menuconfig
seems to work fine so it seems to be something odd in the makefiles associated with menuconfig - something I know nothing about.

This has worked fine on my old SuSE and Ubuntu setups, I've Googled this as much as I can now I'm stumped. Any ideas how to debug this one?

Last edited by HellesAngel; 02-12-2013 at 10:56 AM. Reason: More detail...
Old 02-13-2013, 09:13 AM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
It may actually be a library that is missing. Run ldd against the mconf binary, and see what libraries it wants to link to. Make sure all of those are installed and locatable by the loader ld.
--- rod.
1 members found this post helpful.
Old 02-15-2013, 11:40 AM   #3
Registered: Jun 2007
Posts: 84

Original Poster
Rep: Reputation: 15
Many thanks for the answer, that has pushed me in the right direction.

linuxmint ~/ICnova $ make menuconfig
/bin/bash: package/config/mconf: No such file or directory
linuxmint ~/ICnova $ ldd package/config/mconf
not a dynamic executable
linuxmint ~/ICnova $ readelf -l package/config/mconf

Elf file type is EXEC (Executable file)
Entry point 0x8049a20
There are 7 program headers, starting at offset 52

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x08048034 0x08048034 0x000e0 0x000e0 R E 0x4
INTERP 0x000114 0x08048114 0x08048114 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/]
whereas there's nothing there at /lib/... it's all in /lib64/ anyway the answer seems to be pretty clear that it's a 32bit executable failing to run on a 64 bit operating system. See also here:

I award a big FAIL to whoever decided that was the appropriate error message.

Anyway, the solution was to remove the existing mconf file, and all the *.o files hanging around from a previous 32 bit build, to force a recompilation. This now generates a new mconf that works.

Last edited by HellesAngel; 02-15-2013 at 11:55 AM. Reason: Added the solution.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Library with undefined symbols fails on one machine, but works fine with another? R00ts Programming 17 01-26-2012 12:03 PM
DHCP via router on Debian fails, XP works fine oopsdude Linux - Wireless Networking 8 09-02-2008 07:51 PM
Vista fails to print when going to CUPS. XP works fine. yah0m Linux - Software 1 08-09-2008 08:54 AM
make menuconfig fails Fredstar Linux - Newbie 4 10-07-2006 03:05 PM
make menuconfig fails pafrica Linux - Software 10 02-05-2006 11:56 PM > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration