Compilation fix on my Linux box

Kiyokazu SUTO suto at ks-and-ks.ne.jp
Sun May 7 12:14:24 UTC 2000


Citation (with leading "> " of each line) from article:
  <20000507144325Y.kondou at inn.do.mms.mt.nec.co.jp>
    by Katsuhiro Kondou <kondou at nec.co.jp> :
> } +#include <sys/time.h>
>
> really needed, since dbz does not use any functions/
> variables relevant to time?  Can you give us the error?

The relevant part of making log is attached below.

The manpage select(2) in my box says that the line "#include
<sys/time.h>" is required when one uses the select system call, and
that this is comforming to 4.4BSD.

Further, as far as I grepped files in standard include directories,
the FD_* macros are defined only in the file "include/linux/time.h" in
Linux kernel source tree, which is included from "sys/time.h".

> } -	sprintf(buff, "%d Duplicate", NNTP_REJECTIT_VAL);
> } +	sprintf(buff, "%d Duplicate", NNTP_ERR_GOTID_VAL);
>
> I'd not adopt this patch, since '437' is reasonably common
> response for duplicate article with ihave/takethis and 977
> says '437 article rejected - do not try again.'  And returning
> 438 for ihave/takethis may lead another problem for feeding
> servers.  What are you trying to do this?

There are two gateway hosts between the newsgroup "jlug.ml.users" and
the mailing list "linux-users at linux.or.jp", and I'm a maintainer of
one of them.

I want to distinguish duplicate articles posted at another gateway
host, from other error situnations caused by my gateway program.

-- 
SUTO, Kiyokazu <suto at ks-and-ks.ne.jp>
http://pub.ks-and-ks.ne.jp/pgp-public-key.html



-- Attached file included as plaintext by Listar --

cd innd      && make all
make[1]: Entering directory `/usr/src/inn-BETA-20000505/innd'
gcc   -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o status.o tcl.o timer.o wip.o ../storage/libstorage.a ../lib/libinn.a   ../lib/perl.o -rdynamic  /usr/lib/perl5/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/i386-linux/CORE -lperl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc  -lshadow 
../lib/libinn.a(dbz.o): In function `set':
/usr/src/inn-BETA-20000505/lib/dbz.c:1551: undefined reference to `FD_ZERO'
/usr/src/inn-BETA-20000505/lib/dbz.c:1552: undefined reference to `FD_SET'
collect2: ld returned 1 exit status
make[1]: *** [innd] Error 1
make[1]: Leaving directory `/usr/src/inn-BETA-20000505/innd'
make: *** [all-innd] Error 2




More information about the inn-bugs mailing list