EMC-Lifeline on Intel SS4200 NAS - Crosscompiling?
Hey there!
I have a Intel SS4200-E NAS which includes a EMC-Lifeline Linux.
This NAS is based on a standard Desktop-Environment with an Celeron CPU.
Some time ago i started to try to compile apps like openvpn and subversion for it.
Since there's no GCC on the system I had to compile it on another host. (used an VM-Image).
Compilation worked just fine for me as a linux rookie (just got into linux-world with this NAS) . Binaries worked there as well.
Then I tried to run those on the NAS and there they just don't work.
The shell doesn't show any error message except:
Code:
# svn
-sh: svn: not found
But the binary exists and should be runnable:
Code:
-rwxrwxrwx 1 root root 553471 Aug 11 16:46 svn
# file svn
svn: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), not stripped
So i assume that the binary just isn't configured right for this system - but I dunno which configs on the compilation process I've to change...
I've read something about crosscompiling, which is somehow that what I want, but don't know how to configure it right.
There are another facts on the system wich I already figured out and may be important on that problem:
- A lot of things are just Images which are mounted on bootup. For example /bin/, /sbin/ etc. are symlinks to /mnt/apps/bin/... and this /mnt/apps is an cramfs-Image which is located in /boot/images/apps. I also included the compiled binaries in this image. the problem remaind. But since svn is not really a system-app, I thought it is not relevant where the binary is located?!
- The system uses BusyBox.
-
Code:
# file /bin/busybox
/bin/busybox: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
- vi /var/log/error.log says
Code:
default:2 main Configuration for Mbedthis Appweb
default:2 main --------------------------------------------
default:2 main Host: andreas-server
default:2 main CPU: i686
default:2 main OS: LINUX
default:2 main Distribution: fedora 5
default:2 main OS: LINUX
default:2 main Version: 2.4.0.0
default:2 main BuildType: DEBUG
default:2 main Started at: Fri Aug 21 19:26:34 2009
default:2 main Log rotation count: 0
default:2 main --------------------------------------------
But i doubt that this is a real fedora 5 distri :-/ -
Code:
# uname -a
Linux andreas-server 2.6.19.2 #1 PREEMPT Tue Jun 24 04:35:38 MDT 2008 i686 unknown
- Have Access to some GPL-Source-Files which are used on this system and are located here: downloadcenter.intel .com /Detail_Desc.aspx?agr=Y&Inst=Yes&ProductID=2910&Dwn ldID=16310&strOSs=44&OSFullName=Windows*%20XP%20Pr ofessional&lang=deu
- But it does not contain any configuration files - I've read that somewhere. Don't know where configs are stored after ./configure ?
- This package contains these sources:
Code:
2007-06-30 21:11 acpid-1.0.6.tar.gz
2005-11-02 20:44 antiword-0.37.tar.gz
2007-02-02 16:20 apcupsd-3.12.3.tar.gz
2007-11-13 15:06 binutils-2.17.tar.bz2
2008-04-30 18:14 bluez-libs-2.25.tar.gz
2008-04-30 18:14 bluez-utils-2.25.tar.gz
2007-02-02 16:24 busybox-20060906.tar.bz2
2007-07-07 18:19 catdoc-0.94.2.tar.gz
2008-06-16 17:32 commoncpp2-1.5.5.tar.gz
2008-04-30 18:15 coreutils-5.94.tar.bz2
2007-02-02 16:24 cramfs-1.1.tar.gz
2007-02-02 16:24 cups-1.3svn-r5688-source.tar.bz2
2008-04-30 18:14 dmidecode-2.9.tar.bz2
2008-04-30 18:12 e2fsprogs-1.40.2.tar.gz
2007-02-02 16:25 evms-2.5.5.tar.gz
2007-02-02 16:25 freetype-2.1.9.tar.bz2
2008-04-30 18:15 fuse-2.7.2.tar.gz
2007-02-02 16:26 gawk-3.1.5.tar.gz
2007-11-13 15:06 gcc-3.4.6.tar.bz2
2007-02-02 16:31 gettext-0.11.5.tar.gz
2007-02-13 03:11 grub-2_12_07.tar.gz
2006-05-07 22:17 iostat-2.2.tar.gz
2007-05-21 13:01 libiconv-1.11.tar.gz
2007-02-02 16:32 libptp2-1.1.0.tar.gz
2007-02-09 17:51 libsoap-1.1.0.tar.gz
2007-02-02 16:32 libusb-0.1.12.tar.gz
2007-02-08 16:07 linux-2.6.19.2.tar.bz2
2008-04-30 18:08 linux-2.6.22.7.tar.bz2
2005-07-13 13:18 Linux-PAM-0.80.tar.bz2
2008-04-30 18:13 LVM2.2.02.29.tgz
2008-04-30 18:12 mdadm-2.6.4.tar.bz2
2008-04-30 18:09 mt-daapd-0.3.2.tar.gz
2005-01-08 08:47 netplug-1.2.9.tar.bz2
2007-02-02 16:48 nfs-utils-1.0.10.tar.gz
2008-04-30 18:15 ntfs-3g-1.2412.tgz
2007-02-08 16:07 omega-0.9.9.tar.gz
2008-04-30 18:14 openobex-1.3.tar.gz
2008-04-30 18:09 rsync-2.6.9.tar.gz
2008-04-30 18:07 samba-3.0.28.tar.gz
2008-04-30 18:14 SDL-1.2.9.tar.gz
2007-02-02 16:51 smartmontools-5.33.tar.gz
2008-04-30 18:14 sobexsrv-1.0.0pre4.tar.gz
2007-02-02 16:52 sysfsutils-2.0.0.tar.gz
2008-04-30 18:09 uClibc-20080229.tar.bz2
2007-02-02 16:52 vsftpd-2.0.5.tar.gz
2007-09-07 16:57 wget-1.9.1.tar.gz
2008-04-30 18:11 xapian-core-1.0.5.tar.gz
2008-04-30 18:11 xapian-omega-1.0.5.tar.gz
2008-04-30 18:11 xpdf-3.02.tar.gz
- Read somewhere that the uClibc is somehow modified. So maybe I have to use it in my compilation process? but how?
Hope someone can help me.