Package: nntp
Version: 1.5.12.1-18
Severity: serious
Tags: patch

Hi,

When building your on some arches (ia64 and amd64) you get the
following error:
cc -O2 -s -I../libdbz -o nntpxmit nntpxmit.o remote.o llist.o get_tcp_conn.o 
xmitauth.o fakesyslog.o strcasecmp.o ../libdbz/dbz.o ../libdbz/dbzdbm.o -lpam
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches
non-TLS reference in get_tcp_conn.o
/lib/libc.so.6: could not read symbols: Bad value

(You probably get the same on i686 with a 2.6 kernel, didn't check.)

The problem is that xmit/get_tcp_conn.c has:
extern  int     errno;

Instead of including <errno.h> which has the proper defenition of
errno.

Simple patch:
--- xmit/get_tcp_conn.c.old     2005-07-29 00:12:25.065680088 +0200
+++ xmit/get_tcp_conn.c 2005-07-29 00:14:05.195458048 +0200
@@ -29,7 +29,7 @@
 #include <netdb.h>
 #endif /* NONETDB */

-extern int     errno;
+#include <errno.h>
 extern char    *Pname;
 extern char    *errmsg();
 #ifndef BSD_44



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to