Linux-Hams archive - October 1997: Re: Tpp-convers compiling errors

Re: Tpp-convers compiling errors

Steve Meuse (terhi.victor@logonet.com)
Thu, 09 Oct 1997 12:55:58 -0500


Could you do me a huge favor? Could you tar up the binaries, and stick them
somewhere that I could grab them? I need something to get started with....

Thanks,

At 03:08 PM 10/9/97 +0300, Tomi Manninen wrote:
>On Wed, 8 Oct 1997, Steve Meuse wrote:
>
>> ftp.lantz.com and have patched it with the 3 patches provided, but I've run
>> into an error while compiling:
>>
>> options.o(.text+0x956): undefined reference to `deny_severity'
>> options.o(.text+0x95b): undefined reference to `allow_severity'
>
>This is as far as I see a bug in the TPP source code. Either Brian doesn't
>use 'LOGGING' or his tcp wrapper library is very old. I went trough my
>source archives and found a fix I have done quite some time ago. Things
>are a bit hazy and I don't really remember what patches I have applied to
>my TPP (I know there are more than one from both me and Hessu), but
>chances are that this will fix your problem:
>
>--- conversd.c~ Mon Jan 29 11:27:44 1996
>+++ conversd.c Wed Apr 2 13:51:10 1997
>@@ -89,6 +89,13 @@
>
> extern struct sockaddr *build_sockaddr __ARGS((const char *name, int
*addrlen));
>
>+#ifdef LOGGING
>+#include <tcpd.h>
>+extern int hosts_ctl __ARGS((char *daemon, char *name, char *addr, char
*user));
>+int allow_severity;
>+int deny_severity;
>+#endif
>+
> static char progfile[128];
> static char conffile[128];
> static char *convcmd;
>@@ -750,7 +757,6 @@
> struct hostent *hp;
> char hostname[128];
> int allow;
>- extern int hosts_ctl __ARGS((char *daemon, char *name, char *addr, char
*user));
> #endif
> #if defined(__OS2__)
> int mask = 1;
>
>
>--
>---Tomi Manninen / jtdolxyz@mx.dy.fi / OH2BNS @ OH2RBI.FIN.EU---
>
>
>

-Steve