Hi, Also, you should try with a more recent version; The old git repo at freedesktop.org has not been used since 2009.
The latest versions are available at http://maemo.gitorious.org/scratchbox2 (master branch = latest stable, 2.2.3, and the 2.3_development branch is used for development stuff). Lauri On Sep 26, 2011, at 10:28 AM, ext Tommaso Marchetti wrote: > Hi, > > I think you are missing the target rootfs libraries. > Scratchbox2 requires the arm libraries to complete the compilation, so you > have to install on your host > machine a target rootfs. Typically you have to install the same rootfs you > want use on the target machine. > Many embedded distributions release already packaged rootfs filesystem. > > After you have a working target rootfs, enter the directory where the rootfs > is installed and then run the > sb2-init command. > > All the best, > Tommaso > > > Da: scratchbox-users-boun...@lists.scratchbox.org > [mailto:scratchbox-users-boun...@lists.scratchbox.org] Per conto di > Ratheendran R > Inviato: lunedì 26 settembre 2011 08:39 > A: scratchbox-users@lists.scratchbox.org > Oggetto: [Scratchbox-users] Not able to configure target with scratchbox2 > > Dear All, > > I want to use scratchbox2 with arm-linux-gcc-4.3.2.tgz tool chain for my > cross compiling requirement. > > I have done the following steps. > > QEMU > > 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 > > 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 > > I am getting the error below when I cross-compile. > > sb2-init -c /opt/qemu/bin/qemu-arm armv4t > /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc > Info: Mapping mode not specified, using default (simple) > Using /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc to detect target > architecture: > Finished writing sb2.gcc.config > gcc configured. > sb2-init: Target architecture is 'arm' > sb2-init: Host architecture is 'i[3456]86' > Finished writing sb2.config > sb2-init: configuring libtool for this target: > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... configure: error: cannot run C > compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > > > Running /opt/sb2/bin/sb2-build-libtool failed > You can run this manually later, otherwise your > sb2 environment is correctly setup and ready to use > > Kindly help me fixing this issue. > > Thanks & Regards, > > Rathe > > > > > > > > _______________________________________________ > Scratchbox-users mailing list > Scratchbox-users@lists.scratchbox.org > http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users