Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39294 - [elfkickers] build fails
Attached to Project:
Community Packages
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 16:25 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 14 March 2014, 15:31 GMT
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 16:25 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 14 March 2014, 15:31 GMT
|
DetailsDescription:
gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o mknames.o mknames.c /tmp/ccH0nKSF.o: In function `outputsymtab': objres.c:(.text+0x9db): undefined reference to `elfrw_write_Sym' objres.c:(.text+0xa10): undefined reference to `elfrw_write_Sym' objres.c:(.text+0xa6a): undefined reference to `elfrw_write_Sym' objres.c:(.text+0xb27): undefined reference to `elfrw_write_Sym' collect2: error: ld returned 1 exit status <builtin>: recipe for target 'objres' failed make[1]: *** [objres] Error 1 make[1]: Leaving directory '/build/elfkickers/src/ELFkickers-3.0a/objres' Makefile:10: recipe for target 'bin/objres' failed make: *** [bin/objres] Error 2 make: *** Waiting for unfinished jobs.... gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o address.o address.c ar crs libelfrw.a elfrw.o elfrw_dyn.o elfrw_ehdr.o elfrw_phdr.o elfrw_rel.o elfrw_shdr.o elfrw_sym.o elfrw_ver.o In file included from /usr/include/stdio.h:27:0, from mknames.c:19: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ make[2]: Leaving directory '/build/elfkickers/src/ELFkickers-3.0a/elfrw' gcc -Wall -Wextra -I../elfrw -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro sstrip.c ../elfrw/libelfrw.a -o sstrip In file included from /usr/include/stdio.h:27:0, from address.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ /tmp/ccCDuY0F.o: In function `getsrcfiles': elfls.c:(.text+0x10a0): undefined reference to `elfrw_read_Syms' collect2: error: ld returned 1 exit status <builtin>: recipe for target 'elfls' failed make[1]: *** [elfls] Error 1 make[1]: Leaving directory '/build/elfkickers/src/ELFkickers-3.0a/elfls' Makefile:10: recipe for target 'bin/elfls' failed make: *** [bin/elfls] Error 2 gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o readelf.o readelf.c In file included from /usr/include/stdio.h:27:0, from sstrip.c:6: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o shdrtab.o shdrtab.c In file included from /usr/include/string.h:25:0, from readelf.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from /usr/include/stdio.h:27:0, from shdrtab.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o phdrtab.o phdrtab.c gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o dynamic.o dynamic.c In file included from /usr/include/string.h:25:0, from phdrtab.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o pieces.o pieces.c In file included from /usr/include/stdio.h:27:0, from dynamic.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ make[1]: Leaving directory '/build/elfkickers/src/ELFkickers-3.0a/sstrip' cp sstrip/sstrip bin/sstrip gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o outbase.o outbase.c gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o outitems.o outitems.c In file included from /usr/include/stdio.h:27:0, from pieces.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from /usr/include/stdio.h:27:0, from outitems.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from /usr/include/stdio.h:27:0, from outbase.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o outelf64.o outelf64.c In file included from /usr/include/elf.h:22:0, from outelf64.c:8: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o outelf32.o outelf32.c gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o out.o out.c In file included from /usr/include/elf.h:22:0, from outelf32.c:8: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from /usr/include/stdio.h:27:0, from out.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ gcc -Wall -Wextra mknames.o -o mknames echo '#include <elf.h>' | gcc -E -dM -xc /dev/stdin | ./mknames elfnames.c gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -c -o names.o names.c In file included from /usr/include/stdio.h:27:0, from names.c:7: /usr/include/features.h:341:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ gcc -Wall -Wextra elftoc.o gen.o names.o address.o readelf.o shdrtab.o phdrtab.o dynamic.o pieces.o outbase.o outitems.o outelf64.o outelf32.o out.o -o elftoc make[1]: Leaving directory '/build/elfkickers/src/ELFkickers-3.0a/elftoc' cp elftoc/elftoc bin/elftoc make: Leaving directory '/build/elfkickers/src/ELFkickers-3.0a' ==> ERROR: A failure occurred in build(). Aborting... Steps to reproduce: sudo extra-x86_64-build |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 14 March 2014, 15:31 GMT
Reason for closing: Fixed
Additional comments about closing: Some people had this problem. Adding -j1 after make seems to have fixed it.
Friday, 14 March 2014, 15:31 GMT
Reason for closing: Fixed
Additional comments about closing: Some people had this problem. Adding -j1 after make seems to have fixed it.
Added -j1 to the make command hoping that it fixes the issue for people that have problems building it. Updated the PKGBUILD in subversion.
Could the people that had problems building this please add -j1 after make (or try the latest PKGBUILD from svn) and see if it solves the issue? Thank you.