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
How to Understand Diff -U in Linux
Triggering Autokey Script via Mouse Button - How To
Subprocess Library Won't Execute Compgen
X86 Gnu Assembler Strange Change Seg Fault
How to Wait for a Keystroke Interrupt with a Syscall on Linux
Mono Take Mscorlib.Dll 2.0 Instead of 4.0
How to Write to Tty from a Kernel Module
Does Not Work to Execute Command in Double Brackets in Bash
What Does Grep -Po '...\K...' Do? How Else Can That Effect Be Achieved
How to Set Runpath of a Binary
Printing Grep Results to File and Terminal
If Adding a Command That Repeats Every 10 Minutes to Crontab, When Does the First Job Run
Which Is the Best Way to Make Config Changes in Conf Files in Ansible
Syntax Error: Operand Expected When Using Bash