From owner-freebsd-questions Tue Sep 22 04:05:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA11254 for freebsd-questions-outgoing; Tue, 22 Sep 1998 04:05:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from atlas.usls.edu (linux1.usls.edu [202.47.133.46]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA11241 for ; Tue, 22 Sep 1998 04:04:42 -0700 (PDT) (envelope-from francis@linux1.usls.edu) Received: from localhost (francis@localhost) by atlas.usls.edu (8.9.1/8.9.1) with SMTP id TAA05564 for ; Tue, 22 Sep 1998 19:04:03 +0800 Date: Tue, 22 Sep 1998 19:04:03 +0800 (PHT) From: "Francis A. Vidal" Reply-To: "Francis A. Vidal" To: freebsd-questions@FreeBSD.ORG Subject: Could not compile kernel with xl driver 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 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) ---snipped more warning messages--- i got this after running `make'. --- u s l s N E T university of st. la salle, bacolod city, philippines . . . . . . . PGP key at ftp://ftp.usls.edu/pub/pgpkeys/francis.pgp francis vidal tel. nos. (6334).435.2324 / 433.3526 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message