From owner-freebsd-questions Mon Dec 27 15: 1:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 3725D14BFE for ; Mon, 27 Dec 1999 15:01:26 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA61415; Tue, 28 Dec 1999 09:31:11 +1030 (CST) Date: Tue, 28 Dec 1999 09:31:11 +1030 From: Greg Lehey To: Gunnar Flygt Cc: FreeBSD Questions Subject: Re: Strange behaviour on make world Message-ID: <19991228093111.F1316@freebie.lemis.com> References: <19991225233341.A80696@sr.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <19991225233341.A80696@sr.se> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 25 December 1999 at 23:33:41 +0100, Gunnar Flygt wrote: > I have run a make buildworld and make installworld on one of my > machines. It worked without problems. But then I trien on my webserver, > an old P90 and it behaved like this: > > /usr/src/sys/modules/vinum/vinum.c: At top level: > /usr/src/sys/modules/vinum/vinum.c:539: parse error before `dev' > /usr/src/sys/modules/vinum/vinum.c:540: warning: function declaration > isn't a pr > ototype > /usr/src/sys/modules/vinum/vinum.c: In function `vinumdump': > /usr/src/sys/modules/vinum/vinum.c:542: `ENXIO' undeclared (first use > this funct > ion) > /usr/src/sys/modules/vinum/vinum.c:543: warning: control reaches end of > non-void > function > /usr/src/sys/modules/vinum/vinum.c: At top level: > /usr/src/sys/modules/vinum/vinum.c:87: storage size of `vinum_conf' > isn't known > *** Error code 1 > Stop. > *** Error code 1 I'd guess that the breakage in the message output is something to do with your mailer setup, though I don't know how you can create this with mutt. > So something is strange with compiling vinum code on this older > machine, but not on the newer one!? They are very much right "out > of the box" installations both of them. So, what can be the > problem? Source identical, from the same download at > ftp.freebsd.org Remember that there's more to compiling a module than the source file. There are lots of headers, and the kind of error message you get suggests that you're pulling in the wrong header files. It's difficult to be more precise, since you don't say what version of FreeBSD you're running, but you'll probably find that either you haven't updated all of your source tree, or you've somehow managed to pull in some other headers by accident. I don't consider this a vinum problem. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message