From owner-freebsd-questions Tue Sep 22 13:38:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23286 for freebsd-questions-outgoing; Tue, 22 Sep 1998 13:38:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23236 for ; Tue, 22 Sep 1998 13:38:28 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id NAA25354; Tue, 22 Sep 1998 13:37:37 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 22 Sep 1998 13:37:36 -0700 (PDT) From: Doug White To: "Francis A. Vidal" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Could not compile kernel with xl driver In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 22 Sep 1998, Francis A. Vidal wrote: > hello everyone, > > i'm trying to make my 3com 905b-tx card work with my fbsd 2.2.5 server. i > followed instructions from http://www.freebsd.org/~wpaul/3Com : downloaded > files for 2.2 releases, copied it to /sys/pci, edited /sys/conf/files and > added the necessary line, added `device xl0' to my configuration file, did > `config ', and made `make depend' in > /usr/src/sys/compile/. > > the problem is, when i do `make depend', it complains about `...recursion > too deep' in /sys/pci/if_xlreg.h . i checked if_xlreg.h and there's a > portion that calls itself again `#include ' so i commented > it out. now, `make depend' runs okay and i have a new problem: > > In file included from ../../pci/if_xl.c:155: > ../../pci/if_xlreg.h:165: elements of array `xl_devs' have incomplete type > ../../pci/if_xlreg.h:166: `TC_VENDORID' undeclared here (not in a function) > ../../pci/if_xlreg.h:166: warning: excess elements in struct initializer after `xl_devs[0]' > ../../pci/if_xlreg.h:166: `TC_DEVICEID_BOOMERANG_10BT' undeclared here (not in a function) You commented out the wrong #include. Put it back and remove the one from /sys/pci/if_xlreg.h. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message