Skip to main content

bash: bin/cvm: cannot execute binary file

2 replies [Last post]
alex19830212
Offline
Joined: 2011-08-17
Points: 0

after make the GNUmakefile,run bin/cvm,i got the message :"bash: bin/cvm: cannot execute binary file",help!

GNUmakefile:

USE_GCC2 ?= false
CVM_DEFINES +=
USE_AAPCS ?= false
CVM_JIT ?= false
CVM_JIT_USE_FP_HARDWARE ?= false
CVM_TARGET_TOOLS_PREFIX=/usr/local/arm/4.4.3/bin/arm-linux-
JDK_HOME=/usr/java/j2sdk1.4.2_12

see make log file

AttachmentSize
GNUmakefile.zip6.64 KB

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cjplummer
Offline
Joined: 2006-10-16
Points: 0

Run "file bin/cvm". Make sure the info produced matches your platform. That main thing to look for is that the endianness and architecture are correct. If they are not, then you are using the wrong toolchain or not passing the proper flags to it (you may nee to force it to use the proper endianness with something like -EL or -BE).

alex19830212
Offline
Joined: 2011-08-17
Points: 0

test