LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices



Reply
 
Search this Thread
Old 02-12-2013, 11:20 AM   #1
HellesAngel
Member
 
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:
Quote:
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
Quote:
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 11:56 AM. Reason: More detail...
 
Old 02-13-2013, 10:13 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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, 12:40 PM   #3
HellesAngel
Member
 
Registered: Jun 2007
Posts: 84

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

Quote:
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/ld-linux.so.2]
...
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:
http://superuser.com/questions/19425...-try-to-run-it

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 12:55 PM. Reason: Added the solution.
 
  


Reply


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 01:03 PM
DHCP via router on Debian fails, XP works fine oopsdude Linux - Wireless Networking 8 09-02-2008 08:51 PM
Vista fails to print when going to CUPS. XP works fine. yah0m Linux - Software 1 08-09-2008 09:54 AM
make menuconfig fails Fredstar Linux - Newbie 4 10-07-2006 04:05 PM
make menuconfig fails pafrica Linux - Software 10 02-06-2006 12:56 AM


All times are GMT -5. The time now is 01:37 PM.

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