I updated my current to today snapshot and still with original full
version of elf.h patch libelf builds fine -- see below. By quick
comparison of configure outputs in Christian's and mine build it looks
like he gets:
checking if cc can compile elf.h... yes
while I get:
checking if cc can compile elf.h... no
which is probably the reason (or one of) behind the failure for you
and not failure for me...
$ doas make
===> libelf-0.8.13p3 depends on: metaauto-* -> metaauto-1.0p1
===> libelf-0.8.13p3 depends on: autoconf-2.13 -> autoconf-2.13p4
===> Checking files for libelf-0.8.13p3
`/usr/ports/distfiles/libelf-0.8.13.tar.gz' is up to date.
>> (SHA256) libelf-0.8.13.tar.gz: OK
===> Extracting for libelf-0.8.13p3
===> Patching for libelf-0.8.13p3
===> Applying OpenBSD patch patch-aclocal_m4
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-aclocal_m4,v 1.4 2012/05/19 08:24:50 sthen Exp $
|--- aclocal.m4.orig Fri May 23 04:17:56 2008
|+++ aclocal.m4 Fri May 18 22:53:37 2012
--------------------------
Patching file aclocal.m4 using Plan A...
Hunk #1 succeeded at 288.
done
===> Compiler link: cc -> /usr/bin/cc
===> Compiler link: c++ -> /usr/bin/c++
Running autoconf-2.13 in /usr/ports/pobj/libelf-0.8.13/libelf-0.8.13
Running autoheader-2.13 in /usr/ports/pobj/libelf-0.8.13/libelf-0.8.13
===> Configuring for libelf-0.8.13p3
Using /usr/ports/pobj/libelf-0.8.13/config.site (generated)
loading site script /usr/ports/pobj/libelf-0.8.13/config.site
creating cache ./config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -pipe ) works... yes
checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking how to run the C preprocessor... cc -E
checking for a BSD compatible install...
/usr/ports/pobj/libelf-0.8.13/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for elf.h... yes
checking for sys/elf.h... no
checking for link.h... yes
checking for sys/link.h... no
checking if cc can compile elf.h... no
checking for ar.h... yes
checking for libelf.h... no
checking for nlist.h... (cached) yes
checking for gelf.h... no
checking whether to install <libelf.h>, <nlist.h> and <gelf.h>... no
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking size of short... (cached) 2
checking size of int... 4
checking size of long... 8
checking size of long long... (cached) 8
checking size of __int64... 0
checking for 64-bit integer... long
checking for 32-bit integer... int
checking for 16-bit integer... short
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for ftruncate... (cached) yes
checking for memcmp... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking whether overlapping arrays are copied correctly... yes
checking the coffee machine... empty - operator may not work as expected
checking whether 64-bit ELF support is sufficient... yes
checking whether to include 64-bit support... yes
checking whether versioning support is sufficient... yes
checking whether to include versioning support... yes
checking whether NLS is requested... no
checking for gettext in -lintl... no
checking host system type... x86_64-unknown-openbsd6.1
checking whether to build a shared library... yes
checking whether GNU naming conventions are requested... no
checking for ld... /usr/bin/ld
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating po/Makefile
creating libelf.pc
creating config.h
creating lib/sys_elf.h
===> Building for libelf-0.8.13p3
making all in lib
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC begin.c && mv -f begin.o begin.os; else true;
fi
begin.c:110:20: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
if (arf->e_off < 0 || arf->e_off > arf->e_size) {
~~~~~~~~~~ ^ ~
begin.c:142:14: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
if (tmp < 0 || tmp >= arf->e_strlen) {
~~~ ^ ~
2 warnings generated.
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe begin.c
begin.c:110:20: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
if (arf->e_off < 0 || arf->e_off > arf->e_size) {
~~~~~~~~~~ ^ ~
begin.c:142:14: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
if (tmp < 0 || tmp >= arf->e_strlen) {
~~~ ^ ~
2 warnings generated.
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC cntl.c && mv -f cntl.o cntl.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe cntl.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC end.c && mv -f end.o end.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe end.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC errmsg.c && mv -f errmsg.o errmsg.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe errmsg.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC errno.c && mv -f errno.o errno.os; else true;
fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe errno.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC fill.c && mv -f fill.o fill.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe fill.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC flag.c && mv -f flag.o flag.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe flag.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC getarhdr.c && mv -f getarhdr.o getarhdr.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe getarhdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC getarsym.c && mv -f getarsym.o getarsym.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe getarsym.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC getbase.c && mv -f getbase.o getbase.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe getbase.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC getdata.c && mv -f getdata.o getdata.os; else
true; fi
getdata.c:139:25: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
else if (scn->s_offset < 0 || scn->s_offset > elf->e_size) {
~~~~~~~~~~~~~ ^ ~
1 warning generated.
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe getdata.c
getdata.c:139:25: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
else if (scn->s_offset < 0 || scn->s_offset > elf->e_size) {
~~~~~~~~~~~~~ ^ ~
1 warning generated.
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC getident.c && mv -f getident.o getident.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe getident.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC getscn.c && mv -f getscn.o getscn.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe getscn.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC hash.c && mv -f hash.o hash.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe hash.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC kind.c && mv -f kind.o kind.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe kind.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC ndxscn.c && mv -f ndxscn.o ndxscn.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe ndxscn.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC newdata.c && mv -f newdata.o newdata.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe newdata.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC newscn.c && mv -f newscn.o newscn.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe newscn.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC next.c && mv -f next.o next.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe next.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC nextscn.c && mv -f nextscn.o nextscn.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe nextscn.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC rand.c && mv -f rand.o rand.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe rand.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC rawdata.c && mv -f rawdata.o rawdata.os; else
true; fi
rawdata.c:52:28: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
else if (scn->s_offset < 0 || scn->s_offset > elf->e_size) {
~~~~~~~~~~~~~ ^ ~
1 warning generated.
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe rawdata.c
rawdata.c:52:28: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
else if (scn->s_offset < 0 || scn->s_offset > elf->e_size) {
~~~~~~~~~~~~~ ^ ~
1 warning generated.
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC rawfile.c && mv -f rawfile.o rawfile.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe rawfile.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC strptr.c && mv -f strptr.o strptr.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe strptr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC update.c && mv -f update.o update.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe update.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC version.c && mv -f version.o version.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe version.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC checksum.c && mv -f checksum.o checksum.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe checksum.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC getaroff.c && mv -f getaroff.o getaroff.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe getaroff.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC 32.fsize.c && mv -f 32.fsize.o 32.fsize.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe 32.fsize.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC 32.getehdr.c && mv -f 32.getehdr.o
32.getehdr.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe 32.getehdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC 32.getphdr.c && mv -f 32.getphdr.o
32.getphdr.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe 32.getphdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC 32.getshdr.c && mv -f 32.getshdr.o
32.getshdr.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe 32.getshdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC 32.newehdr.c && mv -f 32.newehdr.o
32.newehdr.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe 32.newehdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC 32.newphdr.c && mv -f 32.newphdr.o
32.newphdr.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe 32.newphdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC 32.xlatetof.c && mv -f 32.xlatetof.o
32.xlatetof.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe 32.xlatetof.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC cook.c && mv -f cook.o cook.os; else true; fi
cook.c:85:13: warning: comparison of unsigned expression < 0 is always
false [-Wtautological-compare]
if (off < 0 || off > elf->e_size) {
~~~ ^ ~
cook.c:248:10: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
if (off < 0 || off > elf->e_size) {
~~~ ^ ~
2 warnings generated.
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe cook.c
cook.c:85:13: warning: comparison of unsigned expression < 0 is always
false [-Wtautological-compare]
if (off < 0 || off > elf->e_size) {
~~~ ^ ~
cook.c:248:10: warning: comparison of unsigned expression < 0 is
always false [-Wtautological-compare]
if (off < 0 || off > elf->e_size) {
~~~ ^ ~
2 warnings generated.
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC data.c && mv -f data.o data.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe data.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC input.c && mv -f input.o input.os; else true;
fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe input.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC assert.c && mv -f assert.o assert.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe assert.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC nlist.c && mv -f nlist.o nlist.os; else true;
fi
nlist.c:68:13: warning: comparison of unsigned expression >= 0 is
always true [-Wtautological-compare]
if (off >= 0 && off < nlimit) {
~~~ ^ ~
1 warning generated.
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe nlist.c
nlist.c:68:13: warning: comparison of unsigned expression >= 0 is
always true [-Wtautological-compare]
if (off >= 0 && off < nlimit) {
~~~ ^ ~
1 warning generated.
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC opt.delscn.c && mv -f opt.delscn.o
opt.delscn.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe opt.delscn.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC x.remscn.c && mv -f x.remscn.o x.remscn.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe x.remscn.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC x.movscn.c && mv -f x.movscn.o x.movscn.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe x.movscn.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC x.elfext.c && mv -f x.elfext.o x.elfext.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe x.elfext.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC 64.xlatetof.c && mv -f 64.xlatetof.o
64.xlatetof.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe 64.xlatetof.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC gelfehdr.c && mv -f gelfehdr.o gelfehdr.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe gelfehdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC gelfphdr.c && mv -f gelfphdr.o gelfphdr.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe gelfphdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC gelfshdr.c && mv -f gelfshdr.o gelfshdr.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe gelfshdr.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC gelftrans.c && mv -f gelftrans.o gelftrans.os;
else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe gelftrans.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC swap64.c && mv -f swap64.o swap64.os; else
true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe swap64.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC verdef_32_tof.c && mv -f verdef_32_tof.o
verdef_32_tof.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe verdef_32_tof.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC verdef_32_tom.c && mv -f verdef_32_tom.o
verdef_32_tom.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe verdef_32_tom.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC verdef_64_tof.c && mv -f verdef_64_tof.o
verdef_64_tof.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe verdef_64_tof.c
if test -n "-fPIC -DPIC"; then cc -c -DHAVE_CONFIG_H -I.. -I. -I.
-O2 -pipe -fPIC -DPIC verdef_64_tom.c && mv -f verdef_64_tom.o
verdef_64_tom.os; else true; fi
cc -c -DHAVE_CONFIG_H -I.. -I. -I. -O2 -pipe verdef_64_tom.c
ar rcv libelf.a begin.o cntl.o end.o errmsg.o errno.o fill.o flag.o
getarhdr.o getarsym.o getbase.o getdata.o getident.o getscn.o hash.o
kind.o ndxscn.o newdata.o newscn.o next.o nextscn.o rand.o rawdata.o
rawfile.o strptr.o update.o version.o checksum.o getaroff.o 32.fsize.o
32.getehdr.o 32.getphdr.o 32.getshdr.o 32.newehdr.o 32.newphdr.o
32.xlatetof.o cook.o data.o input.o assert.o nlist.o opt.delscn.o
x.remscn.o x.movscn.o x.elfext.o 64.xlatetof.o gelfehdr.o gelfphdr.o
gelfshdr.o gelftrans.o swap64.o verdef_32_tof.o verdef_32_tom.o
verdef_64_tof.o verdef_64_tom.o
a - begin.o
a - cntl.o
a - end.o
a - errmsg.o
a - errno.o
a - fill.o
a - flag.o
a - getarhdr.o
a - getarsym.o
a - getbase.o
a - getdata.o
a - getident.o
a - getscn.o
a - hash.o
a - kind.o
a - ndxscn.o
a - newdata.o
a - newscn.o
a - next.o
a - nextscn.o
a - rand.o
a - rawdata.o
a - rawfile.o
a - strptr.o
a - update.o
a - version.o
a - checksum.o
a - getaroff.o
a - 32.fsize.o
a - 32.getehdr.o
a - 32.getphdr.o
a - 32.getshdr.o
a - 32.newehdr.o
a - 32.newphdr.o
a - 32.xlatetof.o
a - cook.o
a - data.o
a - input.o
a - assert.o
a - nlist.o
a - opt.delscn.o
a - x.remscn.o
a - x.movscn.o
a - x.elfext.o
a - 64.xlatetof.o
a - gelfehdr.o
a - gelfphdr.o
a - gelfshdr.o
a - gelftrans.o
a - swap64.o
a - verdef_32_tof.o
a - verdef_32_tom.o
a - verdef_64_tof.o
a - verdef_64_tom.o
ranlib libelf.a
cc -shared -fPIC -o libelf.so.1.1 begin.os cntl.os end.os errmsg.os
errno.os fill.os flag.os getarhdr.os getarsym.os getbase.os getdata.os
getident.os getscn.os hash.os kind.os ndxscn.os newdata.os newscn.os
next.os nextscn.os rand.os rawdata.os rawfile.os strptr.os update.os
version.os checksum.os getaroff.os 32.fsize.os 32.getehdr.os
32.getphdr.os 32.getshdr.os 32.newehdr.os 32.newphdr.os 32.xlatetof.os
cook.os data.os input.os assert.os nlist.os opt.delscn.os x.remscn.os
x.movscn.os x.elfext.os 64.xlatetof.os gelfehdr.os gelfphdr.os
gelfshdr.os gelftrans.os swap64.os verdef_32_tof.os verdef_32_tom.os
verdef_64_tof.os verdef_64_tom.os
if test "libelf.so.1.1" = "libelf.so.1.1"; then true; else rm -f
libelf.so.1.1 && ln -s libelf.so.1.1 libelf.so.1.1; fi
if test "libelf.so.1.1" = "libelf.so.1.1"; then true; else rm -f
libelf.so.1.1 && ln -s libelf.so.1.1 libelf.so.1.1; fi