Devive mapper compile error
System is slackware 10, gcc 3.4.0
compiling device-mapper (both 1.00.18 and 1.00.19) give the following error:
--------------------------------------------------------------ioctl/libdm-iface.c: In function `_flatten':ioctl/libdm-iface.c:924: error: invalid application of `sizeof' to an incomplete typeioctl/libdm-iface.c:982: error: dereferencing pointer to incomplete type ioctl/libdm-iface.c:983: error: dereferencing pointer to incomplete type make[1]: *** [ioctl/libdm-iface.o] Error 1
---------------------------------------------------------------
What might be causing this?
TIA
Wim Bakker
Quoted 3 lines · Wim Bakker
ioctl/libdm-iface.c:982: error: dereferencing pointer to incomplete typeWhat might be causing this?
Missing header files or incorrect arguments to 'configure'? Check the instructions in the 'INSTALL' file carefully. (e.g. Most people shouldn't specify a kernel source dir).
Alasdair
Signature · 1 line
[email protected]
Quoted 10 lines · Alasdair G Kergon
Quoted 3 lines · Wim Bakker
ioctl/libdm-iface.c:982: error: dereferencing pointer to incomplete typeWhat might be causing this?
Missing header files or incorrect arguments to 'configure'? Check the instructions in the 'INSTALL' file carefully. (e.g. Most people shouldn't specify a kernel source dir).
Alasdair
Yes , thanks , that was it , I gave a kernel dir as option,
now only vgdisplay -c doesn't work, but maybe it isn't an option anymore?
TIA
Wim Bakker
Quoted 1 line · Wim Bakker
now only vgdisplay -c doesn't work, but maybe it isn't an option anymore?
Works for me. (Old version perhaps?)
But 'vgs' replaces it with something extremely configurable.
Alasdair
Signature · 1 line
[email protected]