From: "David Christensen" <dpchrist@holgerdanske.com>
To: cygwin@cygwin.com
Subject: Compiling OpenSSH-3.2.2p1 under Cygwin undefined reference to `setgroups'
Date: Sat, 25 May 2002 07:53:00 -0000 [thread overview]
Message-ID: <acm5r4$jkd$1@main.gmane.org> (raw)
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/
next reply other threads:[~2002-05-24 21:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-25 7:53 David Christensen [this message]
2002-05-25 11:11 ` David Christensen
2002-05-27 9:03 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='acm5r4$jkd$1@main.gmane.org' \
--to=dpchrist@holgerdanske.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).