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