Article View: news.software.nn
Article #7652Re: Can't compile nn605b3 with NOV and NNTP.
From: Peter Jordan
Date: Sat, 01 Jun 1996 00:00
Date: Sat, 01 Jun 1996 00:00
48 lines
2469 bytes
2469 bytes
pjordan@gpu3.srv.ualberta.ca (Peter Jordan) writes: >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:653: prototype declaration >nntp.c:1193: argument `last' doesn't match prototype >global.h:653: prototype declaration >make[1]: *** [nntp.o] Error 1 >make[1]: Leaving directory `/usr/src/nn-6.5.0.b3' >make: *** [client] Error 2 I found the solution .. I think .. In an ol dpost from cdewick@orb.apana.org.au the same error was reported along with a tentative solution. Here is a pathc that should fix the problem but use at your own risk and you should check out the original post by Ceaig Dewick (960114). *** global.h Sat Jun 1 02:45:42 1996 --- global.h.old Sat Jun 1 02:39:40 1996 *************** *** 650,656 **** int nntp_set_group __APROTO((group_header *gh)); int nntp_get_active __APROTO((void)); FILE * nntp_get_newsgroups __APROTO((void)); ! struct novgroup *nntp_get_overview __APROTO((group_header *gh, article_number first, article_number last)); FILE * nntp_fopen_list __APROTO((char *cmd)); char * nntp_fgets __APROTO((char *buf, int size)); article_number *nntp_get_article_list __APROTO((group_header *gh)); --- 650,656 ---- int nntp_set_group __APROTO((group_header *gh)); int nntp_get_active __APROTO((void)); FILE * nntp_get_newsgroups __APROTO((void)); ! struct novgroup *nntp_get_overview __APROTO((group_header *gh, int low, int high)); FILE * nntp_fopen_list __APROTO((char *cmd)); char * nntp_fgets __APROTO((char *buf, int size)); article_number *nntp_get_article_list __APROTO((group_header *gh)); Have fun. PeterJordan
Technical Details
Message-ID:
<4oqlbb$7ia@pulp.ucs.ualberta.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<4oolrd$hf0@pulp.ucs.ualberta.ca>Show Full Headers
Complete Article Headers
Message-ID: <4oqlbb$7ia@pulp.ucs.ualberta.ca> Subject: Re: Can't compile nn605b3 with NOV and NNTP. Date: Sat, 01 Jun 1996 00:00:00 +0000 From: pjordan@gpu4.srv.ualberta.ca (Peter Jordan) References: <4oolrd$hf0@pulp.ucs.ualberta.ca> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 157978218 Organization: University of Alberta, Edmonton, Canada Newsgroups: news.software.nn,comp.os.linux.misc