Re: arm: Compile error in crash 7.1.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- 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-7.1.7-1.fc26.src.rpm
  $ 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



> 
> 
> 
> 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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/crash-utility

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility



[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux