[scponly] scponly and latest cygwin

John M. Lauck john at recaffeinated.com
Sun Feb 6 10:12:51 EST 2005


Here's the output from my attempt to compile on cygwin:

I ran ./configure with the following command,  the first part helps find the
sftp-server binary which otherwise stops the configure

$ scponly_PROG_SFTP_SERVER=/usr/sbin/sftp-server ./configure
--enable-chrooted-binary --with-sftp-server

The configure runs with no errors, so I ran make and the following errors:

$ 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: 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
gcc -g -O2 -I. -I. -DHAVE_CONFIG_H
-DDEBUGFILE='"/usr/local/etc/scponly/debuglev
el"' -o scponly scponly.o helper.o
helper.o(.text+0x244): In function `substitute_known_path':
/home/john/scponly-4.0/helper.c:174: undefined reference to `_basename'
helper.o(.text+0x26a):/home/john/scponly-4.0/helper.c:179: undefined
reference t
o `_basename'
collect2: ld returned 1 exit status
make: *** [scponly] Error 1


Thanks,

John M Lauck

-----Original Message-----
From: scponly-bounces at lists.ccs.neu.edu
[mailto:scponly-bounces at lists.ccs.neu.edu] On Behalf Of Sven Hoexter
Sent: Sunday, February 06, 2005 4:00 AM
To: scponly at lists.ccs.neu.edu
Subject: Re: [scponly] scponly and latest cygwin

On Fri, Feb 04, 2005 at 07:43:49PM -0500, John M. Lauck wrote:
> Has anyone compiled scponly on the latest cygwin release?  I got around
> problems with the config but now I am having trouble with the make file.
> Any ideas would be helpful.
Error log could be helpfull. Oh and multipart mails are not needed, plain
text ist ok.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - No sleep]

_______________________________________________
scponly mailing list
scponly at lists.ccs.neu.edu
https://lists.ccs.neu.edu/bin/listinfo/scponly





More information about the scponly mailing list