From owner-freebsd-current Wed Nov 8 01:14:43 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA28749 for current-outgoing; Wed, 8 Nov 1995 01:14:43 -0800 Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA28743 for ; Wed, 8 Nov 1995 01:14:38 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by mail.barrnet.net (8.7.1/MAIL-RELAY-LEN) with SMTP id BAA17309 for ; Wed, 8 Nov 1995 01:09:06 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA21092; Wed, 8 Nov 1995 10:00:11 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA14534; Wed, 8 Nov 1995 10:00:10 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id JAA16034; Wed, 8 Nov 1995 09:50:41 +0100 From: J Wunsch Message-Id: <199511080850.JAA16034@uriah.heep.sax.de> Subject: Re: Lint won't bootstrap... To: mark@grondar.za (Mark Murray) Date: Wed, 8 Nov 1995 09:50:40 +0100 (MET) Cc: current@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511071644.SAA27162@grumble.grondar.za> from "Mark Murray" at Nov 7, 95 06:44:17 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org Precedence: bulk As Mark Murray wrote: > > ===> xlint > ===> llib > lint -Cposix /a/src/usr.bin/xlint/llib/llib-lposix > llib-lposix: > types.h:60: warning: ANSI C does not support 'long long' > types.h:61: warning: ANSI C does not support 'long long' > types.h:72: warning: ANSI C does not support 'long long' > types.h:63: warning: ANSI C does not support 'long long' > types.h:64: warning: ANSI C does not support 'long long' > runetype.h:58: syntax error > runetype.h:73: syntax error > runetype.h:76: syntax error > runetype.h:76: warning: function prototype parameters must have types > runetype.h:80: syntax error > llib-lposix:123: redeclaration of fgets > llib-lposix:143: redeclaration of ftell > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > > I have done a "make includes", and I have reinstalled lint a couple of > times. Before I do any serious debugging - is there anything trivial > I can do to fix this? Sorry, i have to commit a series of minor changes in order to allow the compilation of lint's llib. You could temporarily comment out the llib subdir, and try to do something useful with lint. :) I promise to fix everything at least by next weekend. Yup, once lint is up & running, we immediately start seeig problems everywhere around in our sources (like the above). Ain't it fun? :) Does anybody have a good idea on how to make bootstrapping for the people as easy as possible? The biggest problem is that you can compile the llib subdir only after first succesfully installing from the xlint subdir, so a running version of lint(1) is around. I've already thought about .if exist .../bin/lint SUBDIRS += llib .endif but i'm not sure if it's worth the effort, since the .if statement is supposed to hit everytime but the first time. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)