Displaying 20 results from an estimated 28 matches for "have_va_copy".
2006 Sep 29
1
Possible bug in Rcons_vprintf
...BUFSIZE. Here's a one-line fix:
Index: src/main/printutils.c
===================================================================
--- src/main/printutils.c       (revision 39548)
+++ src/main/printutils.c       (working copy)
@@ -638,7 +638,7 @@
             res = R_BUFSIZE;
      }
  #endif /* HAVE_VA_COPY */
-    R_WriteConsole(p, strlen(buf));
+    R_WriteConsole(p, strlen(p));
  #ifdef HAVE_VA_COPY
      if(usedRalloc) vmaxset(vmax);
      if(usedVasprintf) free(p);
Jeff
-- 
http://biostat.mc.vanderbilt.edu/JeffreyHorner
2006 Jun 13
1
R-2.3.1 does not install on FreeBSD 4.11-RELEASE (PR#8971)
...E) */
-      va_start(arg, format);
+      /* va_start(arg, format); */ /* not for FREEBSD_4 */
       (con->vfprintf)(con, format, arg);
-      va_end(arg);
+      /* va_end(arg); */
+      /* not for FREEBSD_4 */
 #endif
       con->fflush(con);
       con_num = getActiveSink(i++);
 #ifndef HAVE_VA_COPY
-      if (con_num>0) error("Internal error: this platform does not support
split output")
+      if (con_num>0) {error("Internal error: this platform does not support
split output");}
 #endif
     } while(con_num>0);
 
Also, I needed to fix the permission after doing
m...
2004 Oct 23
1
Issues with compiling wine
...1
| #define HAVE_FREETYPE_FTGLYPH_H 1
| #define HAVE_FREETYPE_TTTABLES_H 1
| #define HAVE_FREETYPE_FTSNAMES_H 1
| #define HAVE_FREETYPE_TTNAMEID_H 1
| #define HAVE_FREETYPE_FTOUTLN_H 1
| #define HAVE_FREETYPE_INTERNAL_SFNT_H 1
| #define HAVE_FREETYPE_FTTRIGON_H 1
| #define HAVE_FREETYPE 1
| #define HAVE_VA_COPY 1
| #define HAVE___VA_COPY 1
| #define HAVE_SIGSETJMP 1
| #define HAVE_PTHREAD_RWLOCK_T 1
| #define HAVE_PTHREAD_RWLOCKATTR_T 1
| /* end confdefs.h.  */
| /* Define pthread_getattr_np to an innocuous variant, in case <limits.h> declares pthread_getattr_np.
|    For example, HP-UX 11i <limi...
2009 Sep 10
5
compiling samba-3.4.x on RHEL4
hello
when I try to compile samba-3.4.x on RHEL4 with the samba.spec in the packaging folder I always get this error:
Compiling ../lib/talloc/talloc.c
../lib/talloc/talloc.c:50:21: replace.h: No such file or directory
../lib/talloc/talloc.c: In function `_talloc_realloc':
../lib/talloc/talloc.c:987: error: `bool' undeclared (first use in this function)
../lib/talloc/talloc.c:987: error:
2014 Nov 14
10
[Bug 2315] New: OpenSSH 6.7p1 on AIX 7.1 compile issue
...M XL C/C++ 10.1.0.20
I was able to compile OpenSSH 6.6p1 with OpenSSL 1.0.1i and zlib 1.2.8
with this procedure without issue.
I've found that by adding this in sshbuf-getput-basic.c and by
replacing every occurence of va_copy by VA_COPY, I'm now able to
compile it.
#ifndef VA_COPY
# ifdef HAVE_VA_COPY
#  define VA_COPY(dest, src) va_copy(dest, src)
# else
#  ifdef HAVE___VA_COPY
#   define VA_COPY(dest, src) __va_copy(dest, src)
#  else
#   define VA_COPY(dest, src) (dest) = (src)
#  endif
# endif
#endif
This fix/workaround is inspired by openbsd-compat/bsd-snprintf.c
Do you believe it would b...
2005 Oct 11
0
[Bug 3159] New: VA_COPY() brokenness
...e: op "=" 
cc: acomp failed for lib/snprintf.c 
*** Error code 2 
make: Fatal error: Command failed for target `lib/snprintf.o' 
----(end snip)---- 
 
The system is using the fallback definition of VA_COPY(), i.e. "(dest) = 
(src)", instead of the va_copy() function. Neither HAVE_VA_COPY nor 
HAVE___VA_COPY is defined. Why not? Because they are defined as macros in the 
system headers, and rsync's configure script looks for them via AC_CHECK_FUNCS.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You...
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
...RLCAT
   HAVE_STRLCPY
   HAVE_STRPBRK
   HAVE_STRTOUL
   HAVE_STRUCT_DIRENT64
   HAVE_STRUCT_FLOCK64
   HAVE_SYMLINK
   HAVE_SYSCALL
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_UNIXSOCKET
   HAVE_UPDWTMP
   HAVE_UPDWTMPX
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMES
   HAVE_UX_UT_SYSLEN
   HAVE_VA_COPY
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSNPRINTF_DECL
   HAVE_VSYSLOG
   HAVE_WAITPID
   HAVE_YP_GET_DEFAULT_DOMAIN
   HAVE__ACL
   HAVE__CHDIR
   HAVE__CLOSE
   HAVE__CLOSEDIR
   HAVE__DUP
   HAVE__DUP2
   HAVE__ET_LIST
   HAVE__FACL
   HAVE__FCHDIR
   HAVE__FCNTL
   HAVE__FORK
   HAVE__FSTAT...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...ST
   HAVE_STRUCT_SECMETHOD_TABLE_METHOD_VERSION
   HAVE_STRUCT_STAT_ST_RDEV
   HAVE_STRUCT_TIMESPEC
   HAVE_ST_RDEV
   HAVE_SYMLINK
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_TELLDIR64
   HAVE_UNIXSOCKET
   HAVE_UNSIGNED_CHAR
   HAVE_UPDWTMP
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
  HAVE_UTIMES
  HAVE_VA_COPY
  HAVE_VOLATILE
  HAVE_VSNPRINTF
  HAVE_VSNPRINTF_DECL
  HAVE_WAITPID
  HAVE_YP_GET_DEFAULT_DOMAIN
  HAVE__LSEEK
  HAVE__READDIR
  HAVE__READDIR64
  HAVE___FCNTL
  HAVE___FORK
--with Options:
  WITH_AIO
  WITH_SENDFILE
  WITH_SYSLOG
  WITH_UTMP
  WITH_WINBIND
Build Options:
  AIX
  AIX_SENDFILE_A...
2007 Sep 24
2
Where is the tdbsam password database file?
...ST_RDEV
   HAVE_SYMLINK
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_SYS_QUOTAS
   HAVE_TICKET_POINTER_IN_KRB5_AP_REQ
   HAVE_TIMEGM
   HAVE_UNIXSOCKET
   HAVE_UNSETENV
   HAVE_UPDWTMP
   HAVE_UPDWTMPX
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMES
   HAVE_VASPRINTF
   HAVE_VASPRINTF_DECL
   HAVE_VA_COPY
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSNPRINTF_DECL
   HAVE_VSYSLOG
   HAVE_WAITPID
   HAVE_WORKING_AF_LOCAL
   HAVE_WRFILE_KEYTAB
   HAVE_XFS_QUOTAS
   HAVE_YP_GET_DEFAULT_DOMAIN
   HAVE__Bool
   HAVE__ET_LIST
   HAVE__VA_ARGS__MACRO
   HAVE___CLOSE
   HAVE___DUP2
   HAVE___FCNTL
   HAVE___F...
2006 Jul 02
1
snprintf.c:(.text+0x14): undefined reference to `VA_COPY'
Trying to compile Samba 2.2.8a on Solaris 10.
Changing Samba versions is not an option. Too many
production systems hanging off that PDC.
Samba 2.2.8a
SunOS smb244-1 5.10 Generic sun4u sparc SUNW,Sun-Fire-V210
Tried gcc 3.3.2 and 2.95.3.
Everything compiles but when it tries to link I get
the following error. I searched the archives but
didn't find any answer for this. How do I fix this?
2005 May 07
0
force group broken in 3.0.14?
...HAVE_STRUCT_FLOCK64
  HAVE_STRUCT_STAT_ST_RDEV
  HAVE_ST_RDEV
  HAVE_SYMLINK
  HAVE_SYSCALL
  HAVE_SYSCONF
  HAVE_SYSLOG
  HAVE_SYS_QUOTAS
  HAVE_TIMEGM
  HAVE_UNIXSOCKET
  HAVE_UPDWTMP
  HAVE_UPDWTMPX
  HAVE_USLEEP
  HAVE_UTIMBUF
  HAVE_UTIME
  HAVE_UTIMES
  HAVE_VASPRINTF
  HAVE_VASPRINTF_DECL
  HAVE_VA_COPY
  HAVE_VOLATILE
  HAVE_VSNPRINTF
  HAVE_VSNPRINTF_DECL
  HAVE_VSYSLOG
  HAVE_WAITPID
  HAVE_XFS_QUOTAS
  HAVE_YP_GET_DEFAULT_DOMAIN
  HAVE__ET_LIST
  HAVE___CLOSE
  HAVE___DUP2
  HAVE___FCNTL
  HAVE___FORK
  HAVE___FSTAT
  HAVE___FXSTAT
  HAVE___LSEEK
  HAVE___LSTAT
  HAVE___LXSTAT
  HAVE___OPEN...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...SYSCONF
   HAVE_SYSLOG
   HAVE_SYS_QUOTAS
   HAVE_TEXTDOMAIN
   HAVE_TICKET_POINTER_IN_KRB5_AP_REQ
   HAVE_TIMEGM
   HAVE_UINTPTR_T
   HAVE_UNIXSOCKET
   HAVE_UNSETENV
   HAVE_UPDWTMP
   HAVE_UPDWTMPX
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMENSAT
   HAVE_UTIMES
   HAVE_VASPRINTF
   HAVE_VA_COPY
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSYSLOG
   HAVE_WAIT4
   HAVE_WAITPID
   HAVE_WRFILE_KEYTAB
   HAVE_XFS_QUOTAS
   HAVE_YP_GET_DEFAULT_DOMAIN
   HAVE_ZLIBVERSION
   HAVE__Bool
   HAVE__VA_ARGS__MACRO
   HAVE___CLOSE
   HAVE___DUP2
   HAVE___FCNTL
   HAVE___FORK
   HAVE___FSTAT
   HAVE___F...
2007 Jun 05
1
Samba unable to connect to ldap
...ST_RDEV
   HAVE_SYMLINK
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_SYS_QUOTAS
   HAVE_TICKET_POINTER_IN_KRB5_AP_REQ
   HAVE_TIMEGM
   HAVE_UNIXSOCKET
   HAVE_UNSETENV
   HAVE_UPDWTMP
   HAVE_UPDWTMPX
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMES
   HAVE_VASPRINTF
   HAVE_VASPRINTF_DECL
   HAVE_VA_COPY
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSNPRINTF_DECL
   HAVE_VSYSLOG
   HAVE_WAITPID
   HAVE_WORKING_AF_LOCAL
   HAVE_WRFILE_KEYTAB
   HAVE_XFS_QUOTAS
   HAVE_YP_GET_DEFAULT_DOMAIN
   HAVE__Bool
   HAVE__ET_LIST
   HAVE__VA_ARGS__MACRO
   HAVE___CLOSE
   HAVE___DUP2
   HAVE___FCNTL
   HAVE___F...
2004 Jul 10
2
Solaris username character limit issues.
Hello,
I've compiled Samba 3.0.4 with Heimdal 0.6.2 and all of the other
trimmings to join and ADS tree, which I have successfully done.  Winbind
correctly pulls all of the username and group information from the ADS
tree and all is good.
However...
I seem to be running into a wall with the wonderful Solaris 8 character
username / groupname limit.  Usernames with spaces or names longer than
2019 Oct 29
0
auth logging or auditing
..._UINT8_T
?? HAVE_UINTPTR_T
?? HAVE_UMASK
?? HAVE_UNAME
?? HAVE_UNIXSOCKET
?? HAVE_UNSETENV
?? HAVE_UNSHARE_CLONE_FS
?? HAVE_UPDWTMP
?? HAVE_UPDWTMPX
?? HAVE_USLEEP
?? HAVE_UTIMBUF
?? HAVE_UTIME
?? HAVE_UTIMENSAT
?? HAVE_UTIMES
?? HAVE_UX_UT_HOST
?? HAVE_U_CHAR
?? HAVE_U_INT32_T
?? HAVE_VASPRINTF
?? HAVE_VA_COPY
?? HAVE_VDPRINTF
?? HAVE_VISIBILITY_ATTR
?? HAVE_VOLATILE
?? HAVE_VSNPRINTF
?? HAVE_VSYSLOG
?? HAVE_WAIT4
?? HAVE_WAITPID
?? HAVE_WARN
?? HAVE_WARNX
?? HAVE_WNO_FORMAT_TRUNCATION
?? HAVE_WNO_STRICT_OVERFLOW
?? HAVE_WNO_UNUSED_FUNCTION
?? HAVE_WORKING_STRPTIME
?? HAVE_WRITEV
?? HAVE_WS_XPIXEL
?? HAV...
2017 Jun 08
2
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
On Thu, 2017-06-08 at 10:09 +0200, awl1 via samba wrote:
> Hello again, Samba experts,
> 
> sorry for being such a pain in your necks, but I really need to get a 
> recent Samba version to compile, and it looks like I definitely need 
> your help with this.
> 
> In the meantime, I have found that the huge number of "conflicting 
> types" errors for rpc_*_init(...)
2005 Jun 28
1
Samba as ADS Fileserver
...64
   HAVE_STRUCT_STAT_ST_RDEV
   HAVE_ST_RDEV
   HAVE_SYMLINK
   HAVE_SYSCALL
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_SYS_QUOTAS
   HAVE_TIMEGM
   HAVE_UNIXSOCKET
   HAVE_UPDWTMP
   HAVE_UPDWTMPX
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMES
   HAVE_VASPRINTF
   HAVE_VASPRINTF_DECL
   HAVE_VA_COPY
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSNPRINTF_DECL
   HAVE_VSYSLOG
   HAVE_WAITPID
   HAVE_WRFILE_KEYTAB
   HAVE_XFS_QUOTAS
   HAVE_YP_GET_DEFAULT_DOMAIN
   HAVE___CLOSE
   HAVE___DUP2
   HAVE___FCNTL
   HAVE___FORK
   HAVE___FSTAT
   HAVE___FXSTAT
   HAVE___LSEEK
   HAVE___LSTAT
   HAVE___L...
2013 May 14
3
frequent tdb corruption
..._MTIM_TV_NSEC
   HAVE_STRUCT_STAT_ST_RDEV
   HAVE_STRUCT_TIMESPEC
   HAVE_ST_RDEV
   HAVE_SYMLINK
   HAVE_SYSCONF
   HAVE_SYSCTLBYNAME
   HAVE_SYSLOG
   HAVE_TIMEGM
   HAVE_UINTPTR_T
   HAVE_UNIXSOCKET
   HAVE_UNSETENV
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMES
   HAVE_VASPRINTF
   HAVE_VA_COPY
   HAVE_VDPRINTF
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSYSLOG
   HAVE_WAIT4
   HAVE_WAITPID
   HAVE_WRFILE_KEYTAB
   HAVE_YP_GET_DEFAULT_DOMAIN
   HAVE_ZLIBVERSION
   HAVE__Bool
   HAVE__CHDIR
   HAVE__CLOSE
   HAVE__DUP
   HAVE__DUP2
   HAVE__ET_LIST
   HAVE__FCHDIR
   HAVE__FCNTL
   HAVE__F...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
..._struct_ss=yes
ac_cv_have_ssize_t=yes
ac_cv_have_struct_addrinfo=no
ac_cv_have_struct_in6_addr=no
ac_cv_have_struct_sockaddr_in6=no
ac_cv_have_struct_sockaddr_storage=yes
ac_cv_have_struct_timeval=yes
ac_cv_have_u_char=yes
ac_cv_have_u_int=yes
ac_cv_have_u_int64_t=yes
ac_cv_have_u_intxx_t=yes
ac_cv_have_va_copy=yes
ac_cv_header_bstring_h=no
ac_cv_header_crypt_h=yes
ac_cv_header_dirent_h=yes
ac_cv_header_endian_h=yes
ac_cv_header_features_h=yes
ac_cv_header_floatingpoint_h=no
ac_cv_header_getopt_h=yes
ac_cv_header_glob_h=yes
ac_cv_header_ia_h=no
ac_cv_header_iaf_h=no
ac_cv_header_lastlog_h=yes
ac_cv_header...
2006 Jul 27
2
Problems with access to share after upgrading to 3.0.23(a)
...LUE_SIGVAL_PTR
    HAVE_STRUCT_STAT_ST_RDEV
    HAVE_STRUCT_TIMESPEC
    HAVE_ST_RDEV
    HAVE_SYMLINK
    HAVE_SYSCALL
    HAVE_SYSCONF
    HAVE_SYSLOG
    HAVE_TIMEGM
    HAVE_UNIXSOCKET
    HAVE_USLEEP
    HAVE_UTIMBUF
    HAVE_UTIME
    HAVE_UTIMES
    HAVE_VASPRINTF
    HAVE_VASPRINTF_DECL
    HAVE_VA_COPY
    HAVE_VOLATILE
    HAVE_VSNPRINTF
    HAVE_VSNPRINTF_DECL
    HAVE_VSYSLOG
    HAVE_WAITPID
    HAVE_WORKING_AF_LOCAL
    HAVE__CHDIR
    HAVE__CLOSE
    HAVE__DUP
    HAVE__DUP2
    HAVE__ET_LIST
    HAVE__FCHDIR
    HAVE__FCNTL
    HAVE__FORK
    HAVE__FSTAT
    HAVE__LSTAT
    HAVE__OPEN...