[Libguestfs] Compilation troubles
Alessandro Dentella
sandro at e-den.it
Mon Mar 12 07:38:11 UTC 2012
Thanks Richard,
On Sun, Mar 11, 2012 at 09:50:35PM +0000, Richard W.M. Jones wrote:
> On Sun, Mar 11, 2012 at 08:43:56PM +0100, Alessandro Dentella wrote:
> > Hi,
> >
> > I'm trying to compile hivex library that I just discovered. I'd use binaries
> > but I only have an i386 ubuntu and debian so I tryied to compile.
> >
> > ./configure finished with incouraging::
> >
> > -----------------------------------------------------------
> > Thank you for downloading hivex 1.3.3
> >
> > This is how we have configured the optional components for you today:
> >
> > OCaml bindings ...................... no
> > Perl bindings ....................... yes
> > Python bindings ..................... yes
> > Ruby bindings ....................... no
> >
> > If any optional component is configured 'no' when you expected 'yes'
> > then you should check the preceeding messages.
> >
> > Please report bugs back to the mailing list:
> > http://www.redhat.com/mailman/listinfo/libguestfs
> >
> > Next you should type 'make' to build the package,
> > then 'make check' to run the tests.
> > ------------------------------------------------------------
> >
> >
> > but then compilation end badly::
> >
> > Making all in xml
> > make[2]: Entering directory `/tmp/hivex-1.3.3/xml'
> > CCLD hivexml
> > hivexml-hivexml.o: In function `main':
> > /tmp/hivex-1.3.3/xml/hivexml.c:96: undefined reference to `rpl_getopt'
> > /tmp/hivex-1.3.3/xml/hivexml.c:110: undefined reference to `rpl_optind'
> > /tmp/hivex-1.3.3/xml/hivexml.c:154: undefined reference to `rpl_optind'
> > collect2: ld returned 1 exit status
> > make[2]: *** [hivexml] Error 1
> > make[2]: Leaving directory `/tmp/hivex-1.3.3/xml'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/tmp/hivex-1.3.3'
> > make: *** [all] Errore 2
> >
> >
> > And I'm not enought skilled to understand it. The error is on ubuntu 10.04.
> > A complete log can be viewd at http://pastebin.com/0s9UnxPh
>
> I don't understand why you see the error, but it comes from gnulib.
> Is gnulib/lib/libgnu.a getting built and does it contain the
no, it's not there
> rpl_getopt symbol? You shouldn't need that symbol though, because
> getopt should be defined in glibc. Maybe you don't have the libc6-dev
> package installed?
Yes I have it:
ii libc6-dev 2.11.1-0ubuntu7.3 Embedded GNU C Library: Development Libraries...
can I check something else?
sandro
*:-)
More information about the Libguestfs
mailing list