[nos-bbs] Compiling error when trying to build in NNTP support for JNOS

N8OUZ joe at n8ouz.org
Mon Feb 27 10:39:35 EST 2012


You know, it looks like there's a typo in the config.h if I didn't know better...
> -> config.h:111:7: error: expected '=', ',', ';', 'asm' or
> -> '__attribute__' before 'NNTPS'


Either that or both were #defined? :

/* Use only ONE of the 2 news options: */
#undef NNTP             /* Netnews client */
#undef NNTPS            /* Netnews client and server */


-jre

On Feb 27, 2012, at 9:10 AM, Ray Quinn wrote:

> -> gcc -DUNIX -g3   -DDEBUG -Wall   -c -o main.o main.c
> -> In file included from global.h:467:0,
> ->                  from main.c:22:
> -> config.h:111:7: error: expected '=', ',', ';', 'asm' or
> -> '__attribute__' before 'NNTPS'
> -> In file included from global.h:489:0,
> ->                  from main.c:22:
> -> unixtm.h:24:23: warning: 'struct date' declared inside parameter list
> -> unixtm.h:24:23: warning: its scope is only this definition or
> -> declaration, which is probably not what you want
> -> unixtm.h:27:23: warning: 'struct date' declared inside parameter list
> -> make: *** [main.o] Error 1
> ->
> -> It doesn't get very far.
> 
> I cannot help you with that error, but, just in case, you can only have
> either NNTP or NNTPS defined, not both in config.h.
> 
> 
> 73 de Ray Quinn W6RAY
> Visalia, CA DM06
> 
> 
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs





More information about the nos-bbs mailing list