Hi

I have not seen anything like this before, so I cannot really help you with the 
problem. You should however be aware the in this case Crash is built as a 
32-bit executable and must be built in that way to work properly. So you should 
look for missing 32-bit libraries.

Jan

Jan Karlsson
Senior Software Engineer
System Assurance

Sony Mobile Communications
Tel: +46 703 062 174
[email protected]

sonymobile.com



-----Original Message-----
From: Yu Chen [mailto:[email protected]] 
Sent: den 4 juli 2014 06:40
To: [email protected]; Karlsson, Jan; Fänge, Thomas
Subject: [email protected], [email protected]

Hi all!
I am trying to compile crash-7.0.7  on x86_64 host  for arm.
(x86 binary to analyze ARM dumpfiles)
Here's the failure information:

-bash-4.1$ make target=arm
TARGET: ARM
 CRASH: 7.0.7
   GDB: 7.6
...
checking for gcc... gcc
checking for C compiler default output file name... a.out checking whether the 
C compiler works... yes checking whether we are cross compiling... no checking 
for objcopy... objcopy checking for objdump... objdump checking for readelf... 
readelf checking for arm-elf-linux-cc... no checking for arm-elf-linux-gcc... 
no checking for arm-elf-linux-c++... no checking for arm-elf-linux-g++... no 
checking for arm-elf-linux-cxx... no checking for arm-elf-linux-gxx... no 
checking for arm-elf-linux-gcc... no checking for arm-elf-linux-gcj... no

...
checking for library containing waddstr... no
configure: WARNING: no enhanced curses library found; disabling TUI checking 
for library containing tgetent... no
configure: error: no termcap library found
make[3]: *** [configure-gdb] Error 1
make[2]: *** [all] Error 2

crash build failed

make[1]: *** [gdb_merge] Error 1
make: *** [all] Error 2

I thought the reason for  above error  message was due to lack of  termcap 
library. However, the termcap library could be found on my host machine:

-bash-4.1$ find . -name "*termcap*"
./libtermcap.so.2
./libtermcap.so.2.0.8
-bash-4.1$ pwd
/lib64
-bash-4.1$ uname -a
Linux localhost.localdomain 2.6.32-220.el6.x86_64 #1 SMP Mon Sep 3
07:34:44 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

After I copyed x86_64 libtermcap.a into /lib64 ,the error message still exist.

I am confused if crash should be cross compiled in this situation?
Or is there any step I  should take before compile crash?


Many  thanks !

--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility

Reply via email to