Thread View: news.software.nntp
7 messages
7 total messages
Started by Shawn Mattingly
Sat, 04 Apr 1998 00:00
Innfeed 0.10.1 + inn-1.7.2+insync1.1d problems
Author: Shawn Mattingly
Date: Sat, 04 Apr 1998 00:00
Date: Sat, 04 Apr 1998 00:00
110 lines
3721 bytes
3721 bytes
If apologize if this is a FAQ, but I don't recall seeing a recent thread on this... I can't make innfeed 0.10.1 compile for love or money. I'm running linux kernel 2.0.33 with Slackware 3.4. Here's my Makefile: # -*- makefile -*- # # Author: James Brister <brister@vix.com> -- berkeley-unix -- # Start Date: Wed Nov 29 22:01:56 1995 # Project: INN (innfeed) # File: Makefile # RCSId: $Id: Makefile,v 1.28 1997/02/14 12:58:13 brister Exp brister $ # Description: Makefile for innfeed. # # Where the programs get installed. BINDIR = /var/news/local # Where your man pages live. MANDIR = /usr/local/man # The compiler you want. NOTE... AIX 3.2.5 users do NOT use CC. See the # comment in sysconfig.h CC = gcc # How to run lex and yacc. Innfeed requires Flex (but you shouldn't need it). LEX = lex -d YACC = yacc -t -d # Debug option for compiler -g or -O (or both if using gcc). DBFLAGS = -g -O # Add any architecture specific defines, flags etc. you need OSFLAGS = -Dlinux # OSFLAGS = -DSOLARIS # uncomment for Solaris # Any extra non-architecture specific defines you may need. # # Add -DUSE_INN_INCLUDES to get INN headers files used (see INCDIRS below) # Add -DNO_SBRK if compilation of malloc.c complains about sbrk() prototype. DEFINES = -DUSE_INN_INCLUDES # Any system specific libraries. If you get undefines at link time for names # matching yy*, then you may need ``-ly -ll''. LIBRARIES = -ly -ll # uncomment for SOLARIS but you may have to leave out the -lresolv # LIBRARIES = -lnsl -lsocket -lresolv ## Add any `-L' flags here LDFLAGS = ## Add any local includes '-I' needed here. (e.g. if using -DUSE_INN_INCLUDES) # INCDIRS = -I/usr/local/src/inn-1.4/include INCDIRS = -I/var/news/src/inn/include ## Uncomment the next line to build in larry wall's version of malloc. NOTE: ## You need to build malloc.o with a -I pointing at the include subdirectory ## of your inn source tree. See INCDIRS above. # MALLOC = malloc.o # Uncomment the next line if you don't have a inet_aton() in your # libraries (Solaris is one such OS). # EXTRA_SRC = inet_addr.c # Any extra compiler flags for warning generation. #WARNINGS = WARNINGS = -Wall $(ALL_GCC_WARNINGS) -DCHECK_FORMATS ## Uncomment the next three lines to use the GNU dmalloc library. # DMALLOC = -DUSE_DMALLOC # DMALLOC_LIB = -L/usr/local/gnu/lib -ldmalloc # DMALLOC_INCDIR = -I/usr/local/gnu/include LINTFLAGS = -b -h -z $(DEFINES) and my current sysconf.h: /* ** LINUX */ #if defined (linux) /* Note: If you are running version 5.4.3 or better of libc, then 16 is the number to use. Lower than that, and you should use 1. */ #define MAX_WRITEV_VEC 16 #define DONT_NEED_SYS_SELECT 1 #endif Am I missing something obvious? Has anyone else here had problems configuring innfeed? Thanks, Shawn
Re: Innfeed 0.10.1 + inn-1.7.2+insync1.1d problems
Author: Shawn Mattingly
Date: Sun, 05 Apr 1998 00:00
Date: Sun, 05 Apr 1998 00:00
26 lines
1374 bytes
1374 bytes
It says:
typedef char const *STRING;
pretty innocuous...
Andrew wrote:
> Shawn Mattingly <smattin@net-link.net> wrote:
> > /var/news/src/inn/include/configdata.h:16: parse error before `262'
>
> ...and line 16 of configdata.h says what?
>
> --
> Andrew O. Smith - <aos@insync.net> | "Please allow me to present
--
|| | | | | | | | | | | | | | | | | | | | | ||
Shawn Mattingly - smattin@net-link.net - KC8IVE
http://www.net-link.net/~smattin/
|| | | | | | | | | | | | | | | | | | | | | ||
Re: Innfeed 0.10.1 + inn-1.7.2+insync1.1d problems
Author: Shawn Mattingly
Date: Sun, 05 Apr 1998 00:00
Date: Sun, 05 Apr 1998 00:00
51 lines
2427 bytes
2427 bytes
Bryan C. Andregg wrote: > On Sat, 04 Apr 1998 17:50:07 -0500, <smattin@net-link.net> wrote: > > If apologize if this is a FAQ, but I don't recall seeing a recent thread > > on this... > > > > I can't make innfeed 0.10.1 compile for love or money. I'm running > > Could you explain why it won't compile? I had trouble with the fact that > innfeed declares a function dprintf which is also in <stdio.h>. I fixed this > with sed. I fixed some of the problems, but the one I'm currently stuck on looks like this: /var/news/src/inn/include/configdata.h:16: parse error before `262' /var/news/src/inn/include/configdata.h:344: warning: function declaration isn't a prototype lex.yy.c:493: warning: declaration of `c' shadows global declaration lex.yy.c:623: warning: no previous prototype for `yylex' lex.yy.c: In function `yy_get_next_buffer': lex.yy.c:1208: warning: declaration of `c' shadows global declaration lex.yy.c: At top level: lex.yy.c:1309: warning: declaration of `c' shadows global declaration lex.yy.c: In function `yyunput': lex.yy.c:1315: warning: declaration of `c' shadows global declaration lex.yy.c: In function `input': lex.yy.c:1357: warning: declaration of `c' shadows global declaration lex.yy.c: At top level: lex.yy.c:1315: warning: `yyunput' defined but not used make: *** [config_l.o] Error 1 in the make file there is a setting for this: # Any system specific libraries. If you get undefines at link time for names # matching yy*, then you may need ``-ly -ll''. LIBRARIES = -ly -ll # uncomment for SOLARIS but you may have to leave out the -lresolv # LIBRARIES = -lnsl -lsocket -lresolv but it dosen't seem to work. ?? Shawn
Re: Innfeed 0.10.1 + inn-1.7.2+insync1.1d problems
Author: Andrew
Date: Sun, 05 Apr 1998 00:00
Date: Sun, 05 Apr 1998 00:00
12 lines
1063 bytes
1063 bytes
Shawn Mattingly <smattin@net-link.net> wrote: > /var/news/src/inn/include/configdata.h:16: parse error before `262' ...and line 16 of configdata.h says what? -- Andrew O. Smith - <aos@insync.net> | "Please allow me to present Sysadmin, Insync Internet Services | you with a clue." Houston, Texas, USA | --The Afghan Whigs
Re: Innfeed 0.10.1 + inn-1.7.2+insync1.1d problems
Author: Bryan C. Andregg
Date: Sun, 05 Apr 1998 00:00
Date: Sun, 05 Apr 1998 00:00
18 lines
1167 bytes
1167 bytes
On Sat, 04 Apr 1998 17:50:07 -0500, <smattin@net-link.net> wrote:
> If apologize if this is a FAQ, but I don't recall seeing a recent thread
> on this...
>
> I can't make innfeed 0.10.1 compile for love or money. I'm running
Could you explain why it won't compile? I had trouble with the fact that
innfeed declares a function dprintf which is also in <stdio.h>. I fixed this
with sed.
--
Bryan C. Andregg * <bandregg@redhat.com> * Red Hat Software
"Hey, wait a minute, you clowns are on dope!"
-- Owen Cheese in 'Shakes the Clown'
Re: Innfeed 0.10.1 + inn-1.7.2+insync1.1d problems
Author: Shawn Mattingly
Date: Sun, 05 Apr 1998 00:00
Date: Sun, 05 Apr 1998 00:00
12 lines
974 bytes
974 bytes
I have found the secret to compiling infeed 0.10.1 to be 0.10.1.6. Download this latest version from ftp.hub.org and you won't experience the same problems I did under Linux. Thanks to Larry Rosenman for the help! Shawn
Re: Innfeed 0.10.1 + inn-1.7.2+insync1.1d problems
Author: Andrew
Date: Mon, 06 Apr 1998 00:00
Date: Mon, 06 Apr 1998 00:00
13 lines
1195 bytes
1195 bytes
Shawn Mattingly <smattin@net-link.net> wrote: > typedef char const *STRING; Well, that is innocuous... Since you seem to have solved the problem by using a newer copy of innfeed, I won't try to figure it out. :) -- Andrew O. Smith - <aos@insync.net> | "Please allow me to present Sysadmin, Insync Internet Services | you with a clue." Houston, Texas, USA | --The Afghan Whigs
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads