On Sat, Mar 27, 2010 at 8:37 PM, Ratheendran R <ratheendran.s at gmail.com> wrote: > Hi All, > > I am trying to use Gstreamer for mini2440 and using > arm-linux-gcc-4.3.2.tgz as the cross compiler. > > I followed this blog > http://felipec.wordpress.com/2009/06/07/installing-scratchbox-1-and-2-for-arm-cross-compilation/ > ?for scratchbox2 installation I made only changes in the cross > compiler?s path.the changes are as below. > > QEMU > > sb2 doesn't include QEMU, you must have it already, this is how I compile it: > git clone git://git.savannah.nongnu.org/qemu.git > cd qemu > git checkout -b stable v0.10.5 > ./configure --prefix=/opt/qemu --target-list=arm-linux-user > make install > > sbox2 > > Compile and install like this: > git clone git://anongit.freedesktop.org/git/sbox2 > cd sbox2 > ./configure --prefix=/opt/sb2 > make install > > Add sb2 to the PATH: > export PATH=/opt/sb2/bin:$PATH > > ?target > > I am using arm-linux-gcc-4.3.2.tgz installed in this path '/usr/local/arm/4.3.2' > > cd /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/ > sb2-init -c /opt/qemu/bin/qemu-arm armv4t > /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc > > where ?/usr/local/arm/? is the path of cross compiler. > > Now when I cross compile Gstreamer,it is compiled using some different > compiler.this is conclution I have drawn as we run gst-inspect I get > the below message. > [root at Hiteg bin]# ./gst-inspect > Illegal instruction > > kindly Guide me in fixing this issue. Have you tried to cross-compile a minimal test both inside and outside scratchbox? Something like 'int main(void) { return 0; }'. Cheers. -- Felipe Contreras