Re: NOV nn on Linux

Anton Blanchard (anton@nospam.ftoomsh.socs.uts.edu.au)
Tue, 28 Mar 1995 20:54:49 +1000 (EST)

On Tue, 28 Mar 1995, root wrote:

> Aaargh! I tried the suggested modifications, and everything compiled but
> didn't work. I'd been stupid enough to leave #undef NNTP in the config.h,
> so the NNTP stuff hadn't compiled. I put #define NNTP, and tried to
> compile again, now I get NEW error messages!
> make client
> make -f ymakefile client
> make[1]: Entering directory `/root/nn/nn-6.5.0.b3'
> gcc -Iconf -O6 -O2 -c nntp.c -o nntp.o
> nntp.c: In function `nntp_check':
> nntp.c:761: warning: assignment discards `const' from pointer target type
> nntp.c: In function `nntp_get_overview':
> nntp.c:1193: argument `first' doesn't match prototype
> global.h:655: prototype declaration
> nntp.c:1193: argument `last' doesn't match prototype
> global.h:655: prototype declaration
> make[1]: *** [nntp.o] Error 1
> make[1]: Leaving directory `/root/nn/nn-6.5.0.b3'
> make: *** [client] Error 2

Heh another problem with the definitions. Try commenting out line 655
in global.h. It is a definition for the function nntp_get_overview
by the looks of things.

> I'm going to have to learn C at this rate...:)

Well then, there is a good side to it then :)

seeya
Anton

--
Anton Blanchard                      anton@nospam.ftoomsh.socs.uts.edu.au
Electrical Engineering Student       ablancha@nospam.acs.itd.uts.edu.au
University of Technology, Sydney     http://ftoomsh.socs.uts.edu.au/~anton