| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <20000804093648.29835.qmail@nwcst284.netaddress.usa.net> |
| Date: | 4 Aug 00 03:36:48 MDT |
| From: | <norbert DOT bladt AT usa DOT net> |
| To: | cygwin AT sources DOT redhat DOT com |
| Subject: | Solved: Linking problems - Openssh 2.1.1p4 |
| X-Mailer: | USANET web-mailer (34FM0700.1.03) |
| Mime-Version: | 1.0 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id FAA09481 |
Hello, again !
To solve the link problem (cygwin_logon_user and
cygwin_set_impersonation_token were not found
by the linker) I added explicitly
/usr/lib/libcygwin.a
to the LIBS variable in the Makefile, adding
-lcygwin was not sufficient. Now it works fine.
The only reason to compile it - and not using
the binary from Corinna - was to change
the open for the PidFile to "binary", so
that I can use
net stop sshd
kill -15 `cat /etc/sshd.pid`
If I do a kill with -15, the sshd seems to remove
the PidFile (in my case /etc/sshd.pid) so it is
very convenient to check for existence of the file.
The two commands above and the added check for existence
of the file /etc/sshd.pid allows to stop the sshd.
After installing cygwin 1.1.3 everything works like before,
except a lot faster.
Cheers,
Norbert.
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |