Displaying 7 results from an estimated 7 matches for "have_getopt".
Did you mean:
  have_getopt_h
  
2002 Jun 22
2
ssh-agent build failure on AIX
Hello All,
	I've just attempted to build from -cvs on AIX and get the following:
$ gcc [snip] -c ssh-agent.c
ssh-agent.c: In function `main':
ssh-agent.c:975: `BSDoptarg' undeclared (first use in this function)
ssh-agent.c:975: (Each undeclared identifier is reported only once
ssh-agent.c:975: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.
2002 Jun 16
1
multiple definition of `optind'
Any ideas of the best way around this problem?  Should I just hack the
source code, or is there a magic switch somewhere I'm missing?  I'm
assuming I can't just dismiss that function as OpenSSH is probably
based on the OpenBSD semantics.
=============================================================================
gcc -g -O2 -Wall -Wno-uninitialized -I. -I. 
2003 Dec 30
8
[Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
http://bugzilla.mindrot.org/show_bug.cgi?id=651
------- Additional Comments From vikashb at comparexafrica.co.za  2003-12-30 16:39 -------
tried openssh-SNAP-20031223
does not compile:
        (cd openbsd-compat && make)
        gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include  -Dftruncate=chsize -I/usr/local/include
-DHAVE_CONFIG_H -c
2003 Feb 11
1
Problems configuring OpenSSH 3.5p1 on Sol 5.8
...HAVE_STRFTIME 1
#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
#define LIBWRAP 1
#define HAVE_BCOPY 1
#define HAVE_CLOCK 1
#define HAVE_FCHMOD 1
#define HAVE_FCHOWN 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETCWD 1
#define HAVE_GETNAMEINFO 1
#define HAVE_GETOPT 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETRUSAGE 1
#define HAVE_GLOB 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_NTOP 1
#define HAVE_INNETGR 1
#define HAVE_MEMMOVE 1
#define HAVE_MMAP 1
#define HAVE_REALPATH 1
#define HAVE_RECVMSG 1
#define HAVE_RRESVPORT_AF 1
#define HAVE_SENDMSG 1
#define HAVE_...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...#define IPV4_IN_IPV6 1
/* #undef BSD_AUTH */
/* #undef NO_X11_UNIX_SOCKETS */
/* #undef NO_IPPORT_RESERVED_CONCEPT */
/* #undef BROKEN_SAVED_UIDS */
#define GLOB_HAS_ALTDIRFUNC 1
/* #undef GLOB_HAS_GL_MATCHC */
/* #undef BROKEN_ONE_BYTE_DIRENT_D_NAME */
/* #undef HAVE_ETC_DEFAULT_LOGIN */
/* #undef HAVE_GETOPT_OPTRESET */
/* #undef MISSING_NFDBITS */
/* #undef MISSING_HOWMANY */
/* #undef MISSING_FD_MASK */
/* #undef SMARTCARD */
/* #undef USE_SECTOK */
/* #undef USE_OPENSC */
#define OPENSSL_PRNG_ONLY 1
/* #undef WITH_ABBREV_NO_TTY */
/* #undef SUPERUSER_PATH */
/* #undef PRIVSEP_PATH */
/* #undef DISAB...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...ac_cv_have_accrights_in_msghdr=no
ac_cv_have_clock_t=yes
ac_cv_have_control_in_msghdr=yes
ac_cv_have_decl_LLONG_MAX=yes
ac_cv_have_decl__getlong=no
ac_cv_have_decl__getshort=no
ac_cv_have_decl_getrusage=no
ac_cv_have_decl_h_errno=yes
ac_cv_have_decl_strsep=yes
ac_cv_have_decl_tcsendbreak=yes
ac_cv_have_getopt_optreset=yes
ac_cv_have_int64_t=yes
ac_cv_have_intxx_t=yes
ac_cv_have_mode_t=yes
ac_cv_have_pid_t=yes
ac_cv_have_pw_change_in_struct_passwd=no
ac_cv_have_pw_class_in_struct_passwd=no
ac_cv_have_pw_expire_in_struct_passwd=no
ac_cv_have_sa_family_t=yes
ac_cv_have_size_t=yes
ac_cv_have_ss_family_in_st...
2003 Sep 10
3
[PATCH] No extern declarations of optarg & co if getopt.h is available
...declaration from getopt.h.
So instead of linking against the correct __imp__optarg symbol, the
linker tries to linked against the normal _optarg.
This could be easily circumvented by either not declaring the variables
at all in these main() funcs, or by surrounding the declarations with
  #ifndef HAVE_GETOPT_H
      extern char *optarg;
      ...
  #endif
The patch is attached.
Thanks,
Corinna
Index: scp.c
===================================================================
RCS file: /cvs/openssh_cvs/scp.c,v
retrieving revision 1.118
diff -p -u -r1.118 scp.c
--- scp.c	21 Aug 2003 23:34:41 -0000	1.118...