[SM-Discuss] Subtle header file problem on boxes installed from 0.10.0-test4?
Kevin Monceaux
Kevin at RawFedDogs.net
Tue Nov 4 11:53:58 EST 2008
Source Mage Fans,
I recently installed SMGL from 0.10.0-test4.iso. For some reason I just
checked my /etc/release file and it says it was 0.10.0-test2.
Anyway, on the initial rebuild lvm failed with symptoms like those already
reported in bug 14784:
report/report.c:1103: error: 'DM_REPORT_OUTPUT_FIELD_NAME_PREFIX'
undeclared
(first use in this function)
report/report.c:1103: error: (Each undeclared identifier is reported only
once
report/report.c:1103: error: for each function it appears in.)
report/report.c:1106: error: 'DM_REPORT_OUTPUT_FIELD_UNQUOTED' undeclared
(first use in this function)
report/report.c:1109: error: 'DM_REPORT_OUTPUT_COLUMNS_AS_ROWS' undeclared
The above are defined in libdevmapper.h. It appears that some of the
#defines from libdevmapper.h are being ignored for some reason. To work
around the problem I ended up copying:
#define DM_REPORT_OUTPUT_FIELD_NAME_PREFIX 0x00000008
#define DM_REPORT_OUTPUT_FIELD_UNQUOTED 0x00000010
#define DM_REPORT_OUTPUT_COLUMNS_AS_ROWS 0x00000020
from libdevmapper.h directly into report.c. Although it achieved a
successful compile it's far from an ideal solution.
Now I'm testing a stable-rc system-update under a chroot copied from my
box's root. lvm 2.02.42 from stable-rc failed with the same symptoms as
above. Also, imagemagick 6.4.5-0 failed with:
magick/shear.c:1119: error: 'TileHeight' undeclared (first use in this
function)
As with lvm there are no errors complaining about missing header files. I
haven't found where TitleHeight is defined yet, but it looks like it might
be a similar problem to the lvm problem, #defines from a header file are
being ignored for some reason. Someone already opened bug 14860 on the
imagamagick problem. With both bugs, the compiles are failing for some
and succeeding for others.
The person who opened the lvm bug says they got the error after installing
from 0.10.0-test4. My box was also installed from 0.10.0-test4. Is there
perhaps a subtle problem with the 0.10.0-test4 install that's would cause
the above.
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!
More information about the SM-Discuss
mailing list