Unable to make from git source - LIBFVALUE_VERSION_STRING
CdtDelta opened this issue · comments
I've done a git clone --recursive of the repo for libvmdk. I'm configuring with:
./configure --enable-python --enable-verbose-output
When I go to make I get the following error:
make[1]: Entering directory /usr/local/src/libvmdk/vmdktools' gcc -DHAVE_CONFIG_H -I. -I../common -I../include -I../common -I../libcstring -I../libcerror -I../libcdata -I../libclocale -I../libcnotify -I../libcsplit -I../libuna -I../libcfile -I../libcpath -I../libbfio -I../libfcache -I../libfdata -I/usr/local/include -I../libcsystem -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -g -O2 -MT vmdkoutput.o -MD -MP -MF .deps/vmdkoutput.Tpo -c -o vmdkoutput.o vmdkoutput.c vmdkoutput.c: In function âvmdkoutput_version_detailed_fprintâ: vmdkoutput.c:129:3: error: âLIBFVALUE_VERSION_STRINGâ undeclared (first use in this function) LIBFVALUE_VERSION_STRING ); ^ vmdkoutput.c:129:3: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [vmdkoutput.o] Error 1 make[1]: Leaving directory
/usr/local/src/libvmdk/vmdktools'
make: *** [all-recursive] Error 1
Before you run configure run:
./synclibs.sh
./autogen.sh
As described here: https://github.com/libyal/libvmdk/wiki/Building#git
I did do that before I ran configure. The configuration file isn't there
unless you run those first.
On Nov 19, 2014 12:00 AM, "Joachim Metz" notifications@github.com wrote:
Before you run configure run:
./synclibs.sh
./autogen.shAs described here: https://github.com/libyal/libvmdk/wiki/Building#git
—
Reply to this email directly or view it on GitHub
#1 (comment).
Sorry not paying attention this morning.
Try changing:
vmdktools/vmdkoutput.c
#if defined( HAVE_LOCAL_LIBFVALUE )
#include <libfvalue_definitions.h>
#elif defined( HAVE_LIBFVALUE_H )
#include <libfvalue.h>
#endif
into:
#include "vmdktools_libfvalue.h"
So am I changing that entire statement to the one include statement? Or
replacing one of the include lines?
On Wed, Nov 19, 2014 at 11:22 AM, Joachim Metz notifications@github.com
wrote:
Sorry not paying attention this morning.
Try changing:
vmdktools/vmdkoutput.c#if defined( HAVE_LOCAL_LIBFVALUE )
#include <libfvalue_definitions.h>
#elif defined( HAVE_LIBFVALUE_H )
#include <libfvalue.h>
#endifinto:
#include "vmdktools_libfvalue.h"
—
Reply to this email directly or view it on GitHub
#1 (comment).
Try the latest commit: fd6cbfe
That did it. Thanks!
On Wed, Nov 19, 2014 at 5:32 PM, Joachim Metz notifications@github.com
wrote:
Try the latest commit: fd6cbfe
fd6cbfe—
Reply to this email directly or view it on GitHub
#1 (comment).
Thx, for confirming. Closing the issue.