scponly for chrooted sftp server in cygwin
Chad Neufeld
neufeld@ualberta.ca
Thu Feb 10 13:15:00 GMT 2005
Hi,
I am attempting to setup and sftp server on a windows XP pro machine. I have
the latest cygwin and openssh files from cygwin.com. I downloaded the scponly
source files and am now attempting to compile them. I get the following error
message:
$ make
gcc -g -O2 -I. -I. -DHAVE_CONFIG_H
-DDEBUGFILE='"/usr/local/etc/scponly/debuglev
el"' -o scponly.o -c scponly.c
gcc -g -O2 -I. -I. -DHAVE_CONFIG_H
-DDEBUGFILE='"/usr/local/etc/scponly/debuglev
el"' -o helper.o -c helper.c
helper.c:12:36: libgen.h: No such file or directory
helper.c: In function `substitute_known_path':
helper.c:174: warning: passing arg 1 of `strdup' makes pointer from integer
with
out a cast
helper.c:179: warning: passing arg 1 of `strcmp' makes pointer from integer
with
out a cast
make: *** [helper.o] Error 1
I have only found a single post
http://www.cygwin.com/ml/cygwin/2004-11/msg01184.html
that says "scponly compiles easily under the new cygwin releases with a few
modifications to the makefile," but it doesn't say what those are. I have
included the configure utility screen output, the makefile, and helper.c file.
I would greatly appreciate any help on this.
Thanks,
Chad
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050210/0b65aea6/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure_output.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050210/0b65aea6/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: helper.c.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050210/0b65aea6/attachment-0002.txt>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list