[scponly] helper.c compile error

Fred Hopper fhopper at cards.ca
Mon Jan 13 14:51:05 EST 2003


David, can you tell us if scponly is working for you?   I also used the "--enable-chrooted-binary " option and got the same warning message as you, but it still created the scponlyc binary (just as Sven suggested there would be). 

Problem is, when I set the default shell for my scp user account, scp stops working.  Am using RedHat 7.3 (kernel-2.4.18). SSH shell access does not work, which is good.  But I do want scp to work. My ftp chroot setup is configured OK and works fine.

Any ideas anyone?  scponly will be really useful for us once I get it working....

Thanks, Fred

>>> David Yee <dyee at AMSResponse.com> 01/13/03 12:25PM >>>
Hi- I tried to compile scponly 3.5 on Red Hat Linux with 2.4.2-2 kernel and
got the following error:

gcc -g -O2 -DHAVE_CONFIG_H -DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"'
-o scponly scponly.c helper.c
helper.c: In function `flatten_vector':
helper.c:76: warning: assignment makes integer from pointer without a cast
helper.c: In function `build_arg_vector':
helper.c:167: warning: assignment makes integer from pointer without a cast





More information about the scponly mailing list