Displaying 20 results from an estimated 124 matches for "lguestfs".
Did you mean:
guestfs
2017 Sep 01
2
Re: The issue about code coverage for libguestfs
..."; export CFLAGS
> > +LDFLAGS="-fprofile-arcs -ftest-coverage -lgcov"; export LDFLAGS
>
> > +sed -i 's/^CFLAGS = -fprofile-arcs -ftest-coverage -g -O0/CFLAGS = /g'
> > /home/mockbuild/rpmbuild/BUILD/libguestfs-1.36.5/ocaml/Makefile
>
> > ../libmlguestfs.a(libguestfsocaml_a-utils.o): In function
> > `guestfs_int_string_is_valid':
> > utils.c:(.text+0xb99): undefined reference to `c_isalpha'
> > utils.c:(.text+0xbbf): undefined reference to `c_isdigit'
>
> I suppose that we need to link the OCaml bindings to -lgn...
2020 Mar 11
4
[PATCH] lib: remove extra @LIBS@ from pkg-config file
...n(+), 1 deletion(-)
diff --git a/lib/libguestfs.pc.in b/lib/libguestfs.pc.in
index 679ed7eba..013bf0f28 100644
--- a/lib/libguestfs.pc.in
+++ b/lib/libguestfs.pc.in
@@ -8,4 +8,4 @@ Version: @VERSION@
Description: libguestfs library for accessing and modifying VM images
Requires:
Cflags:
-Libs: -lguestfs @LIBS@
+Libs: -lguestfs
--
2.24.1
2013 Jan 30
0
[PATCH] build: Fix haskell dependencies and parallel build
...uestfs.la
all: $(all_targets)
-Guestfs.o: $(srcdir)/Guestfs.hs
- $(GHC) $(GHCFLAGS) -c $< -o $@
+built_tests = Bindtests Guestfs010Load Guestfs030Config Guestfs050LVCreate
-Bindtests: $(srcdir)/Bindtests.hs Guestfs.o
- $(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
+# Building with ghc --make doesn't work properly here because it
+# always rebuilds Guestfs.o despite it being up to date. So if you:
+#
+# * build Guestfs010Load, then build it again, the second time it will
+# not be rebuilt.
+#
+# * build Guestfs010Load, then build Guestfs030Config, then bu...
2017 Aug 31
2
The issue about code coverage for libguestfs
...ackage unix -c guestfs.ml -o guestfs.cmx
rm -f libguestfsocaml.a
ar cr libguestfsocaml.a libguestfsocaml_a-guestfs-c.o libguestfsocaml_a-guestfs-c-actions.o libguestfsocaml_a-guestfs-c-errnos.o ../common/utils/libguestfsocaml_a-utils.o ../gnulib/lib/libgnu.la
ranlib libguestfsocaml.a
ocamlmklib -o mlguestfs \
libguestfsocaml_a-guestfs-c.o libguestfsocaml_a-guestfs-c-actions.o libguestfsocaml_a-guestfs-c-errnos.o ../common/utils/libguestfsocaml_a-utils.o guestfs.cmo \
-fprofile-arcs -ftest-coverage -lgcov \
\
-L../lib/.libs -lguestfs
Unknown option -fprofile-arcs
Unknown option -ftest-coverage...
2015 Jun 27
1
The usage if libguestfs
HI all:
my problem is :
I want to use libguestfs on other project.
if I just run a test C programm It works well
just run : cc prog.c -o prog -lguestfs -I
/usr/libguestfs/libguestfs-1.28.10/src/
I write a C programm in my project , after that I run make , it happend:
/usr/nitro/libvmi-master/libvmi/.libs/libvmi.so: undefined reference to
`guestfs_launch'
/usr/nitro/libvmi-master/libvmi/.libs/libvmi.so: undefined reference to
`guestfs_clos...
2017 Aug 31
0
Re: The issue about code coverage for libguestfs
...profile-arcs -ftest-coverage -g -O0"; export CFLAGS
> +LDFLAGS="-fprofile-arcs -ftest-coverage -lgcov"; export LDFLAGS
> +sed -i 's/^CFLAGS = -fprofile-arcs -ftest-coverage -g -O0/CFLAGS = /g' /home/mockbuild/rpmbuild/BUILD/libguestfs-1.36.5/ocaml/Makefile
> ../libmlguestfs.a(libguestfsocaml_a-utils.o): In function `guestfs_int_string_is_valid':
> utils.c:(.text+0xb99): undefined reference to `c_isalpha'
> utils.c:(.text+0xbbf): undefined reference to `c_isdigit'
I suppose that we need to link the OCaml bindings to -lgnu, which
your patch attempts:...
2018 Sep 27
1
[PATCH] ocaml: make sure to pass LDFLAGS to ocamlmklibs linker (RHBZ#1624130)
...commit 34c23403c51a4d59d826c8045e06f9aabc2ceb16.
---
ocaml/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index 752fc109c..4d13eed97 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -64,14 +64,14 @@ endif
stamp-mlguestfs: libguestfsocaml.a $(guestfs_cmm)
$(OCAMLMKLIB) -o mlguestfs \
+ -ldopt '$(LDFLAGS)' \
$(libguestfsocaml_a_OBJECTS) guestfs.cmo \
- $(LDFLAGS) \
$(LTLIBINTL) \
-L../lib/.libs -lguestfs
if HAVE_OCAMLOPT
$(OCAMLMKLIB) -o mlguestfs \
+ -ldopt '$(LDFLAGS)' \
$...
2014 Mar 22
2
Re: [PATCH] Fix building on architectures where ocamlopt is not available
...ion 3.79 and up of GNU make to not build goals in this
>> +# directory in parallel.
>> +.NOTPARALLEL:
>
> ^ This makes building the OCaml subdirectory very slow (I normally
> build with MAKEFLAGS=-j9). Was there a reason for adding this?
I think I added this because both the mlguestfs.cma and mlguestfs.cmxa
targets generate libmlguestfs.a:
mlguestfs.cma: libguestfsocaml.a guestfs.cmo
$(OCAMLMKLIB) -o mlguestfs \
$(libguestfsocaml_a_OBJECTS) guestfs.cmo \
-L$(top_builddir)/src/.libs -lguestfs
mlguestfs.cmxa: libguestfsocaml.a guestfs.cmx
$(OCAMLMKLIB) -o mlguestfs \...
2017 Sep 01
0
Re: The issue about code coverage for libguestfs
On Fri, Sep 01, 2017 at 04:28:52AM -0400, Yongkui Guo wrote:
> > stamp-mlguestfs: libguestfsocaml.a $(guestfs_cmm)
> > $(OCAMLMKLIB) -o mlguestfs \
> > $(libguestfsocaml_a_OBJECTS) guestfs.cmo \
> > $(LDFLAGS) \
> > $(LTLIBINTL) \
> > - -L../lib/.libs -lguestfs
> > + -L../lib/.libs -lg...
2011 Nov 15
3
[PATCH 1/3] out of tree build: erlang
From: Hilko Bengen <bengen at hilluzination.de>
---
erlang/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/erlang/Makefile.am b/erlang/Makefile.am
index f336375..2c9e359 100644
--- a/erlang/Makefile.am
+++ b/erlang/Makefile.am
@@ -32,7 +32,7 @@ erlang_bindir = $(libdir)/erlang/lib/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/ebin
erlang_bin_DATA = guestfs.beam
2020 Mar 11
0
Re: [PATCH] lib: remove extra @LIBS@ from pkg-config file
...estfs.pc.in b/lib/libguestfs.pc.in
> index 679ed7eba..013bf0f28 100644
> --- a/lib/libguestfs.pc.in
> +++ b/lib/libguestfs.pc.in
> @@ -8,4 +8,4 @@ Version: @VERSION@
> Description: libguestfs library for accessing and modifying VM images
> Requires:
> Cflags:
> -Libs: -lguestfs @LIBS@
> +Libs: -lguestfs
If I recall, @LIBS@ is the user-controlled variable for adding
dependencies on a user-specified library beyond what configure would
normally find. You're right that it is usually empty, but if a user
runs './configure LIBS=...' to pick up something spec...
2020 Mar 11
0
Re: [PATCH] lib: remove extra @LIBS@ from pkg-config file
...bguestfs.pc.in b/lib/libguestfs.pc.in
> index 679ed7eba..013bf0f28 100644
> --- a/lib/libguestfs.pc.in
> +++ b/lib/libguestfs.pc.in
> @@ -8,4 +8,4 @@ Version: @VERSION@
> Description: libguestfs library for accessing and modifying VM images
> Requires:
> Cflags:
> -Libs: -lguestfs @LIBS@
> +Libs: -lguestfs
I don't really know about this any better than Eric, but I did look at
the about 250 *.pc.in files in random development trees in my home
directory. Not a statistically independent sample!
Only these (discounting libguestfs) have @LIBS@ in the file:
- augeas
-...
2012 Jan 23
2
[PATCH libguestfs] build: don't use automake-internal variable
...not quite right.
Here's the fix:
>From 5294c21cf07c4ec2f094182ba9f32696f3de2751 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Mon, 23 Jan 2012 10:01:40 +0100
Subject: [PATCH libguestfs] build: don't use automake-internal variable
* ocaml/Makefile.am (mlguestfs.cma): Use the documented variable form,
$(libguestfsocaml_a_OBJECTS), not the $(am_libguestfsocaml_a_OBJECTS)
that I suggested for commit 1.15.16-17-g8b9eaec.
---
ocaml/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
ind...
2013 Jan 04
1
[PATCH] gobject: Add pkg-config for gobject bindings
...a/gobject/Makefile.am b/gobject/Makefile.am
index d949401..864b6b1 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -57,6 +57,9 @@ libguestfs_gobject_1_0_la_LIBS = $(GOBJECT_LIBS)
libguestfs_gobject_1_0_la_LDFLAGS = $(LDFLAGS) -L$(top_builddir)/src
libguestfs_gobject_1_0_la_LIBADD = -lguestfs
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libguestfs-gobject-1.0.pc
+
# All the headers except <guestfs-gobject.h> should be installed
# in the subdirectory.
install-data-hook:
diff --git a/gobject/libguestfs-gobject-1.0.pc.in b/gobject/libguestfs-gobject-1.0.pc.in
new file m...
2009 Nov 19
3
Fix parallel make (v3)
This new series condenses all of the previously posted patches into new patch
1/2.
The second patch is a new fix for parallel build in the haskell directory.
2020 Mar 10
2
[PATCH virt-v2v] v2v: Use LIBGUESTFS_CFLAGS/LIBS when compiling and linking.
Allows virt-v2v to be compiled against the libguestfs build directory.
---
v2v/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/v2v/Makefile.am b/v2v/Makefile.am
index 2a196d45d..104420d13 100644
--- a/v2v/Makefile.am
+++ b/v2v/Makefile.am
@@ -197,6 +197,7 @@ virt_v2v_CPPFLAGS = \
-I$(top_srcdir)/lib
virt_v2v_CFLAGS = \
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
+
2012 Jan 18
4
[PATCH 1/4] ocaml: Add -Wno-missing-field-initializers to avoid a warning.
From: "Richard W.M. Jones" <rjones at redhat.com>
---
configure.ac | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index fa97479..6e42423 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,10 @@ if test "$gl_gcc_warnings" = yes; then
# Work around warning in src/inspect.c. This seems to be a bug in gcc
2014 Oct 28
2
Re: some compile errors
On Tue, Oct 28, 2014 at 11:22:47PM +0800, Zhi Yong Wu wrote:
> HI, Richard
>
> Can you know what is missing when the following issue took place?
>
> #gcc mount-local.c -o mount-local -lguestfs
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libguestfs.so:
> undefined reference to `guestfs__internal_test_rconstoptstring'
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libguestfs.so:
> undefined reference to `guestfs__internal_test_rstringlist'
[.....
2014 Feb 28
6
[PATCH] Fix building on architectures where ocamlopt is not available
....cmo,$(deps))
+endif
+
bin_SCRIPTS = virt-builder
# -I $(top_builddir)/src/.libs is a hack which forces corresponding -L
@@ -134,12 +140,22 @@ OCAMLCLIBS = \
-pthread -lpthread \
-lncurses -lcrypt
+if HAVE_OCAMLOPT
virt-builder: $(OBJECTS)
$(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) \
mlguestfs.cmxa -linkpkg $^ \
-cclib '$(OCAMLCLIBS)' \
$(OCAML_GCOV_LDFLAGS) \
-o $@
+else
+virt-builder: $(OBJECTS)
+ $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) \
+ mlguestfs.cma -linkpkg $^ \
+ -cclib '$(OCAMLCLIBS)' \
+ -custom \
+ $(OCAML_GCOV_LDFLAGS) \
+ -o $@
+endif
.ml...
2015 Feb 03
1
Re: make install ignoring PREFIX for bash_completion
> > After using 'python sdist', can't you use the tarball (in python/dist)
> > in order to create a venv directly?
>
> I think I will be able to install the python library in the venv using
> the tarball. However, won't my liguestfs application require some of
> the binaries installed as part of 'make install' for running? I am
> trying to not