LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 12-21-2012, 04:39 AM   #1
Seb-o-tronic
LQ Newbie
 
Registered: Dec 2012
Posts: 10

Rep: Reputation: Disabled
Mklibs command line


Hello,

Electronics design engineer, I had a training about embedded linux few days ago.

That was a two days traning about how to cross-compile the kernel and root-fs using fedora.

At home, I use ubuntu as an office computer. Computer science is not my job ... I'm just a desktop user of Linux.

From december 15th, I'm stuck with mklibs wich seems to disagree copying files to target lib directory.

I'm using ELDK 5.x, BusyBox and the last stable version of the kernel.

Here is what I'm receiving from mklibs command.

Code:
sebastien@seb-laptop:~/embedded/newdistro$ mklibs --target armv4t-gcc -D -L /home/sebastien/embedded/ELDK/armv4t/sysroots/armv4t-linux-gnueabi/usr/src/debug/eglibc-2.16-r15+svnr20393/eglibc-2_16/libc -d lib bin/busybox 
Traceback (most recent call last):
  File "/usr/bin/mklibs", line 343, in <module>
    default_lib_path = multiarch(["/lib/", "/usr/lib/", "/usr/X11R6/lib/"])
  File "/usr/bin/mklibs", line 267, in multiarch
    stdout=subprocess.PIPE, stderr=devnull)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
And the system variables I'm using:
Code:
sebastien@seb-laptop:~/embedded/newdistro$ echo $CROSS_COMPILE
arm-linux-gnueabi-
sebastien@seb-laptop:~/embedded/newdistro$ echo $ARCH
arm
sebastien@seb-laptop:~/embedded/newdistro$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sebastien/embedded/ELDK/armv4t/sysroots/i686-eldk-linux/usr/bin:/home/sebastien/embedded/ELDK/armv4t/sysroots/i686-eldk-linux/usr/bin/armv4t-linux-gnueabi:/home/sebastien/embedded/ELDK/armv4t/sysroots/armv4t-linux-gnueabi/usr/include:/home/sebastien/CodeSourcery/Sourcery_G++_Lite/bin/
Is there someone to help me going out of that trouble?

Thank you so much

Last edited by Seb-o-tronic; 12-21-2012 at 04:40 AM.
 
Old 01-13-2013, 03:13 AM   #2
jonassman
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Hello,

I've got the same error while running mklibs --version

Code:
~$ mklibs --version
Traceback (most recent call last):
File "/usr/bin/mklibs", line 343, in <module>
default_lib_path = multiarch(["/lib/", "/usr/lib/", "/usr/X11R6/lib/"])
File "/usr/bin/mklibs", line 267, in multiarch
stdout=subprocess.PIPE, stderr=devnull)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

My system is Debian Wheezy
Kernel version - Linux 3.2.0-2-686-pae #1 SMP Fri Jun 1 18:56:14 UTC 2012 i686 GNU/Linux
Path - /home/myuser/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/jungo/bin:/sbin:/usr/sbin:/usr/local/sbin


Thanks for your help
 
Old 03-26-2013, 05:32 AM   #3
Seb-o-tronic
LQ Newbie
 
Registered: Dec 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi,

I'm still experiencing that trouble. Nothing changed from december.

Getting help on embedded seems to be particulary difficult
 
  


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
[SOLVED] Cursor does not move to the bottom line and overwrite to same line on command line mesuutt Linux - Newbie 3 02-25-2012 08:04 AM
Print all PID folders from /proc line-by-line with this format (( PID: command-line )) courteous Linux - Newbie 7 12-12-2010 04:47 PM
awk command line: blank line record sep, new line field sep robertmarkbram Programming 4 02-21-2010 05:25 AM
xine command line? or some other command line only engine? lumix Linux - Software 2 08-10-2007 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:21 AM.

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
Open Source Consulting | Domain Registration