Skip to contentSkip to conversation

Devive mapper compile error

linux-lvm Wim Bakker 2 participants 4 messages Sep 27, 2004

lore
Share & tools
lore

Wim Bakker

author
#0 lore raw

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 type
ioctl/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

#1 lore raw
Quoted 3 lines · Wim Bakker

ioctl/libdm-iface.c:982: error: dereferencing pointer to incomplete type

What 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]
author
#2 lore raw
Quoted 10 lines · Alasdair G Kergon
Quoted 3 lines · Wim Bakker

ioctl/libdm-iface.c:982: error: dereferencing pointer to incomplete type

What 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

#3 lore raw
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]