[scponly] bug in helper.c?
Sven Hoexter
sven at telelev.net
Tue Oct 29 09:49:32 EST 2002
On Mon, Oct 28, 2002 at 11:33:47AM -0800, joe wrote:
>
> alright, i found a solaris friendly strsep clone on the web and removed
> strsep from the configure required functions.
>
> i smuggled this fix into scponly-3.2, which was released about an hour
> ago. please let me know if you have problems as i have no solaris box to
> test on.
Ok I've no use for scponly on a Solaris box but I thought some testing won't
be that worse so I gave it a try and ended up with this error:
sven at mark2:~/scponly-3.3 >make
gcc -g -O2 -DHAVE_CONFIG_H -DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o scponly scponly.c helper.c
scponly.c: In function `main':
scponly.c:76: `LOG_PERROR' undeclared (first use in this function)
scponly.c:76: (Each undeclared identifier is reported only once
scponly.c:76: for each function it appears in.)
scponly.c:86: `LOG_AUTHPRIV' undeclared (first use in this function)
helper.c: In function `build_arg_vector':
helper.c:187: warning: assignment makes pointer from integer without a cast
helper.c: In function `expand_wildcards':
helper.c:218: `GLOB_TILDE' undeclared (first use in this function)
helper.c:218: (Each undeclared identifier is reported only once
helper.c:218: for each function it appears in.)
make: *** [scponly] Error 1
The box is running Solaris 8 with most of the latest patches and the
sunfreeware.com gcc, ssh etc. packages. scponly is v3.3
Ah and I had to edit a few pathes in the configure script so that it can find
the sftp-server and scp executable. I thought the script uses the $PATH from
the enviroment but it looks like it's overwritten somewhere.
Just wild guess[tm]
Maybe I'll take close look at it later ...
Maybe someone would like to have a spec for rpm packages so here is mine
wich I used to build scponly 3.1 on a SuSE 7.3 box:
http://sven.stormbind.net/scponly.spec
Greetings,
Sven
--
Apt-rpm packages for RedHat
http://www.hoaxter.de/aptrpm/index.html
Neues fuer Nerten - Stoff der der mettert
http://www.bluephod.net
More information about the scponly
mailing list