Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 13:17:08 +0100
From:      Gunnar Flygt <gunnar@pluto.sr.se>
To:        Greg Lehey <grog@lemis.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: Strange behaviour on make world
Message-ID:  <19991228131708.B56137@sr.se>
In-Reply-To: <19991228093111.F1316@freebie.lemis.com>; from grog@lemis.com on Tue, Dec 28, 1999 at 09:31:11AM %2B1030
References:  <19991225233341.A80696@sr.se> <19991228093111.F1316@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 28, 1999 at 09:31:11AM +1030, Greg Lehey wrote:
> 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 prototype
> > /usr/src/sys/modules/vinum/vinum.c: In function `vinumdump':
> > /usr/src/sys/modules/vinum/vinum.c:542: `ENXIO' undeclared (first use
> > this function)
> > /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.

Hmm, the only thing that was there before was the /usr/src/sys , since
I've compiled the kernel earlier. So there must be something there from
3.3-RELEASE or 3.0-RELEASE since the first one is the kernel running
now, and the later one was what was on it before upgrading to 3.3

I thought that making install.sh sys (in the src directory) made a total
upgrading of the sys-src, but from now on I'll delete the old
/usr/src/sys before installing the new one.

> 
> I don't consider this a vinum problem.

No, most obvious a problem with lazy sysops :-)

> 
> 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

-- 
                           __o
regards, Gunnar       ---_ \<,_
email: flygt@sr.se ---- (_)/ (_)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991228131708.B56137>