Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60548 - problems compiling device-mapper
Summary: problems compiling device-mapper
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 05:50 UTC by Frido Ferdinand
Modified: 2004-08-18 14:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frido Ferdinand 2004-08-16 05:50:16 UTC
Hi,

While compiling device-mapper for lvm2 i have the following error, can
anyone give any pointers to what's going wrong ?

make -C include
make[1]: Entering directory `/var/tmp/portage/device-mapper-1.00.17-r1/work/device-mapper.1.00.17/include'
find . -maxdepth 2 -type l -exec rm -f \{\} \;
for i in `cat .symlinks`; do ln -s $i ; done
touch .symlinks_created
ln -s ../../kernel/ioctl/dm-ioctl.h linux
make[1]: Leaving directory `/var/tmp/portage/device-mapper-1.00.17-r1/work/device-mapper.1.00.17/include'
make -C man
make[1]: Entering directory `/var/tmp/portage/device-mapper-1.00.17-r1/work/device-mapper.1.00.17/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/device-mapper-1.00.17-r1/work/device-mapper.1.00.17/man'
make -C lib
make[1]: Entering directory `/var/tmp/portage/device-mapper-1.00.17-r1/work/device-mapper.1.00.17/lib'
set -e; \
FILE=`echo ioctl/libdm-iface.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo ../make.tmpl ../VERSION Makefile ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -Iioctl -I. -I../include -O2 -mcpu=i686 -pipe -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissg-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-stngs -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 ioctl/libdm-iface.c | \
sed "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" > ioctl/libdm-iface.d; \
[ -s ioctl/libdm-iface.d ] || rm -f ioctl/libdm-iface.d
set -e; \
FILE=`echo libdm-common.d | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo ../make.tmpl ../VERSION Makefile ../include/.symlinks_created | sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -Iioctl -I. -I../include -O2 -mcpu=i686 -pipe -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissg-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-stngs -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 libdm-common.c | \
sed "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" > libdm-common.d; \
[ -s libdm-common.d ] || rm -f libdm-common.d
make[1]: Leaving directory `/var/tmp/portage/device-mapper-1.00.17-r1/work/device-mapper.1.00.17/lib'
make[1]: Entering directory `/var/tmp/portage/device-mapper-1.00.17-r1/work/device-mapper.1.00.17/lib'
gcc -c -Iioctl -I. -I../include -O2 -mcpu=i686 -pipe -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissi-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strgs -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 libdm-common.c -o libdm-common.o
libdm-common.c: In function `_rename_dev_node':
libdm-common.c:283: error: `EPERM' undeclared (first use in this function)
libdm-common.c:283: error: (Each undeclared identifier is reported only once
libdm-common.c:283: error: for each function it appears in.)
make[1]: *** [libdm-common.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/device-mapper-1.00.17-r1/work/device-mapper.1.00.17/lib'
make: *** [lib] Error 2
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-16 10:51:06 UTC
max is still MIA, so can azarah or eradicator take care of this please?
Comment 2 Frido Ferdinand 2004-08-18 14:18:09 UTC
closed, missing symlink in /usr/include/asm-generic