inn and newsgate

Peer Heinlein p.heinlein at jpberlin.de
Sun Jul 23 13:58:00 UTC 2000


I have problems in compiling newsgate which I really need. Unfortunately I  
don't know much about programming, so I can't help myself.

Could abyvody help me and give me some ideas about what's wrong? I use inn  
2.2.2, SuSE linux 6.4, kernel 2.2.14, glibc6 and gcc 2.95.2

The output is:

linux:/usr/src/packages/BUILD/newsgate # make
cc -g -DUSE_PARSEDATE   -c -o misc.o misc.c
In file included from misc.c:4:
gate.h:250: conflicting types for `sys_errlist'
/usr/include/stdio.h:557: previous declaration of `sys_errlist'
gate.h:266: conflicting types for `sprintf'
/usr/include/stdio.h:257: previous declaration of `sprintf'
make: *** [misc.o] Error 1
linux:/usr/src/packages/BUILD/newsgate #

And /usr/include/stdio.h is:

/* These variables normally should not be used directly.  The `strerror'
   function provides all the needed functionality.  */
#ifdef  __USE_BSD
extern int sys_nerr;
extern __const char *__const sys_errlist[];
#endif
#ifdef  __USE_GNU
extern int _sys_nerr;
extern __const char *__const _sys_errlist[];
#endif

and:

/* Write formatted output to S.  */
extern int sprintf __P ((char *__restrict __s,
                         __const char *__restrict __format, ...));


Thanks and greetings from Berlin/Germany

Peer





More information about the inn-workers mailing list