Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 95 20:41:14 MEZ
From:      Thomas Krebs <krebs@faps.uni-erlangen.de>
To:        bmk@dtr.com
Cc:        questions@FreeBSD.org
Subject:   Re: Problems with 'make world' SNAP-950202
Message-ID:  <9502061944.AA02736@behaim.faps.uni-erlangen.de>
In-Reply-To: <199502061538.HAA16425@dtr.com>; from "bmk@dtr.com" at Feb 6, 95 7:38 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I recently got the source for the Feb. 2nd snapshot, and attempted to do
> a 'make world'.
> 
> It compiled cleanly with two exceptions: lsdev and ncrcontrol.  This
> isn't really a major deal, as I don't really need either binary, but I
> thought this might indicate a more serious problem.
> 
> root (1005) # cd /usr/src/usr.sbin/lsdev
> root (1006) # make
> cc -O2 -I/usr/src/usr.sbin/lsdev/../../sys   -c
> /VOL4/src/usr.sbin/lsdev/i386.c
> /VOL4/src/usr.sbin/lsdev/i386.c: In function `print_config':
> /VOL4/src/usr.sbin/lsdev/i386.c:49: `PCI_EXTERNAL_LEN' undeclared (first
> use this function)
> /VOL4/src/usr.sbin/lsdev/i386.c:49: (Each undeclared identifier is
> reported only once
> /VOL4/src/usr.sbin/lsdev/i386.c:49: for each function it appears in.)
> /VOL4/src/usr.sbin/lsdev/i386.c: In function `print_pci':
> /VOL4/src/usr.sbin/lsdev/i386.c:173: dereferencing pointer to incomplete
> type
> /VOL4/src/usr.sbin/lsdev/i386.c:174: dereferencing pointer to incomplete
> type
> /VOL4/src/usr.sbin/lsdev/i386.c:182: dereferencing pointer to incomplete
> type
> *** Error code 1
Same problems with me:
Fix:
#include "sys/pci/pcivar.h" in i386.c!

> 
> Stop.
> root (1007) # cd ../ncrcontrol
> root (1008) # make
> cc -O2 -I/usr/src/usr.sbin/ncrcontrol/../../sys   -c
> /usr/src/usr.sbin/ncrcontrol/ncrcontrol.c
> /usr/src/usr.sbin/ncrcontrol/ncrcontrol.c:59: i386/pci/ncr.c: No such
> file or directory
> *** Error code 1
> 
> Stop.
> 
change:
i386/pci/ncr.c to
pci/ncr.c


Can someone fix this in the sources please?!

Thomas

--
Thomas Krebs
Department for Manufacturing Automation and Production Systems FAPS
University of Erlangen
Egerlandstr. 7-9
91058 Erlangen
Tel.: +49 (0)9131/85-7964
Fax:  +49 (0)9131/302528
http://www.faps.uni-erlangen.de:1200/persons/krebs.html



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