search for: xdr_string

Displaying 20 results from an estimated 28 matches for "xdr_string".

2008 Nov 04
1
R 2.8.0 compilation...
...... no checking for GNUstep... no checking for working Foundation implementation... no checking whether C runtime needs -D__NO_MATH_INLINES... no checking for library containing connect... none required checking for library containing gethostbyname... none required checking for library containing xdr_string... none required checking for __setfpucw... no checking whether mktime sets errno... no checking for cblas_cdotu_sub in vecLib framework... no checking for CFStringGetSystemEncoding in CoreFoundation framework... no checking for tclConfig.sh... no checking for tclConfig.sh in library (sub)dir...
2001 Jul 06
4
How to build R-1.3.0 under HP-UX 11.00
...seq.o size.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o vfonts.o xxxpr.o ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a -L/opt/f2c/lib/ -lm -ldld -L/usr/local/li b -ltermcap -lm /usr/bin/ld: Unsatisfied symbols: xdr_double (code) xdr_string (code) xdrstdio_create (code) xdr_bytes (code) xdr_int (code) i_len (code) d_sign (code) collect2: ld returned 1 exit status *** Error exit code 1 Do you know what to do? I have set FLIBS = -L/opt/f2c/lib -ln; previously FLIBS = /opt/f2c/lib -ln and it is not good. Best regards K...
2001 Jul 06
4
How to build R-1.3.0 under HP-UX 11.00
...seq.o size.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o vfonts.o xxxpr.o ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a -L/opt/f2c/lib/ -lm -ldld -L/usr/local/li b -ltermcap -lm /usr/bin/ld: Unsatisfied symbols: xdr_double (code) xdr_string (code) xdrstdio_create (code) xdr_bytes (code) xdr_int (code) i_len (code) d_sign (code) collect2: ld returned 1 exit status *** Error exit code 1 Do you know what to do? I have set FLIBS = -L/opt/f2c/lib -ln; previously FLIBS = /opt/f2c/lib -ln and it is not good. Best regards K...
2010 Jun 01
0
Compiling Samba 3.0.37 --with-afs (Steve Linehan)
...include/rpc/xdr.h:314: error: previous declaration of ?xdr_bytes? was here /usr/include/rx/xdr_prototypes.h:58: error: conflicting types for ?xdr_union? /usr/include/rpc/xdr.h:319: error: previous declaration of ?xdr_union? was here /usr/include/rx/xdr_prototypes.h:59: error: conflicting types for ?xdr_string? /usr/include/rpc/xdr.h:316: error: previous declaration of ?xdr_string? was here /usr/include/rx/xdr_prototypes.h:60: error: conflicting types for ?xdr_wrapstring? /usr/include/rpc/xdr.h:330: error: previous declaration of ?xdr_wrapstring? was here /usr/include/rx/xdr_prototypes.h:64: error: confl...
1999 Apr 22
0
Samba and NIS+ (lengthy desperate plea)
...IS+ lookup failure: Database for table does not exist add_nisppwd_entry: nis_list failure: [name=tack],/opt/samba/private/smbpasswd: Database for table does not exist Program received signal SIGSEGV, Segmentation fault. 0xef5a4614 in strlen () (gdb) bt #0 0xef5a4614 in strlen () #1 0xef695164 in xdr_string () #2 0xef69b130 in xdr_nis_name () #3 0xef69eeac in xdr_nis_object () #4 0xef69b2d8 in xdr_array () #5 0xef69f528 in xdr_nis_result () #6 0xef69bb5c in xdr_free () #7 0xef69f854 in nis_freeresult () #8 0x38a48 in add_nisp21pwd_entry () #9 0x390ec in add_nisppwd_entry () #10 0x35900 in add_...
2001 Jul 09
0
ODP: Re: How to build R-1.3.0 under HP-UX 11.00
....o > subassign.o subscript.o subset.o summary.o unique.o util.o > version.o vfonts.o xxxpr.o ../unix/libunix.a ../appl/libappl.a > ../nmath/libnmath.a -L/opt/f2c/lib/ -lm -ldld -L/usr/local/li > b -ltermcap -lm > /usr/bin/ld: Unsatisfied symbols: > xdr_double (code) > xdr_string (code) > xdrstdio_create (code) > xdr_bytes (code) > xdr_int (code) > i_len (code) > d_sign (code) > collect2: ld returned 1 exit status > *** Error exit code 1 > > Do you know what to do? I have set FLIBS = -L/opt/f2c/lib -ln; previously > FLIBS = /opt/...
2016 Mar 29
3
[PATCH 0/2] added filesystem_walk API
The filesystem_walk API parses the FS internals of a partition and returns a list of all the files and directories contained within. It list deleted files and directories as well. For each node, it reports its relative path, its inode and its allocation status. This is the end user API for inspecting a disk partition content. The command can handle filenames with special characters. Example
2016 Mar 29
0
[PATCH 1/2] added filesystem_walk0 API
...ZE)) == NULL) { + reply_with_perror ("malloc"); + return -1; + } + + /* Serialise tsk_node struct. */ + len = strlen(node_info->tsk_name) + 1; + + xdrmem_create(&xdr, buf, GUESTFS_MAX_CHUNK_SIZE, XDR_ENCODE); + if (!xdr_u_long(&xdr, &len)) + return -1; + if (!xdr_string(&xdr, &node_info->tsk_name, len)) + return -1; + if (!xdr_uint64_t(&xdr, &node_info->tsk_inode)) + return -1; + if (!xdr_uint32_t(&xdr, &node_info->tsk_allocated)) + return -1; + + /* Resize buffer to actual length. */ + len = xdr_getpos(&xdr); + x...
2016 Mar 29
0
[PATCH 1/2] added filesystem_walk API
...info. + * Return 0 on success, -1 on error. + */ +static int +deserialise_inode_info +(guestfs_h *g, XDR *xdrs, struct guestfs_tsk_node *node_info) +{ + size_t len = 0; + CLEANUP_FREE char *buf = NULL; + + if (!xdr_u_long(xdrs, &len)) + return -1; + + buf = safe_malloc(g, len); + + if (!xdr_string(xdrs, &buf, len)) + return -1; + if (!xdr_uint64_t(xdrs, &node_info->tsk_inode)) + return -1; + if (!xdr_uint32_t(xdrs, &node_info->tsk_allocated)) + return -1; + + node_info->tsk_name = safe_strndup(g, buf, len); + + return 0; +} + +/* Free the nodes list. */ +sta...
2016 Apr 03
0
[PATCH v2 4/5] appliance: Added filesystem_walk command
...irent->tsk_inode)) + return -1; + if (!xdr_char (xdrs, &dirent->tsk_type)) + return -1; + if (!xdr_int64_t (xdrs, &dirent->tsk_size)) + return -1; + + /* Deserialise filename. */ + if (!xdr_u_long (xdrs, &len)) + return -1; + buf = safe_malloc (g, len); + if (!xdr_string (xdrs, &buf, len)) + return -1; + dirent->tsk_name = safe_strndup(g, buf, len); + + if (!xdr_uint32_t (xdrs, &dirent->tsk_allocated)) + return -1; + + return 0; +} -- 2.8.0.rc3
2016 Mar 29
5
[PATCH 0/2] added filesystem_walk0 low level API
The filesystem_walk0 API parses the FS internals of a partition and returns a list of all the files and directories contained within. It list deleted files and directories as well. For each node, it reports its relative path, its inode and its allocation status. The output is serialised in XDR format and written to the given file. The command is similar to The Sleuth Kit "fls -rp
2016 Apr 03
0
[PATCH v2 3/5] daemon: Added internal_filesystem_walk command
...+ return -1; + if (!xdr_char (&xdr, &dirent->tsk_type)) + return -1; + if (!xdr_int64_t (&xdr, &dirent->tsk_size)) + return -1; + + /* Serialise filename. */ + len = strlen (dirent->tsk_name) + 1; + if (!xdr_u_long (&xdr, &len)) + return -1; + if (!xdr_string (&xdr, &dirent->tsk_name, len)) + return -1; + + if (!xdr_uint32_t (&xdr, &dirent->tsk_allocated)) + return -1; + + /* Resize buffer to actual length. */ + len = xdr_getpos (&xdr); + xdr_destroy (&xdr); + buf = realloc (buf, len); + if (buf == NULL) { +...
2016 Apr 03
7
[PATCH v2 0/5] Added filesystem_walk command
v2: - Increased the amount of collected information from the FS content. - Moved filesystem_walk0 as internal command. - Code improvement based on comments. - Adhere to project's coding style. - Better command documentation. - More robust tests. Patch ready for review, code available at: https://github.com/noxdafox/libguestfs/tree/filesystem_walk Matteo Cafasso (5): generator:
2016 Apr 04
2
Re: [PATCH v2 3/5] daemon: Added internal_filesystem_walk command
...amp;dirent->tsk_type)) > + return -1; > + if (!xdr_int64_t (&xdr, &dirent->tsk_size)) > + return -1; > + > + /* Serialise filename. */ > + len = strlen (dirent->tsk_name) + 1; > + if (!xdr_u_long (&xdr, &len)) > + return -1; > + if (!xdr_string (&xdr, &dirent->tsk_name, len)) > + return -1; > + > + if (!xdr_uint32_t (&xdr, &dirent->tsk_allocated)) > + return -1; > + > + /* Resize buffer to actual length. */ > + len = xdr_getpos (&xdr); > + xdr_destroy (&xdr); > + buf = re...
2002 Jan 02
0
R ./configure error | Solaris8 / E-450
...ng for strptime... yes checking for system... yes checking for times... yes checking for unsetenv... no checking for vsnprintf... yes checking for strdup... yes checking for library containing connect... -lsocket checking for library containing gethostbyname... -lnsl checking for library containing xdr_string... none required checking for __setfpucw... no checking for working calloc... yes checking for working finite... yes checking for working log... no checking for working strptime... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... ye...
2016 Apr 04
0
Re: [PATCH v2 3/5] daemon: Added internal_filesystem_walk command
...rn -1; > > + if (!xdr_int64_t (&xdr, &dirent->tsk_size)) > > + return -1; > > + > > + /* Serialise filename. */ > > + len = strlen (dirent->tsk_name) + 1; > > + if (!xdr_u_long (&xdr, &len)) > > + return -1; > > + if (!xdr_string (&xdr, &dirent->tsk_name, len)) > > + return -1; > > + > > + if (!xdr_uint32_t (&xdr, &dirent->tsk_allocated)) > > + return -1; > > + > > + /* Resize buffer to actual length. */ > > + len = xdr_getpos (&xdr); > > +...
2016 Apr 05
1
Re: [PATCH v3 4/5] appliance: Added filesystem_walk command
"appliance: Added filesystem_walk command" -> "New API: filesystem_walk" On Tuesday 05 April 2016 18:47:31 Matteo Cafasso wrote: > The filesystem_walk command is the appliance's > counterpart of the daemon's internal_filesystem_walk command. It is not the counterpart in the appliance, but in the library. The appliance is the small VM used to do all the
2009 Dec 16
2
What is the fastest way to see what are in an RData file?
Currently, I load the RData file then ls() and str(). But loading the file takes too long if the file is big. Most of the time, I only interested what the variables are in the the file and the attributes of the variables (like if it is a data.frame, matrix, what are the colnames/rownames, etc.) I'm wondering if there is any facility in R to help me avoid loading the whole file.
2012 Dec 03
0
need help for R's installation
...... yes checking whether mkdtemp is declared... no checking whether strdup is declared... yes checking whether strncasecmp is declared... yes checking for library containing connect... none required checking for library containing gethostbyname... none required checking for library containing xdr_string... -lnsl checking for __setfpucw... no checking for working calloc... yes checking for working isfinite... yes checking for working log1p... yes checking whether ftell works correctly on files opened for append... yes checking for working sigaction... yes checking whether mktime sets errno.....
2006 Jun 22
2
Error - Compiling R on a Sun V40Z - R/R-2.2.1 (PR#9024)
...printf is declared... yes checking whether strdup is declared... no checking whether strncasecmp is declared... no checking whether vsnprintf is declared... yes checking for library containing connect... -lsocket checking for library containing gethostbyname... -lnsl checking for library containing xdr_string... none required checking for __setfpucw... no checking for working calloc... yes checking for working finite... yes checking for working log... no checking for working log1p... yes checking for working strptime... yes checking whether ftell works correctly on files opened for append... yes checkin...