Installing RPM on generic Linux errors with: `ELF_C_RDWR_MMAP' undeclared

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

 



I'm attempting to install RPM-4.2.1 on a default Linux system.

Versions:

Linux-2.6.6 (kernel.org)
gcc-3.3.3
beecrypt-3.1.0
libelf-0.8.5
libdwarf-1.2.9 (20040507)

All goes well until I hit the tools/debugedit build, then I get:

make[2]: Entering directory `/root/rpm-4.2.1/tools'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build
-I../lib -I../rpmdb -I../rpmio -I/usr/include/beecrypt
-I../popt -I../file -I../zlib -I../misc    -O2 -march=i686
-pipe -I/usr/include/beecrypt -D_GNU_SOURCE -D_REENTRANT -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -MT debugedit.o -MD -MP -MF
".deps/debugedit.Tpo" \
  -c -o debugedit.o `test -f 'debugedit.c' || echo
'./'`debugedit.c; \
then mv -f ".deps/debugedit.Tpo" ".deps/debugedit.Po"; \
else rm -f ".deps/debugedit.Tpo"; exit 1; \
fi
debugedit.c: In function `fdopen_dso':
debugedit.c:1192: error: `ELF_C_RDWR_MMAP' undeclared (first
use in this function)
debugedit.c:1192: error: (Each undeclared identifier is
reported only once
debugedit.c:1192: error: for each function it appears in.)
make[2]: *** [debugedit.o] Error 1
make[2]: Leaving directory `/root/rpm-4.2.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpm-4.2.1'
make: *** [all] Error 2

A search through the source directories of libelf and libdwarf
show no definition for ELF_C_RDWR_MMAP, and the only reference
in the RPM-4.2.1 source is the .c file calling the variable.

Is there another dependency I'm missing?

-- 
Ed Vazquez

Press [ESC] to detonate or any other key to explode.


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux