Error While Installing Respinned/Customized Centos

Why am I getting Unable to find the checksum in the image error?

Got it, I was missing two hidden files..

.discinfo and .treeinfo

gdb can't cross-compile for arm-linux

./configure --target=arm-none-linux-gnueabi --host=i386-redhat-linux -v

Don't use --target. It means something else to Autotools.

Use --build and --host. Something like:

./configure --build=$(config.guess) --host=arm-none-linux-gnueabi

--build should specify the machine you are running Autotools on, and --host should specify the machine the package will run on.

Note there is some Autootols bug that requires you to specify both --build and --host. It is yet another Autotools problem that has never been fixed.

Also see 2.2.8, Cross-Compilation in the Autools manual.

You will still need to get the paths and sysroot right, but this should provide the proper configure command so things begin to fail as expected.


config.guess will return a triplet for the machine you are running Autotools on:

$ find /usr/share/ -name config.guess
/usr/share/libtool/build-aux/config.guess
...

$ /usr/share/libtool/build-aux/config.guess
x86_64-pc-linux-gnu

If you find the package has one but it is out of date you can update it with the following command. You usually need to do this for AIX and Solaris machines.

wget 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess' -O config.guess

And you can update config.sub the same way:

wget 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub' -O config.sub


Related Topics



Leave a reply



Submit