public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Compiling OpenSSH-3.2.2p1 under Cygwin undefined reference to `setgroups'
@ 2002-05-25  7:53 David Christensen
  2002-05-25 11:11 ` David Christensen
  0 siblings, 1 reply; 3+ messages in thread
From: David Christensen @ 2002-05-25  7:53 UTC (permalink / raw)
  To: cygwin

gname.os.cygwin:

I'm attempting to compile OpenSSH-3.2.2p1 under Cygwin (downloaded and
installed a few days ago via setup-2.218.2.9) and I'm getting an
unresolved reference to setgroups in function main:

    $ make
    (cd openbsd-compat && make)
    make[1]: Entering directory `/usr/src/openssh-3.2.2p1/openbsd-compat
'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/src/openssh-3.2.2p1/openbsd-compat'
    gcc -o sshd.exe sshd.o auth.o auth1.o auth2.o auth-chall.o auth2-cha
ll.o auth-rhosts.o auth-options.o auth-krb4.o auth-krb5.o auth-pam.o aut
h2-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o sshpty.o sshl
ogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o groupacce
ss.o auth-skey.o auth-bsdauth.o monitor_mm.o monitor.o -L. -Lopenbsd-com
pat/  -lssh -lopenbsd-compat   -lz /usr/lib/textmode.o -lcrypto
    Warning: resolving ___progname by linking to __imp____progname (auto
-import) sshd.o: In function `main':
    /usr/src/openssh-3.2.2p1/sshd.c:1015: undefined reference to `setgro
ups'
    collect2: ld returned 1 exit status
    make: *** [sshd.exe] Error 1


I think I need a library containing the setgroups object code (?).  Any
suggestions?


TIA,

David







--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling OpenSSH-3.2.2p1 under Cygwin undefined reference to `setgroups'
  2002-05-25  7:53 Compiling OpenSSH-3.2.2p1 under Cygwin undefined reference to `setgroups' David Christensen
@ 2002-05-25 11:11 ` David Christensen
  2002-05-27  9:03   ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: David Christensen @ 2002-05-25 11:11 UTC (permalink / raw)
  To: cygwin

comp.security.ssh & gmane.os.cygwin:

I wrote:
> I'm attempting to compile OpenSSH-3.2.2p1 under Cygwin...


While purusing comp.security.ssh, I noted a thread "OpenSSH client C/C++
library for win32":

"Nico Kadel-Garcia" wrote:
> Besides OpenSSH as part of CygWin?


D'oh!  I don't have to compile it after all.  The nice people at Cygnus
have already done it for me:

    Net -> openssh-3.2.2p1-1


Thanks!


David







--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling OpenSSH-3.2.2p1 under Cygwin undefined reference to `setgroups'
  2002-05-25 11:11 ` David Christensen
@ 2002-05-27  9:03   ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2002-05-27  9:03 UTC (permalink / raw)
  To: cygwin

On Fri, May 24, 2002 at 10:33:57PM -0700, David Christensen wrote:
> comp.security.ssh & gmane.os.cygwin:
> 
> I wrote:
> > I'm attempting to compile OpenSSH-3.2.2p1 under Cygwin...
> 
> 
> While purusing comp.security.ssh, I noted a thread "OpenSSH client C/C++
> library for win32":
> 
> "Nico Kadel-Garcia" wrote:
> > Besides OpenSSH as part of CygWin?
> 
> 
> D'oh!  I don't have to compile it after all.  The nice people at Cygnus
> have already done it for me:
> 
>     Net -> openssh-3.2.2p1-1
> 
> 
> Thanks!

And, btw., the error with setgroups() is unfortunately in the official
3.2.2p1 sources.  If you were really using the sources from the
Cygwin release, you shouldn't have get the problem since the error
is fixed there already.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-27 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-25  7:53 Compiling OpenSSH-3.2.2p1 under Cygwin undefined reference to `setgroups' David Christensen
2002-05-25 11:11 ` David Christensen
2002-05-27  9:03   ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).