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
max is still MIA, so can azarah or eradicator take care of this please?
closed, missing symlink in /usr/include/asm-generic