| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| To: | cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| Path: | not-for-mail |
| From: | "David Christensen" <dpchrist AT holgerdanske DOT com> |
| Newsgroups: | gmane.os.cygwin |
| Subject: | Compiling OpenSSH-3.2.2p1 under Cygwin undefined reference to `setgroups' |
| Date: | Fri, 24 May 2002 12:56:17 -0700 |
| Lines: | 37 |
| Message-ID: | <acm5r4$jkd$1@main.gmane.org> |
| NNTP-Posting-Host: | 209-142-39-228.stk.inreach.net |
| X-Trace: | main.gmane.org 1022270117 20109 209.142.39.228 (24 May 2002 19:55:17 GMT) |
| X-Complaints-To: | usenet AT main DOT gmane DOT org |
| NNTP-Posting-Date: | Fri, 24 May 2002 19:55:17 +0000 (UTC) |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2600.0000 |
| X-MIMEOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |