Displaying 20 results from an estimated 161 matches for "xdrmem_creat".
Did you mean:
xdrmem_create
2020 Jun 02
2
Fwd: Hello
...searching on the internet, it does look like the package portablexdr is
obsolete.
Could it be that this is a known issue? Could it be there already is a
workaround this? Do you suppose this should go into the mailing list?
Sincerely,
David.
[1]
checking for WIRESHARK_DISSECTOR... no
checking for xdrmem_create in -lportablexdr... no
checking for library containing xdrmem_create... no
configure: error: Cannot find a XDR library
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200602/89aaf8c4/attachment.htm&g...
2011 Dec 28
1
cannot find -lportablexdr
When I try to compile libvirt:
checking for xdrmem_create in -lportablexdr... no
checking for library containing xdrmem_create... no
configure: error: Cannot find a XDR library
Where have that libxdr source?
Thanks.
--
Juliano Souza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives...
2010 Aug 12
1
building libvirt-0.8.3 for windows ( with dlls )
...td
the last 10 lines of configure:
checking for mntent.h... no
checking net/ethernet.h usability... no
checking net/ethernet.h presence... no
checking for net/ethernet.h... no
checking linux/magic.h usability... no
checking linux/magic.h presence... no
checking for linux/magic.h... no
checking for xdrmem_create in -lportablexdr... no
checking for library containing xdrmem_create... no
configure: error: Cannot find a XDR library
is there a a guide somewhere in the list for compiling the windows
version on mingw?
Thanks,
Gal Gafni Chen
CSL-WAVE Developer
2017 Mar 06
0
[PATCH] lib: Prefer tirpc for XDR, and rationlise how we search for alternatives.
...ave libtirpc, then we must have <rpc/xdr.h> and
+ dnl some library to link to in libdir.
+ RPC_CFLAGS=""
+ AC_CHECK_HEADER([rpc/xdr.h],[],[
+ AC_MSG_ERROR([XDR header files are required])])
+
+ old_LIBS="$LIBS"
+ LIBS=""
+ AC_SEARCH_LIBS([xdrmem_create],[portablexdr rpc xdr nsl])
+ RPC_LIBS="$LIBS"
+ LIBS="$old_LIBS"
+
+ AC_SUBST([RPC_CFLAGS])
+ AC_SUBST([RPC_LIBS])
+])
+
AC_CHECK_PROG([RPCGEN],[rpcgen],[rpcgen],[no])
AM_CONDITIONAL([HAVE_RPCGEN],[test "x$RPCGEN" != "xno"])
-AC_CHECK_LIB([por...
2017 Mar 07
1
[PATCH v2] lib: Prefer tirpc for XDR, and rationalise how we search for alternatives.
v1 -> v2:
- No functional changes to the patch, just fixes a few bugs.
Rich.
2020 Jun 03
0
Re: Fwd: Hello
...rnet, it does look like the package portablexdr is
> obsolete.
>
> Could it be that this is a known issue? Could it be there already is a
> workaround this? Do you suppose this should go into the mailing list?
>
> [1]
> checking for WIRESHARK_DISSECTOR... no
> checking for xdrmem_create in -lportablexdr... no
> checking for library containing xdrmem_create... no
> configure: error: Cannot find a XDR library
You're missing a build pre-requisite library for XDR. On Linux distros
this is provided by "tirpc" these days, try libtirpc-devel RPM or
libtirpc-dev D...
2009 Nov 25
1
[PATCH] daemon/Win32: Use xdr_u_int for PortableXDR compatibility.
...+++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index 67206d0..f31f1f2 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -311,7 +311,7 @@ main (int argc, char *argv[])
XDR xdr;
uint32_t len = GUESTFS_LAUNCH_FLAG;
xdrmem_create (&xdr, lenbuf, sizeof lenbuf, XDR_ENCODE);
- xdr_uint32_t (&xdr, &len);
+ xdr_u_int (&xdr, &len);
if (xwrite (sock, lenbuf, sizeof lenbuf) == -1)
exit (EXIT_FAILURE);
diff --git a/daemon/proto.c b/daemon/proto.c
index 4106d92..2231037 100644
--- a/daemon/proto.c
+++...
2016 Aug 25
0
[PATCH v2 2/6] daemon: refactor tsk code
...e->meta, &dirent);
- ret = send_dirent_info (&dirent);
- ret = (ret == 0) ? TSK_WALK_CONT : TSK_WALK_ERROR;
+ /* Serialize tsk_dirent struct. */
+ buf = malloc (GUESTFS_MAX_CHUNK_SIZE);
+ if (buf == NULL) {
+ perror ("malloc");
+ return -1;
+ }
- return ret;
+ xdrmem_create (&xdr, buf, GUESTFS_MAX_CHUNK_SIZE, XDR_ENCODE);
+
+ ret = xdr_guestfs_int_tsk_dirent (&xdr, &dirent);
+ if (ret == 0) {
+ perror ("xdr_guestfs_int_tsk_dirent");
+ return -1;
+ }
+
+ len = xdr_getpos (&xdr);
+
+ xdr_destroy (&xdr);
+
+ /* Send serialised t...
2012 Apr 26
1
[PATCH 1/2] gobject: Use generator_built macro to ensure generated files are rebuilt properly.
From: "Richard W.M. Jones" <rjones at redhat.com>
---
generator/generator_gobject.ml | 4 ++--
gobject/Makefile.am | 14 +++++++++-----
gobject/Makefile.inc | 4 ++--
3 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml
index 17c6c36..3096501 100644
---
2010 Oct 05
1
problems installing R (Matteo)
...s
checking for stdint.h... yes
checking for unistd.h... yes
checking rpc/xdr.h usability... yes
checking rpc/xdr.h presence... yes
checking for rpc/xdr.h... yes
checking rpc/types.h usability... yes
checking rpc/types.h presence... yes
checking for rpc/types.h... yes
checking for library containing xdrmem_create... none required
checking zconf.h usability... yes
checking zconf.h presence... yes
checking for zconf.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing deflate... -lz
configure: creating ./config.status
config.stat...
2013 Mar 07
3
[PATCH 0/3] protocol: Abstract out socket operations.
I've been taking a long hard look at the protocol layer. It has
evolved over a long time without any particular direction, and the
result is, to say the least, not very organized.
These patches take a first step at cleaning up the mess by abstracting
out socket operations from the rest of the code. The purpose of this
is to allow us to slot in a different connection layer under the
2010 Jun 01
0
Compiling Samba 3.0.37 --with-afs (Steve Linehan)
...clude/rpc/xdr.h:324: error: previous declaration of ?xdr_float? was
here
/usr/include/rx/xdr_prototypes.h:65: error: conflicting types for
?xdr_double?
/usr/include/rpc/xdr.h:325: error: previous declaration of ?xdr_double? was
here
/usr/include/rx/xdr_prototypes.h:69: error: conflicting types for
?xdrmem_create?
/usr/include/rpc/xdr.h:353: error: previous declaration of ?xdrmem_create?
was here
/usr/include/rx/xdr_prototypes.h:78: error: conflicting types for
?xdrrec_create?
/usr/include/rpc/xdr.h:363: error: previous declaration of ?xdrrec_create?
was here
/usr/include/rx/xdr_prototypes.h:79: error: con...
2012 Jan 24
14
[PATCH 00/14] Run the daemon under valgrind and fix resultant errors.
This patch series lets you run the daemon under valgrind.
Many errors were found and fixed.
With the complete series applied, valgrind doesn't show any errors.
2016 Nov 22
2
Re: [PATCH v2 4/6] New API: internal_yara_scan
...; + detection.name = (char *) name;
> + detection.rule = (char *) rule->identifier;
> +
> + /* Serialize detection struct. */
> + buf = malloc (GUESTFS_MAX_CHUNK_SIZE);
> + if (buf == NULL) {
> + perror ("malloc");
> + return -1;
> + }
> +
> + xdrmem_create (&xdr, buf, GUESTFS_MAX_CHUNK_SIZE, XDR_ENCODE);
> +
> + ret = xdr_guestfs_int_yara_detection (&xdr, &detection);
> + if (ret == 0) {
> + perror ("xdr_guestfs_int_yara_detection");
> + return -1;
> + }
> +
> + len = xdr_getpos (&xdr);
>...
2016 Apr 05
1
Re: [PATCH v3 4/5] appliance: Added filesystem_walk command
...umber of deserialised dirents, -1 on error.
> + */
> +int
> +deserialise_dirent_list (guestfs_h *g, char *buf, size_t bufsize,
> + struct guestfs_tsk_dirent_list *dirents)
> +{
> + XDR xdr;
> + bool_t ret = 0;
> + uint32_t index = 0;
> +
> + xdrmem_create (&xdr, buf, bufsize, XDR_DECODE);
> +
> + for (index = 0; xdr_getpos (&xdr) < bufsize; index++) {
> + if (index == dirents->len) {
> + dirents->len = 2 * dirents->len;
> + dirents->val = safe_realloc (g, dirents->val,
> +...
2020 Mar 30
2
"configure: error: Unable to find <rpc/rpc.h>" when compiling libvirt 6.0.0 from a release tarball
.... (cached) no
checking for sanlock_init in -lsanlock_client... no
checking for SASL... no
checking for fgetfilecon_raw in -lselinux... no
checking for SSH2... no
checking for UDEV... no
checking whether to compile with virtual port support... yes
checking for WIRESHARK_DISSECTOR... no
*checking for xdrmem_create in -lportablexdr... yes**
**checking for xdr_u_int64_t... no**
**checking where to find <rpc/rpc.h>... missing**
**configure: error: Unable to find <rpc/rpc.h>*
[root@centos8 build]#
--
FuLong Wang
fulong.wang@cn.ibm.com
IBM China Systems Lab, Beijing, China
____________________...
2016 Aug 26
6
[PATCH v3 0/6] New API: find_inode
v3:
- coding style fixes
- comment entry_is_dot logic
Matteo Cafasso (6):
filesystem_walk: fixed root inode listing
daemon: refactor tsk code
lib: rename tsk internal function
New API: internal_find_inode
New API: find_inode
find_inode: added API tests
daemon/tsk.c | 157 ++++++++++++++++++++++++++++++-------------
generator/actions.ml | 21 ++++++
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
.../proc/cmdline. */
diff --git a/daemon/proto.c b/daemon/proto.c
index a0d3736..284037d 100644
--- a/daemon/proto.c
+++ b/daemon/proto.c
@@ -63,7 +63,7 @@ main_loop (int _sock)
/* Read the length word. */
if (xread (sock, lenbuf, 4) == -1)
- exit (1);
+ exit (EXIT_FAILURE);
xdrmem_create (&xdr, lenbuf, 4, XDR_DECODE);
xdr_uint32_t (&xdr, &len);
@@ -72,7 +72,7 @@ main_loop (int _sock)
if (len > GUESTFS_MESSAGE_MAX) {
fprintf (stderr, "guestfsd: incoming message is too long (%u bytes)\n",
len);
- exit (1);
+ exit (E...
2015 Nov 09
6
[PATCH 0/5] build: Enable some more warnings.
Add some warnings. Well, the first patch is a miscellaneous
change, but patches 2-5 add some warnings.
Rich.
2003 Mar 26
2
what actually uses xdr_mem.c?
In regards to FreeBSD-SA-03:05.xdr, does anyone know which static binaries
or tools under /bin or /sbin actually use that problem code?
The recent XDR fixes the xdrmem_getlong_aligned(),
xdrmem_putlong_aligned(), xdrmem_getlong_unaligned(),
xdrmem_putlong_unaligned(), xdrmem_getbytes(), and/or xdrmem_putbytes()
functions, but it is difficult to know what uses these (going backwards
manually).