From owner-freebsd-stable Wed Jan 28 01:10:07 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22687 for stable-outgoing; Wed, 28 Jan 1998 01:10:07 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22601 for ; Wed, 28 Jan 1998 01:09:57 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id KAA11479 for stable@FreeBSD.ORG; Wed, 28 Jan 1998 10:00:14 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.7) id JAA20716; Wed, 28 Jan 1998 09:38:40 +0100 (CET) (envelope-from andreas) Message-ID: <19980128093839.39180@klemm.gtn.com> Date: Wed, 28 Jan 1998 09:38:39 +0100 From: Andreas Klemm To: stable@FreeBSD.ORG Subject: make buildworld of RELENG_2_2 under -current fails in libmytinfo Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ===> libmd sed -e 's/mdX/md2/g' -e 's/MDX/MD2/g' /usr/src/lib/libmd/mdXhl.c > md2hl.c sed -e 's/mdX/md4/g' -e 's/MDX/MD4/g' /usr/src/lib/libmd/mdXhl.c > md4hl.c sed -e 's/mdX/md5/g' -e 's/MDX/MD5/g' /usr/src/lib/libmd/mdXhl.c > md5hl.c rm -f .depend mkdep -f .depend -a -I/usr/src/lib/libmd -I/usr/obj/usr/src/tmp/usr/include /usr/src/lib/libmd/md2c.c /usr/src/lib/libmd/md4c.c /usr/src/lib/libmd/md5c.c md2hl.c md4hl.c md5hl.c ===> libmytinfo /usr/bin/cc -pipe -O -Wall -I/usr/src/lib/libmytinfo -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libmytinfo/readcaps.c -o readcaps.o In file included from /usr/src/lib/libmytinfo/readcaps.c:13: /usr/src/lib/libmytinfo/defs.h:194: conflicting types for `sys_errlist' /usr/obj/usr/src/tmp/usr/include/stdio.h:245: previous declaration of `sys_errlist' *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 /usr/src/lib/libmytinfo/defs.h: #if __FreeBSD__ != 2 extern char *sys_errlist[]; #endif /usr/obj/usr/src/tmp/usr/include/stdio.h: #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) extern __const int sys_nerr; /* perror(3) external variables */ extern __const char *__const sys_errlist[]; #endif What definition is correct ? -current has a: #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) extern __const int sys_nerr; /* perror(3) external variables */ extern __const char *__const sys_errlist[]; #endif which looks pretty the same as -stable ... Do we have to change or ignore (wipe out) the declaration in RELENG_2_2's lib/libmytinfo/defs.h file ? In -current, this declaration doesn't exist anymore ... Andreas /// -- Andreas Klemm powered by ,,symmetric multiprocessor FreeBSD''