----- Original Message -----
 
 
 ----- Original Message -----
 > 
 > 
 > Hi Crash Utility
 > 
 > 
 > 
 > I am engineer from Qualcomm, I want to compile crash 7.1.7, my step is
 > 
 > 1. Download 7.1.7 in 
http://people.redhat.com/anderson/
 > 
 > 2. Make TARGET=arm
 > 
 > 
 > 
 > It tell me, I google it but find nothing, how can I bypass this error ?
 
 I cannot reproduce it on a RHEL7 host, and the 32-bit ARM package was built successfully
 in Fedora Rawhide 3 weeks ago, although the Fedora build was performed on a native
32-bit
 ARM host.
 
 I am presuming that you are attempting the build on an x86_64 host.  Try
 these two steps:
 
 (1) Extract the .tar.gz file into a newly-created crash-7.1.7 subdirectory.  Does the
package build
     an x86_64 binary when you enter just "make"?
 (2) Extract the .tar.gz file into a newly-created crash-7.1.7 subdirectory.  Does the
package build
     an x86 binary when you enter "make target=X86"?
 
 Let's also make sure that all dependencies are available on your build host.
 Try this:
 
   $ wget
  
https://kojipkgs.fedoraproject.org//packages/crash/7.1.7/1.fc26/src/crash...
   $ rpm -ivh crash-7.1.7-1.fc26.src.rpm
   $ cd $HOME/rpmbuild/specs
   $ rpmbuild -ba crash.spec
 
 If there are any missing dependencies, the rpmbuild command will fail immediately and
will
 show any missing packages.  If all packages are there, it will attempt to build an x86_64
binary
 (presuming that is what your host machine is).
 
 Dave 
Also, in order to build with target=ARM (which actually builds a 32-bit x86 binary), the
host
machine requires several 32-bit i686 packages.  If you run the command below on your host,
you 
should see something like the following:
$ rpm -qa | grep -e glibc -e ncurses -e lzo -e zlib -e snappy | grep i686
ncurses-devel-5.9-13.20130511.el7.i686
ncurses-libs-5.9-13.20130511.el7.i686
glibc-2.17-157.el7.i686
glibc-devel-2.17-157.el7.i686
snappy-devel-1.1.0-3.el7.i686
lzo-2.06-8.el7.i686
zlib-devel-1.2.7-17.el7.i686
lzo-minilzo-2.06-8.el7.i686
zlib-static-1.2.7-17.el7.i686
ncurses-5.9-13.20130511.el7.i686
zlib-1.2.7-17.el7.i686
snappy-1.1.0-3.el7.i686
lzo-devel-2.06-8.el7.i686
$
Dave
 
 
 
 > 
 > 
 > 
 > uild-gnulib/import/libgnu.a -ldl -Wl,--dynamic-list=./proc-service.list -lz
 > -ldl -rdynamic
 > 
 > c-exp.o: In function `main':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/c-exp.c:1:
 > multiple definition of `main'
 > 
 > ../../crashlib.a(main.o):/Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/main.c:81:
 > first defined here
 > 
 > cp-name-parser.o: In function `main':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/cp-name-parser.c:1:
 > multiple definition of `main'
 > 
 > ../../crashlib.a(main.o):/Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/main.c:81:
 > first defined here
 > 
 > ada-exp.o: In function `main':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/ada-exp.c:1:
 > multiple definition of `main'
 > 
 > ../../crashlib.a(main.o):/Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/main.c:81:
 > first defined here
 > 
 > f-exp.o: In function `main':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/f-exp.c:1:
 > multiple definition of `main'
 > 
 > ../../crashlib.a(main.o):/Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/main.c:81:
 > first defined here
 > 
 > p-exp.o: In function `main':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/p-exp.c:1:
 > multiple definition of `main'
 > 
 > ../../crashlib.a(main.o):/Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/main.c:81:
 > first defined here
 > 
 > go-exp.o: In function `parse_string_or_char':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/go-exp.y:943:
 > undefined reference to `c_parse_escape'
 > 
 > macroexp.o: In function `get_character_constant':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/macroexp.c:364:
 > undefined reference to `c_parse_escape'
 > 
 > macroexp.o: In function `get_string_literal':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/macroexp.c:418:
 > undefined reference to `c_parse_escape'
 > 
 > ada-lang.o: In function `parse':
 > 
 > /Public/qiangxu/Redhat/crash-7.1.7/crash-7.1.7/gdb-7.6/gdb/ada-lang.c:12703:
 > undefined reference to `ada_parse
 > 
 > --
 > Crash-utility mailing list
 > Crash-utility(a)redhat.com
 > 
https://www.redhat.com/mailman/listinfo/crash-utility
 
 --
 Crash-utility mailing list
 Crash-utility(a)redhat.com
 
https://www.redhat.com/mailman/listinfo/crash-utility