I am getting the following while trying to make with device mapper 1.00.08. I applied patches to the kernel using 2.4.22 patches on my 2.4.24 source. After looking around in some files, I found the missing define statement is in a file in the device-mapper/kernel subtree, but not in the same filename in the actual kernel tree. I received no complains about the patches. What am I missing? ----------------------------------------------------------------- make -C include make[1]: Entering directory `/usr/src/redhat/BUILD/device-mapper.1.00.08/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/redhat/BUILD/device-mapper.1.00.08/include' make -C man make[1]: Entering directory `/usr/src/redhat/BUILD/device-mapper.1.00.08/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/redhat/BUILD/device-mapper.1.00.08/man' make -C lib make[1]: Entering directory `/usr/src/redhat/BUILD/device-mapper.1.00.08/lib' gcc -c -Iioctl -I. -I../include -I/usr/src/linux-2.4.24/include -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 ioctl/libdevmapper.c -o ioctl/libdevmapper.o ioctl/libdevmapper.c:84: error: `DM_LIST_VERSIONS' undeclared here (not in a function) ioctl/libdevmapper.c:84: error: initializer element is not constant ioctl/libdevmapper.c:84: error: (near initialization for `_cmd_data_v4[16].cmd') ioctl/libdevmapper.c:84: error: initializer element is not constant ioctl/libdevmapper.c:84: error: (near initialization for `_cmd_data_v4[16].version') ioctl/libdevmapper.c:84: error: initializer element is not constant ioctl/libdevmapper.c:84: error: (near initialization for `_cmd_data_v4[16]') make[1]: *** [ioctl/libdevmapper.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/device-mapper.1.00.08/lib' make: *** [lib] Error 2 ------------------------------------------------------------------------------- -- ======================================= Daniel Savard Consultation Informatique Daniel Savard 551, boul. Sir-Wilfrid-Laurier suite 105 Beloeil, (Québec) Canada J3G 4J1 Tél: (450) 467-8014 Internet: dsavard@xxxxxxx =======================================